@leejungkiin/awkit 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +25 -7
  2. package/bin/awk.js +215 -72
  3. package/bin/cline-generators.js +73 -0
  4. package/bin/codex-generators.js +108 -0
  5. package/package.json +2 -2
  6. package/skill-packs/superpowers/README.md +59 -0
  7. package/skill-packs/superpowers/pack.json +15 -0
  8. package/skill-packs/superpowers/skills/brainstorming/SKILL.md +96 -0
  9. package/skill-packs/superpowers/skills/executing-plans/SKILL.md +100 -0
  10. package/skill-packs/superpowers/skills/finishing-a-development-branch/SKILL.md +213 -0
  11. package/skill-packs/superpowers/skills/receiving-code-review/SKILL.md +213 -0
  12. package/skill-packs/superpowers/skills/requesting-code-review/SKILL.md +115 -0
  13. package/skill-packs/superpowers/skills/requesting-code-review/code-reviewer.md +146 -0
  14. package/skill-packs/superpowers/skills/single-flow-task-execution/SKILL.md +359 -0
  15. package/skill-packs/superpowers/skills/single-flow-task-execution/code-quality-reviewer-prompt.md +20 -0
  16. package/skill-packs/superpowers/skills/single-flow-task-execution/implementer-prompt.md +78 -0
  17. package/skill-packs/superpowers/skills/single-flow-task-execution/spec-reviewer-prompt.md +61 -0
  18. package/skill-packs/superpowers/skills/systematic-debugging/CREATION-LOG.md +119 -0
  19. package/skill-packs/superpowers/skills/systematic-debugging/SKILL.md +296 -0
  20. package/skill-packs/superpowers/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  21. package/skill-packs/superpowers/skills/systematic-debugging/condition-based-waiting.md +115 -0
  22. package/skill-packs/superpowers/skills/systematic-debugging/defense-in-depth.md +122 -0
  23. package/skill-packs/superpowers/skills/systematic-debugging/find-polluter.sh +63 -0
  24. package/skill-packs/superpowers/skills/systematic-debugging/root-cause-tracing.md +169 -0
  25. package/skill-packs/superpowers/skills/systematic-debugging/test-academic.md +14 -0
  26. package/skill-packs/superpowers/skills/systematic-debugging/test-pressure-1.md +58 -0
  27. package/skill-packs/superpowers/skills/systematic-debugging/test-pressure-2.md +68 -0
  28. package/skill-packs/superpowers/skills/systematic-debugging/test-pressure-3.md +69 -0
  29. package/skill-packs/superpowers/skills/test-driven-development/SKILL.md +371 -0
  30. package/skill-packs/superpowers/skills/test-driven-development/testing-anti-patterns.md +299 -0
  31. package/skill-packs/superpowers/skills/using-git-worktrees/SKILL.md +223 -0
  32. package/skill-packs/superpowers/skills/using-superpowers/SKILL.md +97 -0
  33. package/skill-packs/superpowers/skills/verification-before-completion/SKILL.md +139 -0
  34. package/skill-packs/superpowers/skills/writing-plans/SKILL.md +108 -0
  35. package/skill-packs/superpowers/skills/writing-skills/SKILL.md +716 -0
  36. package/skill-packs/superpowers/skills/writing-skills/antigravity-best-practices.md +1173 -0
  37. package/skill-packs/superpowers/skills/writing-skills/examples/AGENTS_MD_TESTING.md +189 -0
  38. package/skill-packs/superpowers/skills/writing-skills/graphviz-conventions.dot +172 -0
  39. package/skill-packs/superpowers/skills/writing-skills/persuasion-principles.md +187 -0
  40. package/skill-packs/superpowers/skills/writing-skills/render-graphs.js +175 -0
  41. package/skill-packs/superpowers/skills/writing-skills/testing-skills-with-subagents.md +384 -0
  42. package/skills/CATALOG.md +7 -0
  43. package/core/AGENTS.md +0 -38
  44. package/skills/beads-manager/SKILL.md +0 -459
  45. package/workflows/_uncategorized/AGENTS.md +0 -38
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: requesting-code-review
3
+ description: Use when completing tasks, implementing major features, or before merging to verify work meets requirements
4
+ ---
5
+
6
+ # Requesting Code Review
7
+
8
+ Run a structured review pass to catch issues before they cascade.
9
+
10
+ **Core principle:** Review early, review often.
11
+
12
+ ## When to Request Review
13
+
14
+ **Mandatory:**
15
+
16
+ - After each task in single-flow task execution
17
+ - After completing major feature
18
+ - Before merge to main
19
+
20
+ **Optional but valuable:**
21
+
22
+ - When stuck (fresh perspective)
23
+ - Before refactoring (baseline check)
24
+ - After fixing complex bug
25
+
26
+ ## How to Request
27
+
28
+ **1. Get git SHAs:**
29
+
30
+ ```bash
31
+ BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
32
+ HEAD_SHA=$(git rev-parse HEAD)
33
+ ```
34
+
35
+ **2. Run structured code review checklist:**
36
+
37
+ Use `requesting-code-review/code-reviewer.md` template and review the diff against requirements. In Antigravity single-flow mode, do not dispatch generic coding agents.
38
+
39
+ **Placeholders:**
40
+
41
+ - `{WHAT_WAS_IMPLEMENTED}` - What you just built
42
+ - `{PLAN_OR_REQUIREMENTS}` - What it should do
43
+ - `{BASE_SHA}` - Starting commit
44
+ - `{HEAD_SHA}` - Ending commit
45
+ - `{DESCRIPTION}` - Brief summary
46
+
47
+ **3. Act on feedback:**
48
+
49
+ - Fix Critical issues immediately
50
+ - Fix Important issues before proceeding
51
+ - Note Minor issues for later
52
+ - Push back if reviewer is wrong (with reasoning)
53
+
54
+ ## Example
55
+
56
+ ```
57
+ [Just completed Task 2: Add verification function]
58
+
59
+ You: Let me request code review before proceeding.
60
+
61
+ BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
62
+ HEAD_SHA=$(git rev-parse HEAD)
63
+
64
+ [Run checklist-based review]
65
+ WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
66
+ PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
67
+ BASE_SHA: a7981ec
68
+ HEAD_SHA: 3df7661
69
+ DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
70
+
71
+ [Review returns]:
72
+ Strengths: Clean architecture, real tests
73
+ Issues:
74
+ Important: Missing progress indicators
75
+ Minor: Magic number (100) for reporting interval
76
+ Assessment: Ready to proceed
77
+
78
+ You: [Fix progress indicators]
79
+ [Continue to Task 3]
80
+ ```
81
+
82
+ ## Integration with Workflows
83
+
84
+ **Single-Flow Task Execution:**
85
+
86
+ - Review after EACH task
87
+ - Catch issues before they compound
88
+ - Fix before moving to next task
89
+
90
+ **Executing Plans:**
91
+
92
+ - Review after each batch (3 tasks)
93
+ - Get feedback, apply, continue
94
+
95
+ **Ad-Hoc Development:**
96
+
97
+ - Review before merge
98
+ - Review when stuck
99
+
100
+ ## Red Flags
101
+
102
+ **Never:**
103
+
104
+ - Skip review because "it's simple"
105
+ - Ignore Critical issues
106
+ - Proceed with unfixed Important issues
107
+ - Argue with valid technical feedback
108
+
109
+ **If reviewer wrong:**
110
+
111
+ - Push back with technical reasoning
112
+ - Show code/tests that prove it works
113
+ - Request clarification
114
+
115
+ See template at: requesting-code-review/code-reviewer.md
@@ -0,0 +1,146 @@
1
+ # Code Review Agent
2
+
3
+ You are reviewing code changes for production readiness.
4
+
5
+ **Your task:**
6
+ 1. Review {WHAT_WAS_IMPLEMENTED}
7
+ 2. Compare against {PLAN_OR_REQUIREMENTS}
8
+ 3. Check code quality, architecture, testing
9
+ 4. Categorize issues by severity
10
+ 5. Assess production readiness
11
+
12
+ ## What Was Implemented
13
+
14
+ {DESCRIPTION}
15
+
16
+ ## Requirements/Plan
17
+
18
+ {PLAN_REFERENCE}
19
+
20
+ ## Git Range to Review
21
+
22
+ **Base:** {BASE_SHA}
23
+ **Head:** {HEAD_SHA}
24
+
25
+ ```bash
26
+ git diff --stat {BASE_SHA}..{HEAD_SHA}
27
+ git diff {BASE_SHA}..{HEAD_SHA}
28
+ ```
29
+
30
+ ## Review Checklist
31
+
32
+ **Code Quality:**
33
+ - Clean separation of concerns?
34
+ - Proper error handling?
35
+ - Type safety (if applicable)?
36
+ - DRY principle followed?
37
+ - Edge cases handled?
38
+
39
+ **Architecture:**
40
+ - Sound design decisions?
41
+ - Scalability considerations?
42
+ - Performance implications?
43
+ - Security concerns?
44
+
45
+ **Testing:**
46
+ - Tests actually test logic (not mocks)?
47
+ - Edge cases covered?
48
+ - Integration tests where needed?
49
+ - All tests passing?
50
+
51
+ **Requirements:**
52
+ - All plan requirements met?
53
+ - Implementation matches spec?
54
+ - No scope creep?
55
+ - Breaking changes documented?
56
+
57
+ **Production Readiness:**
58
+ - Migration strategy (if schema changes)?
59
+ - Backward compatibility considered?
60
+ - Documentation complete?
61
+ - No obvious bugs?
62
+
63
+ ## Output Format
64
+
65
+ ### Strengths
66
+ [What's well done? Be specific.]
67
+
68
+ ### Issues
69
+
70
+ #### Critical (Must Fix)
71
+ [Bugs, security issues, data loss risks, broken functionality]
72
+
73
+ #### Important (Should Fix)
74
+ [Architecture problems, missing features, poor error handling, test gaps]
75
+
76
+ #### Minor (Nice to Have)
77
+ [Code style, optimization opportunities, documentation improvements]
78
+
79
+ **For each issue:**
80
+ - File:line reference
81
+ - What's wrong
82
+ - Why it matters
83
+ - How to fix (if not obvious)
84
+
85
+ ### Recommendations
86
+ [Improvements for code quality, architecture, or process]
87
+
88
+ ### Assessment
89
+
90
+ **Ready to merge?** [Yes/No/With fixes]
91
+
92
+ **Reasoning:** [Technical assessment in 1-2 sentences]
93
+
94
+ ## Critical Rules
95
+
96
+ **DO:**
97
+ - Categorize by actual severity (not everything is Critical)
98
+ - Be specific (file:line, not vague)
99
+ - Explain WHY issues matter
100
+ - Acknowledge strengths
101
+ - Give clear verdict
102
+
103
+ **DON'T:**
104
+ - Say "looks good" without checking
105
+ - Mark nitpicks as Critical
106
+ - Give feedback on code you didn't review
107
+ - Be vague ("improve error handling")
108
+ - Avoid giving a clear verdict
109
+
110
+ ## Example Output
111
+
112
+ ```
113
+ ### Strengths
114
+ - Clean database schema with proper migrations (db.ts:15-42)
115
+ - Comprehensive test coverage (18 tests, all edge cases)
116
+ - Good error handling with fallbacks (summarizer.ts:85-92)
117
+
118
+ ### Issues
119
+
120
+ #### Important
121
+ 1. **Missing help text in CLI wrapper**
122
+ - File: index-conversations:1-31
123
+ - Issue: No --help flag, users won't discover --concurrency
124
+ - Fix: Add --help case with usage examples
125
+
126
+ 2. **Date validation missing**
127
+ - File: search.ts:25-27
128
+ - Issue: Invalid dates silently return no results
129
+ - Fix: Validate ISO format, throw error with example
130
+
131
+ #### Minor
132
+ 1. **Progress indicators**
133
+ - File: indexer.ts:130
134
+ - Issue: No "X of Y" counter for long operations
135
+ - Impact: Users don't know how long to wait
136
+
137
+ ### Recommendations
138
+ - Add progress reporting for user experience
139
+ - Consider config file for excluded projects (portability)
140
+
141
+ ### Assessment
142
+
143
+ **Ready to merge: With fixes**
144
+
145
+ **Reasoning:** Core implementation is solid with good architecture and tests. Important issues (help text, date validation) are easily fixed and don't affect core functionality.
146
+ ```
@@ -0,0 +1,359 @@
1
+ ---
2
+ name: single-flow-task-execution
3
+ description: Use when executing implementation plans, handling multiple independent tasks, or doing structured task-by-task development with review gates in Antigravity.
4
+ ---
5
+
6
+ # Single-Flow Task Execution
7
+
8
+ Execute plans by working through one task at a time with two-stage review after each: spec compliance review first, then code quality review.
9
+
10
+ **Core principle:** One task at a time + two-stage review (spec then quality) = high quality, disciplined iteration.
11
+
12
+ ## Antigravity Execution Model
13
+
14
+ Antigravity does NOT support parallel coding subagents. All work happens in a single execution thread.
15
+
16
+ **Rules:**
17
+
18
+ 1. **One active task only** — never work on multiple tasks simultaneously.
19
+ 2. **One execution thread only** — no parallel dispatch.
20
+ 3. **No parallel coding subagents** — Antigravity does not have `Task(...)`.
21
+ 4. **Browser automation** may use `browser_subagent` in isolated steps.
22
+ 5. **Track progress** via Symphony task system. Update task status at each state change.
23
+ 6. **Use `task_boundary`** to clearly delineate each unit of work.
24
+
25
+ ## When to Use
26
+
27
+ ```dot
28
+ digraph when_to_use {
29
+ "Have implementation plan?" [shape=diamond];
30
+ "Tasks mostly independent?" [shape=diamond];
31
+ "Multiple problems to solve?" [shape=diamond];
32
+ "single-flow-task-execution" [shape=box];
33
+ "executing-plans" [shape=box];
34
+ "Manual execution or brainstorm first" [shape=box];
35
+
36
+ "Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
37
+ "Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
38
+ "Tasks mostly independent?" -> "single-flow-task-execution" [label="yes"];
39
+ "Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
40
+ "Multiple problems to solve?" -> "single-flow-task-execution" [label="yes - work through them sequentially"];
41
+ "Multiple problems to solve?" -> "Manual execution or brainstorm first" [label="no - single task"];
42
+ }
43
+ ```
44
+
45
+ **Use when:**
46
+
47
+ - You have an implementation plan with multiple independent tasks
48
+ - 2+ test files failing with different root causes (work through them one at a time)
49
+ - Multiple subsystems broken independently
50
+ - Each problem can be understood without context from others
51
+ - Structured execution with quality gates is needed
52
+
53
+ **Don't use when:**
54
+
55
+ - Failures are related (fix one might fix others) — investigate together first
56
+ - Tasks are tightly coupled and need full system understanding
57
+ - Single simple task that doesn't need review structure
58
+
59
+ **vs. Executing Plans (worktree-based):**
60
+
61
+ - Same session (no context switch)
62
+ - Fresh `task_boundary` per task (clean scope)
63
+ - Two-stage review after each task: spec compliance first, then code quality
64
+ - Faster iteration (no human-in-loop between tasks)
65
+
66
+ ## The Process
67
+
68
+ ```dot
69
+ digraph process {
70
+ rankdir=TB;
71
+
72
+ subgraph cluster_per_task {
73
+ label="Per Task";
74
+ "Execute implementation (./implementer-prompt.md)" [shape=box];
75
+ "Questions about requirements?" [shape=diamond];
76
+ "Answer questions, provide context" [shape=box];
77
+ "Implement, test, commit, self-review" [shape=box];
78
+ "Run spec compliance review (./spec-reviewer-prompt.md)" [shape=box];
79
+ "Spec confirms code matches spec?" [shape=diamond];
80
+ "Fix spec gaps" [shape=box];
81
+ "Run code quality review (./code-quality-reviewer-prompt.md)" [shape=box];
82
+ "Code quality approved?" [shape=diamond];
83
+ "Fix quality issues" [shape=box];
84
+ "Mark task complete via Symphony" [shape=box];
85
+ }
86
+
87
+ "Read plan, extract all tasks with full text, note context" [shape=box];
88
+ "More tasks remain?" [shape=diamond];
89
+ "Run final code review for entire implementation" [shape=box];
90
+ "Complete Symphony task and present next steps" [shape=box style=filled fillcolor=lightgreen];
91
+
92
+ "Read plan, extract all tasks with full text, note context" -> "Execute implementation (./implementer-prompt.md)";
93
+ "Execute implementation (./implementer-prompt.md)" -> "Questions about requirements?";
94
+ "Questions about requirements?" -> "Answer questions, provide context" [label="yes"];
95
+ "Answer questions, provide context" -> "Execute implementation (./implementer-prompt.md)";
96
+ "Questions about requirements?" -> "Implement, test, commit, self-review" [label="no"];
97
+ "Implement, test, commit, self-review" -> "Run spec compliance review (./spec-reviewer-prompt.md)";
98
+ "Run spec compliance review (./spec-reviewer-prompt.md)" -> "Spec confirms code matches spec?";
99
+ "Spec confirms code matches spec?" -> "Fix spec gaps" [label="no"];
100
+ "Fix spec gaps" -> "Run spec compliance review (./spec-reviewer-prompt.md)" [label="re-review"];
101
+ "Spec confirms code matches spec?" -> "Run code quality review (./code-quality-reviewer-prompt.md)" [label="yes"];
102
+ "Run code quality review (./code-quality-reviewer-prompt.md)" -> "Code quality approved?";
103
+ "Code quality approved?" -> "Fix quality issues" [label="no"];
104
+ "Fix quality issues" -> "Run code quality review (./code-quality-reviewer-prompt.md)" [label="re-review"];
105
+ "Code quality approved?" -> "Mark task complete via Symphony" [label="yes"];
106
+ "Mark task complete via Symphony" -> "More tasks remain?";
107
+ "More tasks remain?" -> "Execute implementation (./implementer-prompt.md)" [label="yes"];
108
+ "More tasks remain?" -> "Run final code review for entire implementation" [label="no"];
109
+ "Run final code review for entire implementation" -> "Complete Symphony task and present next steps";
110
+ }
111
+ ```
112
+
113
+ ## Task Decomposition
114
+
115
+ When facing multiple problems (e.g., 5 test failures across 3 files):
116
+
117
+ ### 1. Identify Independent Domains
118
+
119
+ Group failures by what's broken:
120
+
121
+ - File A tests: User authentication flow
122
+ - File B tests: Data validation logic
123
+ - File C tests: API response handling
124
+
125
+ Each domain is independent — fixing authentication doesn't affect validation tests.
126
+
127
+ ### 2. Create Task Units
128
+
129
+ Each task gets:
130
+
131
+ - **Specific scope:** One test file or subsystem
132
+ - **Clear goal:** Make these tests pass / implement this feature
133
+ - **Constraints:** Don't change unrelated code
134
+ - **Expected output:** Summary of what changed and verification results
135
+
136
+ ### 3. Execute Sequentially with Review
137
+
138
+ Work through each task one at a time using the full review cycle.
139
+
140
+ ### 4. Review and Integrate
141
+
142
+ After all tasks:
143
+
144
+ - Run full test suite to verify no regressions
145
+ - Check for conflicts between task changes
146
+ - Run final code review on entire implementation
147
+
148
+ ## Task Brief Structure
149
+
150
+ For each task, prepare:
151
+
152
+ ```
153
+ task_boundary:
154
+ description: "Implement Task N: [task name]"
155
+ prompt: |
156
+ ## Task Description
157
+ [FULL TEXT of task from plan — paste it here]
158
+
159
+ ## Context
160
+ [Where this fits, dependencies, architectural context]
161
+
162
+ ## Constraints
163
+ - Only modify [specific files/directories]
164
+ - Follow existing patterns in the codebase
165
+ - Write tests for new functionality
166
+
167
+ ## Verification
168
+ - Run: [specific test command]
169
+ - Expected: [what success looks like]
170
+ ```
171
+
172
+ **Key:** Provide full task text and context upfront. Don't make the task boundary re-read the plan file.
173
+
174
+ ## Review Templates
175
+
176
+ This skill includes prompt templates for structured reviews:
177
+
178
+ - **`./implementer-prompt.md`** — Template for implementation task boundaries
179
+ - **`./spec-reviewer-prompt.md`** — Template for spec compliance review (did we build what was requested?)
180
+ - **`./code-quality-reviewer-prompt.md`** — Template for code quality review (is it well-built?)
181
+
182
+ **Review order matters:** Always run spec compliance FIRST, then code quality. There's no point reviewing code quality if the implementation doesn't match the spec.
183
+
184
+ ## Checkpoint Pattern
185
+
186
+ At logical boundaries (after each task, at major milestones), report:
187
+
188
+ - **What changed** — files modified, features implemented
189
+ - **What verification ran** — test results, lint results
190
+ - **What remains** — remaining tasks, known issues
191
+
192
+ Update Symphony task progress with current status.
193
+
194
+ ## Common Mistakes
195
+
196
+ **Task scoping:**
197
+
198
+ - **Bad:** "Fix all the tests" — loses focus
199
+ - **Good:** "Fix user-auth.test.ts failures" — clear scope
200
+
201
+ **Context:**
202
+
203
+ - **Bad:** "Fix the validation bug" — unclear where
204
+ - **Good:** Paste error messages, test names, relevant code paths
205
+
206
+ **Constraints:**
207
+
208
+ - **Bad:** No constraints — task might refactor everything
209
+ - **Good:** "Only modify src/auth/ directory"
210
+
211
+ **Output:**
212
+
213
+ - **Bad:** "Fix it" — no visibility into what changed
214
+ - **Good:** "Report: root cause, changes made, test results"
215
+
216
+ **Reviews:**
217
+
218
+ - **Bad:** "It works, move on" — quality debt
219
+ - **Good:** Implement then spec review then quality review then next task
220
+
221
+ ## Example Workflow
222
+
223
+ ```
224
+ You: I'm using single-flow-task-execution to execute this plan.
225
+
226
+ [Read plan file: docs/plans/feature-plan.md]
227
+ [Extract all 5 tasks with full text and context]
228
+ [Create Symphony tasks for tracking]
229
+
230
+ --- Task 1: Hook installation script ---
231
+
232
+ [Prepare task brief with full text + context]
233
+ [Execute implementation following ./implementer-prompt.md structure]
234
+
235
+ Questions: "Should the hook be installed at user or system level?"
236
+ Answer: "User level (~/.config/superpowers/hooks/)"
237
+
238
+ Implementation:
239
+ - Implemented install-hook command
240
+ - Added tests, 5/5 passing
241
+ - Self-review: Found I missed --force flag, added it
242
+ - Committed
243
+
244
+ [Run spec compliance review following ./spec-reviewer-prompt.md]
245
+ Spec review: Spec compliant — all requirements met, nothing extra
246
+
247
+ [Run code quality review following ./code-quality-reviewer-prompt.md]
248
+ Code review: Strengths: Good test coverage, clean. Issues: None. Approved.
249
+
250
+ [Mark Task 1 complete in Symphony]
251
+
252
+ --- Task 2: Recovery modes ---
253
+
254
+ [Prepare task brief with full text + context]
255
+ [Execute implementation]
256
+
257
+ Implementation:
258
+ - Added verify/repair modes
259
+ - 8/8 tests passing
260
+ - Self-review: All good
261
+ - Committed
262
+
263
+ [Run spec compliance review]
264
+ Spec review: Issues found:
265
+ - Missing: Progress reporting (spec says "report every 100 items")
266
+ - Extra: Added --json flag (not requested)
267
+
268
+ [Fix issues: remove --json flag, add progress reporting]
269
+ [Run spec compliance review again]
270
+ Spec review: Spec compliant now
271
+
272
+ [Run code quality review]
273
+ Code review: Issue (Important): Magic number (100) should be a constant
274
+
275
+ [Fix: extract PROGRESS_INTERVAL constant]
276
+ [Run code quality review again]
277
+ Code review: Approved
278
+
279
+ [Mark Task 2 complete in Symphony]
280
+
281
+ ... [Continue through remaining tasks] ...
282
+
283
+ [After all tasks complete]
284
+ [Run final code review on entire implementation]
285
+ Final review: All requirements met, ready to merge
286
+
287
+ [Complete Symphony task and present next steps]
288
+ Done!
289
+ ```
290
+
291
+ ## Red Flags
292
+
293
+ **Never:**
294
+
295
+ - Start implementation on main/master branch without explicit user consent
296
+ - Skip reviews (spec compliance OR code quality)
297
+ - Proceed with unfixed review issues
298
+ - Work on multiple tasks simultaneously
299
+ - Skip scene-setting context (task needs to understand where it fits)
300
+ - Accept "close enough" on spec compliance (reviewer found issues = not done)
301
+ - Skip review loops (reviewer found issues = fix = review again)
302
+ - Let self-review replace actual review (both are needed)
303
+ - **Start code quality review before spec compliance passes** (wrong order)
304
+ - Move to next task while either review has open issues
305
+
306
+ **If you have questions about requirements:**
307
+
308
+ - Ask clearly and wait for answers
309
+ - Don't guess or make assumptions
310
+ - Better to ask upfront than rework later
311
+
312
+ **If reviewer finds issues:**
313
+
314
+ - Fix them
315
+ - Run reviewer again
316
+ - Repeat until approved
317
+ - Don't skip the re-review
318
+
319
+ ## Completion
320
+
321
+ Before claiming all work is done:
322
+
323
+ 1. Ensure all Symphony tasks are marked `done` or `cancelled`
324
+ 2. Run full test/validation command
325
+ 3. Verify no regressions across all tasks
326
+ 4. Summarize evidence (test output, review approvals)
327
+
328
+ ## Advantages
329
+
330
+ **Structured execution:**
331
+
332
+ - Clear task boundaries prevent scope creep
333
+ - Review gates catch issues early (cheaper than debugging later)
334
+ - Progress tracking provides visibility
335
+
336
+ **Quality gates:**
337
+
338
+ - Self-review catches obvious issues before handoff
339
+ - Two-stage review: spec compliance prevents over/under-building, code quality ensures maintainability
340
+ - Review loops ensure fixes actually work
341
+
342
+ **Efficiency:**
343
+
344
+ - Provide full task text upfront (no re-reading plan files)
345
+ - Controller curates exactly what context is needed
346
+ - Questions surfaced before work begins (not after)
347
+ - Sequential execution avoids conflicts between tasks
348
+
349
+ ## Integration
350
+
351
+ **Required workflow skills:**
352
+
353
+ - **`~/.gemini/antigravity/skills/symphony-orchestrator/SKILL.md`** — Task tracking and lifecycle
354
+ - **`~/.gemini/antigravity/skills/symphony-enforcer/SKILL.md`** — Enforce task discipline
355
+
356
+ **Should also use:**
357
+
358
+ - **test-driven-development** — Follow TDD for each task
359
+ - **verification-before-completion** — Final verification checklist
@@ -0,0 +1,20 @@
1
+ # Code Quality Reviewer Prompt Template
2
+
3
+ Use this template when running a code quality review step in single-flow mode.
4
+
5
+ **Purpose:** Verify implementation is well-built (clean, tested, maintainable)
6
+
7
+ **Only proceed after spec compliance review passes.**
8
+
9
+ ```
10
+ task_boundary:
11
+ Use template at requesting-code-review/code-reviewer.md
12
+
13
+ WHAT_WAS_IMPLEMENTED: [from implementer's report]
14
+ PLAN_OR_REQUIREMENTS: Task N from [plan-file]
15
+ BASE_SHA: [commit before task]
16
+ HEAD_SHA: [current commit]
17
+ DESCRIPTION: [task summary]
18
+ ```
19
+
20
+ **Code reviewer returns:** Strengths, Issues (Critical/Important/Minor), Assessment