Skip to content

Commit 74e413e

Browse files
committed
feat: add skill invocation and matching to gem-implementer and gem-planner agents
fix: #122
1 parent 8aeed91 commit 74e413e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.apm/agents/gem-implementer.agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ IMPORTANT: Batch/join dependency-free steps; serialize only true dependencies wh
4242
- Follow context envelope read directives (`reuse_notes`): trust safe_to_assume, verify verify_before_use, skip do_not_re_read unless stale/missing or contradiction.
4343
- Read tokens from `DESIGN.md` (UI tasks only).
4444
- Analyze acceptance criteria inline: Understand `ac` and `handoff` from task_definition.
45+
- Skill Invocation: If `task_definition.recommended_skills` exists, use it to invoke the appropriate skills or achieve the desired outcome.
4546
- Bug-Fix Mode Branch:
4647
- If `task_definition.debugger_diagnosis` exists → follow Bug-Fix Mode (see Rules). Validation gate runs first.
4748
- TDD Cycle (Red → Green → Refactor → Verify) for standard/feature tasks:

.apm/agents/gem-planner.agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ IMPORTANT: Batch/join dependency-free steps; serialize only true dependencies wh
100100
- For design validation or edge-case analysis: assign `designer`/`designer-mobile` or `critic` as appropriate.
101101
- Default to `implementer` when no specialized agent fits.
102102
- When uncertainty exists between agents, prefer the more specialized one.
103+
- Skill Matching: After agent assignment, scan `docs/skills/` for skills matching task. Populate `task_definition.recommended_skills` with matching skill names. Fallback: if no explicit matches, skip (don't over-match).
103104
- New feature→add doc-writer task (final wave).
104105
- Handoff: populate implementation_handoff for ALL tasks (do_not_reinvestigate, target_files, acceptance_checks).
105106
- Create plan `plan.yaml` as per `plan_format_guide`

0 commit comments

Comments
 (0)