Merge pull request #289 from Molecule-AI/fix/code-review-plugin-on-engineers

feat(template): add molecule-skill-code-review to Frontend/Backend/DevOps Engineer (#280)
This commit is contained in:
Hongming Wang 2026-04-15 16:55:47 -07:00 committed by GitHub
commit ba285504e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -481,6 +481,9 @@ workspaces:
tier: 3
model: opus
files_dir: frontend-engineer
# #280: self-review rubric before raising a PR. Dev Lead uses
# the same rubric, so catching issues here cuts the review loop.
plugins: [molecule-skill-code-review]
initial_prompt: |
You just started as Frontend Engineer. Set up silently — do NOT contact other agents.
1. Clone the repo: git clone https://github.com/${GITHUB_REPO}.git /workspace/repo 2>/dev/null || (cd /workspace/repo && git pull)
@ -507,7 +510,9 @@ workspaces:
# DB migrations + runtime config changes; the @requires_approval
# decorator stops an unattended agent from shipping a prod
# schema mutation without a human click. UNION with defaults.
plugins: [molecule-hitl]
# #280: molecule-skill-code-review — self-review rubric before
# raising a PR (same rubric Dev Lead applies in review).
plugins: [molecule-hitl, molecule-skill-code-review]
initial_prompt: |
You just started as Backend Engineer. Set up silently — do NOT contact other agents.
1. Clone the repo: git clone https://github.com/${GITHUB_REPO}.git /workspace/repo 2>/dev/null || (cd /workspace/repo && git pull)
@ -537,7 +542,9 @@ workspaces:
# registry pushes, CI pipeline mutations. Any of these going
# wrong affects every tenant; @requires_approval before
# destructive infra ops is the point.
plugins: [molecule-hitl]
# #280: molecule-skill-code-review — self-review rubric for
# Dockerfiles, CI workflows, infra scripts before PR.
plugins: [molecule-hitl, molecule-skill-code-review]
initial_prompt: |
You just started as DevOps Engineer. Set up silently — do NOT contact other agents.
1. Clone the repo: git clone https://github.com/${GITHUB_REPO}.git /workspace/repo 2>/dev/null || (cd /workspace/repo && git pull)