Skip to content

Commit 43eb83c

Browse files
committed
feat(skill): update memory instruction
1 parent f562a82 commit 43eb83c

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
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. Store significant coordination issues or patterns via the `memory` skill with tags `orchestration,lesson-learned`. 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: `npx ai-devkit@latest memory store --title "<issue>" --content "<details>" --tags "orchestration,lesson-learned"`. Then stop.

skills/capture-knowledge/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +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.
18+
- Search for existing knowledge before analyzing: `npx ai-devkit@latest memory search --query "<entry point name or purpose>"`
1919

2020
2. Collect Source Context
2121
- Summarize purpose, exports, key patterns.

skills/debug/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +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.
18+
- Before investigating, search for similar past incidents: `npx ai-devkit@latest memory search --query "<observed behavior>" --tags "debug,root-cause"`
1919

2020
2. Reproduce
2121
- Capture minimal reproduction steps.
@@ -36,7 +36,7 @@ For each hypothesis, include:
3636
- Confirm a pre-fix failing signal exists.
3737
- Confirm post-fix success using the `verify` skill — including regression verification for bug fixes.
3838
- 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.
39+
- Store root cause and fix for future sessions: `npx ai-devkit@latest memory store --title "<root cause>" --content "<diagnosis and fix>" --tags "debug,root-cause"`
4040

4141
## Red Flags and Rationalizations
4242

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 the `memory` skill in any phase that involves clarification questions (typically Phases 1-3):
73+
In phases with clarification questions (typically 1-3), run these CLI commands (see the `memory` skill for full options):
7474

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.
75+
1. **Before asking**search first, only ask about uncovered gaps: `npx ai-devkit@latest memory search --query "<topic>"`
76+
2. **After clarification**store for future sessions: `npx ai-devkit@latest memory store --title "<title>" --content "<insight>" --tags "<tags>"`
7777

7878
## Red Flags and Rationalizations
7979

skills/simplify-implementation/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +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.
18+
- Search for past simplification decisions or known constraints: `npx ai-devkit@latest memory search --query "<target area>" --tags "simplify"`
1919

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

skills/tdd/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ Then pick the next behavior and repeat.
6363

6464
## Memory Integration
6565

66-
After completing a TDD session, store reusable test patterns via the `memory` skill — e.g., test setup for a specific framework, common assertion patterns, or fixtures that were hard to get right.
66+
After completing a TDD session, store reusable test patterns (setup, assertions, fixtures): `npx ai-devkit@latest memory store --title "<pattern>" --content "<details>" --tags "tdd,testing"`

skills/verify/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ If step 4 passes, the test is wrong. Rewrite it.
6464

6565
## Memory Integration
6666

67-
After a failed verification, store the failure pattern via the `memory` skill with tags `verify,failure-pattern` so future sessions can avoid the same mistake.
67+
After a failed verification, store the failure pattern: `npx ai-devkit@latest memory store --title "<failure pattern>" --content "<what failed and how to avoid>" --tags "verify,failure-pattern"`

0 commit comments

Comments
 (0)