04-rem
04 rem
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.
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.
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, prds, 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. - Update
tasks/memory.mdin place; do not rewrite the whole file. - Add short entries (1–3 lines) in the most relevant section.
- Prefer referencing feature IDs (
f-##) and prd paths when relevant. - 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> — Implemented/Merged
- prd: `tasks/f-##-<slug>.md`
- Notes: …
## Notes / gotchas
- YYYY-MM-DD: …
## Links (optional)
- `tasks/todo.md`
When to Use This
- During
01-new: when the project definition changes or a major planning decision is made. - During
02-prd: when a prd introduces a key decision, constraint, or cross-cutting behavior worth remembering. - During
03-exe:- When you discover an important gotcha or finalize a major implementation decision.
- When you check Implemented or Merged in a prd—update "Current state" and "Completed" sections.
Output
- Create or update
tasks/memory.md. - Reply with the file path and a short summary of what was added/updated.
More from kelvinz/cobb
compact
Compact `tasks/context.md` by summarising older completed history while preserving active context. Triggers: compact context, prune context log, trim context.
30commit
Create atomic user-approved commits with `feat`/`fix`/`chore` titles. Include inline PRD checklist and context updates per atomic commit. Finalise branch merge/cleanup when requested. Triggers: commit changes, split commits, finalise branch, commit message.
27prd
Create, update, or list PRDs for features, fixes, and chores. Handles project setup (first PRD) and ongoing PRD management. Each PRD is a self-contained spec with status, priority, and acceptance criteria. Triggers: prd, new feature, write prd, plan feature, create spec, list prds, update prd, add feature.
15open-pr
Push the current feature branch and create/update a Draft PR via `gh` with PRD link, testing, and verification details. Triggers: open-pr, create draft pr, update pr description, publish branch.
802-plan
Create a Product Requirements Document (prd) / feature plan for a new or existing item (`Type: feat` / `fix` / `chore`). Use when planning scope, writing requirements, defining user stories + acceptance criteria, or turning an idea into an implementable spec. Triggers: plan, prd, product requirements, feature spec, bugfix spec, fix spec, requirements doc, spec this feature, write requirements.
204-propose
Push the current feature branch and open/update a best-practice Draft pull request via GitHub CLI (gh), including a high-quality PR title/body linked to the PRD with testing + verification steps. Use when pushing a branch, creating/updating a PR, drafting a PR description, or running gh pr create/edit. Triggers: propose, push, PR, pull request, create PR, open PR, draft PR, pr description, gh pr create, gh pr edit, ready for review.
2