Skip to content

Commit f7dabbf

Browse files
authored
feat: moved review-agent instructions to shared file (#154)
1 parent 3e5bbd6 commit f7dabbf

5 files changed

Lines changed: 20 additions & 34 deletions

File tree

skills/build/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ After all implementation tasks are complete, run 5 review agents **in parallel**
138138

139139
### Agent instructions
140140

141-
Each agent prompt must include the [review agent instructions](references/review-agent-instructions.md).
141+
Each agent prompt must include the [review agent instructions](references/review-agent-instructions.md) with `REPORT_DIR` set to `docs/reviews/`.
142142

143143
The 5 agents and their report filenames:
144144

skills/build/references/review-agent-instructions.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared/references/review-agent-instructions.md

skills/hotfix/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Run review agents **in parallel** to validate the fix. Use a reduced set — spe
122122

123123
### Agent instructions
124124

125-
Each agent prompt must include the [review agent instructions](references/review-agent-instructions.md).
125+
Each agent prompt must include the [review agent instructions](references/review-agent-instructions.md) with `REPORT_DIR` set to `docs/hotfix-review/`.
126126

127127
The 2 agents and their report filenames:
128128

skills/hotfix/references/review-agent-instructions.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared/references/review-agent-instructions.md
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Review Agent Instructions
2+
3+
Write your full detailed report to `<REPORT_DIR>/<name>.md` (create the directory if needed).
4+
Then return ONLY a short structured summary to the parent context in this format:
5+
6+
```markdown
7+
## <Agent Name> Summary
8+
**Report**: `<REPORT_DIR>/<name>.md` (<word_count> words)
9+
**Critical**: <count> | **Important**: <count> | **Suggestions**: <count>
10+
### Findings
11+
- [Critical] <one-line description>
12+
- [Important] <one-line description>
13+
- [Suggestion] <one-line description>
14+
```
15+
16+
Do NOT return the full report text. Only return the summary above.

0 commit comments

Comments
 (0)