memory
17
总安装量
10
周安装量
#20078
全站排名
安装命令
npx skills add https://github.com/kelvinz/cobb --skill memory
Agent 安装分布
gemini-cli
10
opencode
10
claude-code
9
github-copilot
9
kimi-cli
8
Skill 文档
memory
Maintain tasks/memory.md as a living, durable “what matters” record for the project.
Write it for someone taking over the project (or you returning later): it should explain where things are, what was decided, and what to watch out for before proceeding.
Treat this as shared behaviour embedded in other skills, not a mandatory standalone step in normal workflows.
Guardrails
- Do not store secrets (API keys, tokens, credentials).
- Keep entries short and durable; avoid duplicating long PRDs or code.
- Update
tasks/memory.mdin place; do not rewrite the whole file. - Write in plain language so a junior dev (or another AI) can take over without extra context.
- Prefer inline updates during active skills (
new,plan,implement,review,commit) whenever worthwhile information emerges.
What goes where
tasks/todo.md= what we intend to do- PRD (
tasks/f-##-*.md) = the spec + progress checklist for one feature tasks/memory.md= project-specific: durable decisions, milestones, gotchas, and “where we are now”
What to Record
- Project gist (what it is, who it’s for, success measures)
- Current state (what’s done, what’s next, what’s blocked)
- Key decisions (what we chose + why + tradeoffs)
- Completed work (feature IDs and notable outcomes)
- Notes/gotchas (constraints, pitfalls, conventions, sharp edges)
Avoid:
- raw meeting transcripts
- verbose day-by-day logs
- duplicate content that already lives in PRDs or code
Workflow
- Ensure
tasks/exists; createtasks/memory.mdif missing. - Determine invocation style:
- Inline call (from another skill): apply this workflow as part of that skill’s execution.
- Direct call: use for explicit backfill/repair/cleanup requests.
- Update
tasks/memory.mdin place; do not rewrite the whole file. - Add short entries (1â3 lines) in the most relevant section.
- All dated sections are oldest-first (append new entries at the bottom).
- Prefer referencing stable feature IDs (
f-##) and avoid file paths (paths can change after archiving/compaction). - If it’s unclear what to record, ask one clarifying question.
tasks/memory.md Template (Markdown)
If tasks/memory.md does not exist, create it with this structure:
# Project Memory: <project name>
## Project
- One-liner: â¦
- Target users: â¦
- Success metrics: â¦
- Constraints (optional): â¦
- Non-goals (optional): â¦
## Current state
- Where we are: â¦
- Next up: f-##
- Blockers / risks: â¦
## Key decisions
- YYYY-MM-DD: <decision>
- Why: â¦
- Tradeoffs: â¦
## Completed
- YYYY-MM-DD: f-## <feature name> â Completed and archived
- Notes: â¦
## Notes / gotchas
- YYYY-MM-DD: â¦
## Links (optional)
- `tasks/todo.md`
Output
- Create or update
tasks/memory.md. - Reply with the file path and a short summary of what was added/updated (or why memory update was skipped).
- End with a short status block:
- Files changed: list of created/updated files
- Key decisions: any assumptions or choices made (if any)
- Next step: recommended next skill or action