Skip to content

Commit 3479478

Browse files
committed
feat(skill): invoke memory skill
1 parent 161e309 commit 3479478

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

skills/agent-orchestration/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ Then go back to step 1.
118118

119119
## Completion
120120

121-
When all agents are idle with no remaining work, give the user a final summary: what each agent accomplished, issues encountered, and overall outcome. Then stop.
121+
When all agents are idle with no remaining work, give the user a final summary: what each agent accomplished, issues encountered, and overall outcome. Store significant coordination issues or patterns via the `memory` skill with tags `orchestration,lesson-learned`. Then stop.

skills/capture-knowledge/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Build structured understanding of code entry points with an analysis-first workf
1515
1. Gather & Validate
1616
- Confirm entry point (file, folder, function, API), purpose, and desired depth.
1717
- Verify it exists; resolve ambiguity or suggest alternatives if not found.
18+
- Search the `memory` skill for existing knowledge about this entry point before analyzing.
1819

1920
2. Collect Source Context
2021
- Summarize purpose, exports, key patterns.

skills/debug/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Debug with an evidence-first workflow before changing code.
1515
1. Clarify
1616
- Restate observed vs expected behavior in one concise diff.
1717
- Confirm scope and measurable success criteria.
18+
- Search the `memory` skill for similar past incidents before investigating.
1819

1920
2. Reproduce
2021
- Capture minimal reproduction steps.
@@ -35,6 +36,7 @@ For each hypothesis, include:
3536
- Confirm a pre-fix failing signal exists.
3637
- Confirm post-fix success using the `verify` skill — including regression verification for bug fixes.
3738
- Summarize remaining risks and follow-ups.
39+
- Store the root cause and fix via the `memory` skill with tags `debug,root-cause` so future sessions can skip repeated investigation.
3840

3941
## Red Flags and Rationalizations
4042

skills/dev-lifecycle/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ Phases: `requirements/`, `design/`, `planning/`, `implementation/`, `testing/`.
7070

7171
## Memory Integration
7272

73-
Use `npx ai-devkit@latest memory` CLI in any phase that involves clarification questions (typically Phases 1-3):
73+
Use the `memory` skill in any phase that involves clarification questions (typically Phases 1-3):
7474

75-
1. **Before asking questions**: `npx ai-devkit@latest memory search --query "<topic>"`. Apply matches; only ask about uncovered gaps.
76-
2. **After clarification**: `npx ai-devkit@latest memory store --title "<title>" --content "<knowledge>" --tags "<tags>"`.
75+
1. **Before asking questions**: search for existing knowledge. Apply matches; only ask about uncovered gaps.
76+
2. **After clarification**: store new knowledge for future sessions.
7777

7878
## Red Flags and Rationalizations
7979

skills/simplify-implementation/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Reduce complexity with an analysis-first approach before changing code.
1515

1616
1. Gather Context
1717
- Confirm targets, pain points, and constraints (compatibility, API stability, deadlines).
18+
- Search the `memory` skill for past simplification decisions or known constraints in this area.
1819

1920
2. Analyze Complexity
2021
- Identify sources (nesting, duplication, coupling, over-engineering, magic values).

0 commit comments

Comments
 (0)