ima-claude 2.18.0 → 2.25.0
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.
- package/README.md +55 -9
- package/dist/cli.js +5 -1
- package/package.json +1 -1
- package/plugins/ima-claude/.claude-plugin/plugin.json +2 -2
- package/plugins/ima-claude/agents/explorer.md +29 -15
- package/plugins/ima-claude/agents/implementer.md +58 -13
- package/plugins/ima-claude/agents/memory.md +19 -19
- package/plugins/ima-claude/agents/reviewer.md +56 -34
- package/plugins/ima-claude/agents/tester.md +59 -16
- package/plugins/ima-claude/agents/wp-developer.md +66 -21
- package/plugins/ima-claude/hooks/bootstrap.sh +42 -44
- package/plugins/ima-claude/hooks/prompt_coach_digest.md +14 -17
- package/plugins/ima-claude/hooks/prompt_coach_system.md +10 -12
- package/plugins/ima-claude/personalities/README.md +17 -6
- package/plugins/ima-claude/personalities/enable-efficient.md +61 -0
- package/plugins/ima-claude/personalities/enable-terse.md +71 -0
- package/plugins/ima-claude/skills/agentic-workflows/SKILL.md +97 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/phases/deliver.md +181 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/phases/draft.md +99 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/phases/gather.md +130 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/phases/outline.md +106 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/phases/review.md +137 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/standards/draft-format.md +159 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/standards/editorial-standards.md +160 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/standards/outline-format.md +110 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/templates/avada-construction-guide.md +263 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/templates/avada-webinar-example.txt +275 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/templates/cta-block-catalog.md +169 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/templates/espo-email-preparation.md +241 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/templates/webinar-recap-email-espo.html +339 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/templates/webinar-reminder-email-espo.html +458 -0
- package/plugins/ima-claude/skills/agentic-workflows/references/workflows/editorial/webinar-summary.md +81 -0
- package/plugins/ima-claude/skills/architect/SKILL.md +54 -168
- package/plugins/ima-claude/skills/compound-bridge/SKILL.md +41 -94
- package/plugins/ima-claude/skills/design-to-code/SKILL.md +91 -0
- package/plugins/ima-claude/skills/design-to-code/references/guardrails.md +46 -0
- package/plugins/ima-claude/skills/design-to-code/references/phase-a-design-to-prompt.md +141 -0
- package/plugins/ima-claude/skills/design-to-code/references/phase-b-prompt-to-code.md +155 -0
- package/plugins/ima-claude/skills/design-to-code/references/prompt-template.md +95 -0
- package/plugins/ima-claude/skills/discourse/SKILL.md +79 -194
- package/plugins/ima-claude/skills/discourse-admin/SKILL.md +41 -103
- package/plugins/ima-claude/skills/docs-organize/SKILL.md +63 -203
- package/plugins/ima-claude/skills/ember-discourse/SKILL.md +90 -200
- package/plugins/ima-claude/skills/espocrm/SKILL.md +14 -23
- package/plugins/ima-claude/skills/espocrm-api/SKILL.md +79 -192
- package/plugins/ima-claude/skills/functional-programmer/SKILL.md +33 -237
- package/plugins/ima-claude/skills/gh-cli/SKILL.md +26 -65
- package/plugins/ima-claude/skills/ima-bootstrap/SKILL.md +71 -104
- package/plugins/ima-claude/skills/ima-bootstrap/references/ima-brand.md +32 -22
- package/plugins/ima-claude/skills/ima-brand/SKILL.md +18 -23
- package/plugins/ima-claude/skills/ima-copywriting/SKILL.md +68 -179
- package/plugins/ima-claude/skills/ima-doc2pdf/SKILL.md +32 -102
- package/plugins/ima-claude/skills/ima-editorial-scorecard/SKILL.md +38 -63
- package/plugins/ima-claude/skills/ima-editorial-workflow/SKILL.md +69 -114
- package/plugins/ima-claude/skills/ima-email-creator/SKILL.md +16 -22
- package/plugins/ima-claude/skills/ima-forms-expert/SKILL.md +21 -37
- package/plugins/ima-claude/skills/jira-checkpoint/SKILL.md +39 -120
- package/plugins/ima-claude/skills/jquery/SKILL.md +107 -233
- package/plugins/ima-claude/skills/js-fp/SKILL.md +75 -296
- package/plugins/ima-claude/skills/js-fp-api/SKILL.md +52 -162
- package/plugins/ima-claude/skills/js-fp-react/SKILL.md +47 -270
- package/plugins/ima-claude/skills/js-fp-vue/SKILL.md +55 -209
- package/plugins/ima-claude/skills/js-fp-wordpress/SKILL.md +59 -204
- package/plugins/ima-claude/skills/livecanvas/SKILL.md +19 -32
- package/plugins/ima-claude/skills/mcp-atlassian/SKILL.md +146 -136
- package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-attachments.md +115 -0
- package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-auth.md +103 -0
- package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-bulk.md +149 -0
- package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-misc.md +195 -0
- package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-sprints.md +158 -0
- package/plugins/ima-claude/skills/mcp-context7/SKILL.md +32 -64
- package/plugins/ima-claude/skills/mcp-gitea/SKILL.md +98 -188
- package/plugins/ima-claude/skills/mcp-github/SKILL.md +60 -124
- package/plugins/ima-claude/skills/mcp-memory/SKILL.md +1 -177
- package/plugins/ima-claude/skills/mcp-qdrant/SKILL.md +58 -115
- package/plugins/ima-claude/skills/mcp-sequential/SKILL.md +32 -87
- package/plugins/ima-claude/skills/mcp-serena/SKILL.md +54 -80
- package/plugins/ima-claude/skills/mcp-tavily/SKILL.md +40 -63
- package/plugins/ima-claude/skills/mcp-vestige/SKILL.md +75 -116
- package/plugins/ima-claude/skills/php-authnet/SKILL.md +32 -65
- package/plugins/ima-claude/skills/php-fp/SKILL.md +50 -129
- package/plugins/ima-claude/skills/php-fp-wordpress/SKILL.md +25 -73
- package/plugins/ima-claude/skills/phpunit-wp/SKILL.md +103 -463
- package/plugins/ima-claude/skills/playwright/SKILL.md +69 -220
- package/plugins/ima-claude/skills/prompt-starter/SKILL.md +35 -82
- package/plugins/ima-claude/skills/prompt-starter/references/code-review.md +38 -0
- package/plugins/ima-claude/skills/py-fp/SKILL.md +78 -384
- package/plugins/ima-claude/skills/quasar-fp/SKILL.md +54 -255
- package/plugins/ima-claude/skills/quickstart/SKILL.md +7 -11
- package/plugins/ima-claude/skills/rails/SKILL.md +63 -184
- package/plugins/ima-claude/skills/resume-session/SKILL.md +14 -35
- package/plugins/ima-claude/skills/rg/SKILL.md +61 -146
- package/plugins/ima-claude/skills/ruby-fp/SKILL.md +66 -163
- package/plugins/ima-claude/skills/save-session/SKILL.md +10 -39
- package/plugins/ima-claude/skills/scorecard/SKILL.md +24 -38
- package/plugins/ima-claude/skills/skill-analyzer/SKILL.md +42 -71
- package/plugins/ima-claude/skills/skill-creator/SKILL.md +79 -250
- package/plugins/ima-claude/skills/task-master/SKILL.md +11 -31
- package/plugins/ima-claude/skills/task-planner/SKILL.md +44 -153
- package/plugins/ima-claude/skills/task-runner/SKILL.md +61 -143
- package/plugins/ima-claude/skills/unit-testing/SKILL.md +59 -134
- package/plugins/ima-claude/skills/wp-ddev/SKILL.md +38 -120
- package/plugins/ima-claude/skills/wp-local/SKILL.md +26 -108
|
@@ -11,77 +11,66 @@ description: >-
|
|
|
11
11
|
|
|
12
12
|
# GitHub MCP - FOSS & Public Repository Management
|
|
13
13
|
|
|
14
|
-
Use GitHub MCP tools for GitHub-hosted repositories. Falls back to
|
|
14
|
+
Use GitHub MCP tools for GitHub-hosted repositories. Falls back to `gh` CLI when MCP tools unavailable.
|
|
15
15
|
|
|
16
16
|
## Setup
|
|
17
17
|
|
|
18
|
-
Requires `GITHUB_PERSONAL_ACCESS_TOKEN` in your environment:
|
|
19
|
-
|
|
20
18
|
```bash
|
|
21
19
|
export GITHUB_PERSONAL_ACCESS_TOKEN=ghp_yourtoken
|
|
22
20
|
```
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
Server: `api.githubcopilot.com`. Tools prefixed `mcp__github__*`, dynamically served — exact names may vary. On "tool not found", fall back to `gh` CLI.
|
|
25
23
|
|
|
26
24
|
## Tool Catalog
|
|
27
25
|
|
|
28
|
-
GitHub MCP tools map to GitHub REST API operations. Expected tools by category:
|
|
29
|
-
|
|
30
26
|
**Repository**
|
|
31
27
|
|
|
32
|
-
| Tool
|
|
33
|
-
|
|
28
|
+
| Tool | Purpose |
|
|
29
|
+
|------|---------|
|
|
34
30
|
| `mcp__github__search_repositories` | Find public repos by query |
|
|
35
|
-
| `mcp__github__get_repository` |
|
|
36
|
-
| `mcp__github__list_repository_contents` | List files/dirs
|
|
37
|
-
| `mcp__github__get_file_contents` | Read
|
|
38
|
-
| `mcp__github__create_repository` | Create
|
|
39
|
-
| `mcp__github__fork_repository` | Fork
|
|
31
|
+
| `mcp__github__get_repository` | Repo metadata (stars, forks, topics) |
|
|
32
|
+
| `mcp__github__list_repository_contents` | List files/dirs |
|
|
33
|
+
| `mcp__github__get_file_contents` | Read file from any branch/commit |
|
|
34
|
+
| `mcp__github__create_repository` | Create new GitHub repo |
|
|
35
|
+
| `mcp__github__fork_repository` | Fork repo to your account |
|
|
40
36
|
|
|
41
37
|
**Pull Requests**
|
|
42
38
|
|
|
43
|
-
| Tool
|
|
44
|
-
|
|
45
|
-
| `mcp__github__list_pull_requests` | List PRs
|
|
46
|
-
| `mcp__github__get_pull_request` |
|
|
47
|
-
| `mcp__github__create_pull_request` | Open
|
|
39
|
+
| Tool | Purpose |
|
|
40
|
+
|------|---------|
|
|
41
|
+
| `mcp__github__list_pull_requests` | List PRs (state, label, author filters) |
|
|
42
|
+
| `mcp__github__get_pull_request` | PR details + diff metadata |
|
|
43
|
+
| `mcp__github__create_pull_request` | Open new PR |
|
|
48
44
|
| `mcp__github__update_pull_request` | Edit title, body, labels, assignees |
|
|
49
|
-
| `mcp__github__merge_pull_request` | Merge
|
|
50
|
-
| `mcp__github__list_pull_request_reviews` |
|
|
51
|
-
| `mcp__github__create_pull_request_review` | Submit
|
|
52
|
-
| `mcp__github__list_pull_request_comments` |
|
|
45
|
+
| `mcp__github__merge_pull_request` | Merge (merge/squash/rebase) |
|
|
46
|
+
| `mcp__github__list_pull_request_reviews` | Review status |
|
|
47
|
+
| `mcp__github__create_pull_request_review` | Submit review (approve/request changes/comment) |
|
|
48
|
+
| `mcp__github__list_pull_request_comments` | Inline code comments |
|
|
53
49
|
|
|
54
50
|
**Issues**
|
|
55
51
|
|
|
56
|
-
| Tool
|
|
57
|
-
|
|
52
|
+
| Tool | Purpose |
|
|
53
|
+
|------|---------|
|
|
58
54
|
| `mcp__github__list_issues` | List issues with filters |
|
|
59
|
-
| `mcp__github__get_issue` |
|
|
60
|
-
| `mcp__github__create_issue` | Open
|
|
55
|
+
| `mcp__github__get_issue` | Issue details and comments |
|
|
56
|
+
| `mcp__github__create_issue` | Open new issue |
|
|
61
57
|
| `mcp__github__update_issue` | Edit title, body, state, assignees, labels |
|
|
62
|
-
| `mcp__github__list_issue_comments` |
|
|
63
|
-
| `mcp__github__add_issue_comment` | Post
|
|
64
|
-
|
|
65
|
-
**Code & Files**
|
|
58
|
+
| `mcp__github__list_issue_comments` | All comments on an issue |
|
|
59
|
+
| `mcp__github__add_issue_comment` | Post comment |
|
|
66
60
|
|
|
67
|
-
|
|
68
|
-
|-----------------|---------|
|
|
69
|
-
| `mcp__github__search_code` | Search code across GitHub repos |
|
|
70
|
-
| `mcp__github__create_or_update_file` | Commit a file change via API |
|
|
61
|
+
**Code & Users**
|
|
71
62
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
|
75
|
-
|
|
76
|
-
| `mcp__github__get_user` |
|
|
63
|
+
| Tool | Purpose |
|
|
64
|
+
|------|---------|
|
|
65
|
+
| `mcp__github__search_code` | Search code across GitHub |
|
|
66
|
+
| `mcp__github__create_or_update_file` | Commit file change via API |
|
|
67
|
+
| `mcp__github__get_user` | GitHub user profile |
|
|
77
68
|
| `mcp__github__search_users` | Find GitHub users |
|
|
78
69
|
|
|
79
70
|
## `gh` CLI Fallback
|
|
80
71
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
| Operation | `gh` Command |
|
|
84
|
-
|-----------|-------------|
|
|
72
|
+
| Operation | Command |
|
|
73
|
+
|-----------|---------|
|
|
85
74
|
| Create PR | `gh pr create --title "..." --body "..."` |
|
|
86
75
|
| List PRs | `gh pr list` |
|
|
87
76
|
| View PR | `gh pr view 123` |
|
|
@@ -91,7 +80,6 @@ When MCP tools aren't available or sufficient, use the `gh` CLI:
|
|
|
91
80
|
| Close issue | `gh issue close 123` |
|
|
92
81
|
| View repo | `gh repo view owner/name` |
|
|
93
82
|
| Fork repo | `gh repo fork owner/name` |
|
|
94
|
-
| Clone fork | `gh repo clone owner/name` |
|
|
95
83
|
| Search repos | `gh search repos "query"` |
|
|
96
84
|
| Search code | `gh search code "query" --repo owner/name` |
|
|
97
85
|
| View file | `gh api repos/owner/name/contents/path` |
|
|
@@ -99,102 +87,50 @@ When MCP tools aren't available or sufficient, use the `gh` CLI:
|
|
|
99
87
|
## Decision Logic
|
|
100
88
|
|
|
101
89
|
```
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
No remote configured?
|
|
105
|
-
→ Local-only repo. Use git CLI directly.
|
|
90
|
+
git remote -v
|
|
106
91
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
→ No: Does it point to gitea.* / internal hostname?
|
|
112
|
-
→ Yes: Use mcp__gitea__* tools (see mcp-gitea skill)
|
|
113
|
-
→ Unknown: Check with the user
|
|
92
|
+
No remote → git CLI only
|
|
93
|
+
Remote = github.com → mcp__github__* (fallback: gh CLI)
|
|
94
|
+
Remote = gitea.* / internal → mcp__gitea__* (see mcp-gitea skill)
|
|
95
|
+
Unknown → ask user
|
|
114
96
|
|
|
115
|
-
|
|
116
|
-
→ Always use git CLI directly — no MCP needed
|
|
97
|
+
Local git ops (commit, diff, stash) → git CLI always
|
|
117
98
|
```
|
|
118
99
|
|
|
119
100
|
## Common Workflows
|
|
120
101
|
|
|
121
|
-
### Create a PR for a FOSS Project
|
|
122
|
-
|
|
123
|
-
```
|
|
124
|
-
1. Confirm the remote is github.com:
|
|
125
|
-
git remote -v
|
|
126
|
-
|
|
127
|
-
2. Create the PR:
|
|
128
|
-
mcp__github__create_pull_request
|
|
129
|
-
owner: "FLCCC"
|
|
130
|
-
repo: "ima-claude"
|
|
131
|
-
title: "feat: add mcp-github skill"
|
|
132
|
-
body: "## Summary\n..."
|
|
133
|
-
head: "feat/mcp-github-skill"
|
|
134
|
-
base: "main"
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
### Manage Issues
|
|
138
|
-
|
|
139
102
|
```
|
|
140
|
-
#
|
|
103
|
+
# Create PR
|
|
104
|
+
mcp__github__create_pull_request
|
|
105
|
+
owner: "FLCCC" repo: "ima-claude"
|
|
106
|
+
title: "feat: add mcp-github skill"
|
|
107
|
+
body: "## Summary\n..."
|
|
108
|
+
head: "feat/mcp-github-skill" base: "main"
|
|
109
|
+
|
|
110
|
+
# Create issue
|
|
141
111
|
mcp__github__create_issue
|
|
142
|
-
owner: "FLCCC"
|
|
143
|
-
repo: "ima-claude"
|
|
112
|
+
owner: "FLCCC" repo: "ima-claude"
|
|
144
113
|
title: "Bug: skill not loading"
|
|
145
|
-
body:
|
|
114
|
+
body: "Steps to reproduce..."
|
|
146
115
|
labels: ["bug"]
|
|
147
116
|
|
|
148
|
-
# Close
|
|
117
|
+
# Close issue
|
|
149
118
|
mcp__github__add_issue_comment
|
|
150
|
-
owner: "FLCCC"
|
|
151
|
-
|
|
152
|
-
issue_number: 42
|
|
153
|
-
body: "Fixed in v2.11.0"
|
|
154
|
-
|
|
119
|
+
owner: "FLCCC" repo: "ima-claude"
|
|
120
|
+
issue_number: 42 body: "Fixed in v2.11.0"
|
|
155
121
|
mcp__github__update_issue
|
|
156
|
-
owner: "FLCCC"
|
|
157
|
-
|
|
158
|
-
issue_number: 42
|
|
159
|
-
state: "closed"
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
### Search Public Repos
|
|
163
|
-
|
|
164
|
-
```
|
|
165
|
-
mcp__github__search_repositories
|
|
166
|
-
query: "claude code skills mcp"
|
|
167
|
-
sort: "stars"
|
|
168
|
-
|
|
169
|
-
# Or via gh CLI:
|
|
170
|
-
gh search repos "claude mcp skills" --sort stars --limit 10
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
### Review a PR
|
|
174
|
-
|
|
175
|
-
```
|
|
176
|
-
mcp__github__get_pull_request
|
|
177
|
-
owner: "FLCCC"
|
|
178
|
-
repo: "ima-claude"
|
|
179
|
-
pull_number: 15
|
|
122
|
+
owner: "FLCCC" repo: "ima-claude"
|
|
123
|
+
issue_number: 42 state: "closed"
|
|
180
124
|
|
|
125
|
+
# Review PR
|
|
181
126
|
mcp__github__create_pull_request_review
|
|
182
|
-
owner: "FLCCC"
|
|
183
|
-
|
|
184
|
-
pull_number: 15
|
|
185
|
-
event: "APPROVE"
|
|
186
|
-
body: "LGTM"
|
|
127
|
+
owner: "FLCCC" repo: "ima-claude"
|
|
128
|
+
pull_number: 15 event: "APPROVE" body: "LGTM"
|
|
187
129
|
```
|
|
188
130
|
|
|
189
131
|
## When NOT to Use
|
|
190
132
|
|
|
191
|
-
- Internal Gitea repos
|
|
192
|
-
- Local git operations
|
|
193
|
-
- Reading local files
|
|
194
|
-
- GitHub Actions
|
|
195
|
-
|
|
196
|
-
## Notes
|
|
197
|
-
|
|
198
|
-
- GitHub MCP tools are **dynamically served** — exact names may differ. If a tool call fails with "tool not found", fall back to `gh` CLI.
|
|
199
|
-
- The `gh` CLI is reliable and covers the majority of GitHub operations. MCP adds value for structured responses (search, bulk operations, code review workflows).
|
|
200
|
-
- Always confirm the target remote (`git remote -v`) before deciding which tool to use.
|
|
133
|
+
- Internal Gitea repos → use `mcp-gitea`
|
|
134
|
+
- Local git operations → use `git` CLI
|
|
135
|
+
- Reading local files → use Read tool
|
|
136
|
+
- GitHub Actions config → edit locally and push
|
|
@@ -3,180 +3,4 @@ name: "mcp-memory"
|
|
|
3
3
|
description: "DEPRECATED — Use mcp-vestige instead. Vestige provides semantic search, spaced repetition, auto-dedup, and codebase awareness as a superset of Memory MCP. Triggers on: mcp-memory."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
> **DEPRECATED**:
|
|
7
|
-
>
|
|
8
|
-
> This file is retained for reference during the transition period.
|
|
9
|
-
|
|
10
|
-
# Memory MCP - Proactive Knowledge Graph (DEPRECATED)
|
|
11
|
-
|
|
12
|
-
**You have access to a persistent knowledge graph that you rely on across all sessions.**
|
|
13
|
-
|
|
14
|
-
Like Serena for code operations, Memory MCP is your system for preserving context. You use it **proactively** without being asked - checking for relevant context, storing decisions as they're made, and capturing learnings.
|
|
15
|
-
|
|
16
|
-
## Proactive Behavior Rules
|
|
17
|
-
|
|
18
|
-
**These are MUST behaviors, not suggestions:**
|
|
19
|
-
|
|
20
|
-
### 1. Session Start: Check for Context
|
|
21
|
-
When beginning work on any project, **automatically search memory** for relevant context:
|
|
22
|
-
```
|
|
23
|
-
mcp__memory__search_nodes query: "{project-name}"
|
|
24
|
-
mcp__memory__open_nodes names: ["user-eric"]
|
|
25
|
-
```
|
|
26
|
-
This takes 2 seconds and prevents re-learning what you already know.
|
|
27
|
-
|
|
28
|
-
### 2. During Work: Store Decisions As They Happen
|
|
29
|
-
When ANY of these occur, **immediately store without being asked**:
|
|
30
|
-
|
|
31
|
-
| Event | Action |
|
|
32
|
-
|-------|--------|
|
|
33
|
-
| User states a preference | Store to `user-eric` entity |
|
|
34
|
-
| Architectural decision made | Create `decision-{topic}` entity |
|
|
35
|
-
| Bug root cause identified | Create `bug-{description}` entity |
|
|
36
|
-
| Pattern chosen over alternatives | Create `pattern-{name}` with rationale |
|
|
37
|
-
| User corrects your approach | Update `user-eric` with the correction |
|
|
38
|
-
| Configuration choice with rationale | Create `decision-{topic}` entity |
|
|
39
|
-
|
|
40
|
-
**Recognition patterns** - store when you hear:
|
|
41
|
-
- "I prefer..." / "I like..." / "I always..." / "I never..."
|
|
42
|
-
- "Let's go with X because..." / "We chose X over Y"
|
|
43
|
-
- "The reason this failed was..." / "Root cause:"
|
|
44
|
-
- "From now on..." / "Going forward..."
|
|
45
|
-
- "That's not how we do it" / "Actually, we..."
|
|
46
|
-
|
|
47
|
-
### 3. Session End: Capture Learnings
|
|
48
|
-
Before ending significant sessions, consider:
|
|
49
|
-
- What decisions were made that should persist?
|
|
50
|
-
- What did you learn about the user's preferences?
|
|
51
|
-
- What patterns or approaches worked well?
|
|
52
|
-
- What should you remember for next time?
|
|
53
|
-
|
|
54
|
-
### 4. Before Asking Questions You Might Already Know
|
|
55
|
-
Before asking "What framework do you use?" or "How do you prefer X?", **check memory first**:
|
|
56
|
-
```
|
|
57
|
-
mcp__memory__search_nodes query: "preference"
|
|
58
|
-
mcp__memory__search_nodes query: "{topic}"
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Entity Structure
|
|
62
|
-
|
|
63
|
-
### Core Entities (create these)
|
|
64
|
-
|
|
65
|
-
**User Entity** (singleton - add observations, don't recreate):
|
|
66
|
-
```
|
|
67
|
-
name: "user-eric"
|
|
68
|
-
entityType: "user"
|
|
69
|
-
observations:
|
|
70
|
-
- "Prefers FP patterns over OOP"
|
|
71
|
-
- "Anti-over-engineering philosophy"
|
|
72
|
-
- "Wants minimal code comments"
|
|
73
|
-
- "Uses Quasar for Vue projects"
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
**Project Entities**:
|
|
77
|
-
```
|
|
78
|
-
name: "project-{name}"
|
|
79
|
-
entityType: "project"
|
|
80
|
-
observations:
|
|
81
|
-
- "Tech stack: X, Y, Z"
|
|
82
|
-
- "Key patterns: ..."
|
|
83
|
-
- "Gotchas: ..."
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
**Decision Entities**:
|
|
87
|
-
```
|
|
88
|
-
name: "decision-{topic}"
|
|
89
|
-
entityType: "decision"
|
|
90
|
-
observations:
|
|
91
|
-
- "Chose X over Y"
|
|
92
|
-
- "Rationale: ..."
|
|
93
|
-
- "Made: {date}"
|
|
94
|
-
- "Applies to: {scope}"
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Relations (create these to build the graph)
|
|
98
|
-
```
|
|
99
|
-
user-eric → owns → project-imanetwork
|
|
100
|
-
project-imanetwork → follows → decision-fp-patterns
|
|
101
|
-
decision-fp-patterns → supersedes → decision-old-oop-approach
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
## Available Tools
|
|
105
|
-
|
|
106
|
-
| Tool | When to Use |
|
|
107
|
-
|------|-------------|
|
|
108
|
-
| `search_nodes` | **First** - before creating, before asking user |
|
|
109
|
-
| `open_nodes` | Load specific known entities |
|
|
110
|
-
| `create_entities` | New project, decision, pattern, bug |
|
|
111
|
-
| `add_observations` | New facts about existing entity |
|
|
112
|
-
| `create_relations` | Connect related entities |
|
|
113
|
-
| `read_graph` | Debug / audit (use sparingly) |
|
|
114
|
-
| `delete_*` | Cleanup outdated information |
|
|
115
|
-
|
|
116
|
-
## Quick Patterns
|
|
117
|
-
|
|
118
|
-
### Store a user preference (do this automatically)
|
|
119
|
-
```
|
|
120
|
-
mcp__memory__search_nodes query: "user-eric"
|
|
121
|
-
# If exists:
|
|
122
|
-
mcp__memory__add_observations
|
|
123
|
-
observations: [{"entityName": "user-eric", "contents": ["Prefers early returns over nested conditionals"]}]
|
|
124
|
-
# If not exists:
|
|
125
|
-
mcp__memory__create_entities
|
|
126
|
-
entities: [{"name": "user-eric", "entityType": "user", "observations": ["..."]}]
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
### Store a decision with rationale
|
|
130
|
-
```
|
|
131
|
-
mcp__memory__create_entities
|
|
132
|
-
entities: [{
|
|
133
|
-
"name": "decision-validators-at-registration",
|
|
134
|
-
"entityType": "decision",
|
|
135
|
-
"observations": [
|
|
136
|
-
"IMA Forms: validators defined at field registration, not validation time",
|
|
137
|
-
"Rationale: single source of truth, template IS the definition",
|
|
138
|
-
"Made: 2026-01-15",
|
|
139
|
-
"Supersedes: separate validation schema approach"
|
|
140
|
-
]
|
|
141
|
-
}]
|
|
142
|
-
mcp__memory__create_relations
|
|
143
|
-
relations: [{"from": "project-ima-forms", "to": "decision-validators-at-registration", "relationType": "follows"}]
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Check before asking
|
|
147
|
-
```
|
|
148
|
-
# Instead of asking "What's your code style preference?"
|
|
149
|
-
mcp__memory__search_nodes query: "code style"
|
|
150
|
-
mcp__memory__search_nodes query: "preference"
|
|
151
|
-
# Only ask if nothing found
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## What NOT to Store
|
|
155
|
-
|
|
156
|
-
- Temporary debugging steps
|
|
157
|
-
- One-off fixes unlikely to recur
|
|
158
|
-
- Information already in project docs (CLAUDE.md, README)
|
|
159
|
-
- Sensitive data (credentials, API keys)
|
|
160
|
-
|
|
161
|
-
## Naming Conventions
|
|
162
|
-
|
|
163
|
-
| Prefix | Use |
|
|
164
|
-
|--------|-----|
|
|
165
|
-
| `user-{name}` | User preferences, corrections |
|
|
166
|
-
| `project-{name}` | Project context, tech stack |
|
|
167
|
-
| `decision-{topic}` | Architectural choices with rationale |
|
|
168
|
-
| `pattern-{name}` | Reusable code patterns |
|
|
169
|
-
| `bug-{description}` | Root causes worth remembering |
|
|
170
|
-
| `standard-{topic}` | Team/org standards |
|
|
171
|
-
|
|
172
|
-
## The Key Insight
|
|
173
|
-
|
|
174
|
-
**Serena works because it's wired into code operations automatically.**
|
|
175
|
-
**Memory works when it's wired into decision-making automatically.**
|
|
176
|
-
|
|
177
|
-
Don't wait to be asked. When context flows through the conversation that should persist:
|
|
178
|
-
1. Recognize it
|
|
179
|
-
2. Store it
|
|
180
|
-
3. Mention briefly: "I've noted your preference for X"
|
|
181
|
-
|
|
182
|
-
This builds a knowledge graph that makes every future session better.
|
|
6
|
+
> **DEPRECATED**: Replaced by **mcp-vestige**. All proactive memory behaviors route through Vestige.
|