Skip to content

Commit 5fe368a

Browse files
Add memory (#14)
1 parent c253bd2 commit 5fe368a

File tree

111 files changed

+14932
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+14932
-342
lines changed

.claude/commands/capture-knowledge.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Guide me through creating a structured understanding of a code entry point and saving it to the knowledge docs.
44

5+
## Memory (use when helpful)
6+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
7+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
8+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
9+
510
## Step 1: Gather Context
611
- Entry point (file, folder, function, API)
712
- Why this entry point matters (feature, bug, investigation)

.claude/commands/check-implementation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Compare the current implementation with the design in docs/ai/design/ and requirements in docs/ai/requirements/. Please follow this structured review:
22

3+
## Memory (use when helpful)
4+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
5+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
6+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
7+
38
1. Ask me for:
49
- Feature/branch description
510
- List of modified files

.claude/commands/code-review.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
You are helping me perform a local code review **before** I push changes. Please follow this structured workflow.
44

5+
## Memory (use when helpful)
6+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
7+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
8+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
9+
510
## Step 1: Gather Context
611
Ask me for:
712
- Brief feature/branch description

.claude/commands/debug.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Help me debug an issue by clarifying expectations, identifying gaps, and agreeing on a fix plan before changing code.
44

5+
## Memory (use when helpful)
6+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
7+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
8+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
9+
510
## Step 1: Gather Context
611
Ask me for:
712
- Brief issue description (what is happening?)

.claude/commands/execute-plan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Help me work through a feature plan one task at a time.
44

5+
## Memory (use when helpful)
6+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
7+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
8+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
9+
510
## Step 1: Gather Context
611
Ask me for:
712
- Feature name (kebab-case, e.g., `user-authentication`)

.claude/commands/new-requirement.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
I want to add a new feature/requirement. Please guide me through the complete development workflow:
22

3+
## Memory (use when helpful)
4+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
5+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
6+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
7+
38
## Step 1: Capture Requirement
49
First, ask me:
510
- What is the feature name? (e.g., "user-authentication", "payment-integration")

.claude/commands/remember.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
When I say "remember this" or want to save a reusable rule, help me store it in the knowledge memory service.
2+
3+
## Step 1: Capture Knowledge
4+
Ask me for:
5+
- A short, explicit title (5-12 words)
6+
- The detailed content (markdown, examples encouraged)
7+
- Optional tags (keywords like "api", "testing")
8+
- Optional scope (`global`, `project:<name>`, `repo:<name>`)
9+
10+
If I'm vague, ask follow-ups to make it specific and actionable.
11+
12+
## Step 2: Validate Quality
13+
- Ensure it is specific and reusable (not generic advice).
14+
- Avoid storing secrets or sensitive data.
15+
16+
## Step 3: Store
17+
Call `memory.storeKnowledge` with title, content, tags, scope.
18+
If MCP tools are unavailable, use `ai-devkit memory store` instead.
19+
20+
## Step 4: Confirm
21+
Summarize what was saved and offer to store more knowledge if needed.
22+

.claude/commands/review-design.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
Review the design documentation in docs/ai/design/feature-{name}.md (and the project-level README if relevant). Summarize:
2+
3+
## Memory (use when helpful)
4+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
5+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
6+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
7+
28
- Architecture overview (ensure mermaid diagram is present and accurate)
39
- Key components and their responsibilities
410
- Technology choices and rationale

.claude/commands/review-requirements.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
Please review `docs/ai/requirements/feature-{name}.md` and the project-level template `docs/ai/requirements/README.md` to ensure structure and content alignment. Summarize:
2+
3+
## Memory (use when helpful)
4+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
5+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
6+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
7+
28
- Core problem statement and affected users
39
- Goals, non-goals, and success criteria
410
- Primary user stories & critical flows

.claude/commands/update-planning.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Please help me reconcile the current implementation progress with our planning documentation.
44

5+
## Memory (use when helpful)
6+
- If you need clarification or project conventions, query `memory.searchKnowledge` with a brief task description, tags, and scope.
7+
- If I ask to save reusable guidance, run `/remember` (or call `memory.storeKnowledge`).
8+
- If MCP tools are unavailable, use `ai-devkit memory search` or `ai-devkit memory store`.
9+
510
## Step 1: Gather Context
611
Ask me for:
712
- Feature/branch name and brief status

0 commit comments

Comments
 (0)