From do-cc-forge
Consolidate session knowledge into persistent memory at the end of a story, before /clear. Run after every story merge. Triggers on: 'wrap story', 'wrap up', '/wrap-story', 'end of story', 'before clear'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/do-cc-forge:docc-wrap-storyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Consolidate decisions, gotchas, and patterns from the current session into persistent memory before `/clear`. Prevents context loss between stories.
Consolidate decisions, gotchas, and patterns from the current session into persistent memory before /clear. Prevents context loss between stories.
/clear| Path | Default | Override via env |
|---|---|---|
| Project log | ./docs/project-log.md | DOCC_PROJECT_LOG |
| Session memory | ./.claude/memory/MEMORY.md | DOCC_MEMORY_FILE |
If a target file does not exist, create it with a minimal header.
Scan the current conversation for:
Ignore: routine implementation details, temporary debugging steps, anything already documented.
File: DOCC_MEMORY_FILE (default ./.claude/memory/MEMORY.md)
Append a dated bullet for this story:
- [YYYY-MM-DD Story X.Y] <one-line summary of key decision or gotcha>
If the file does not exist, create it:
# Project Memory
---
- [YYYY-MM-DD Story X.Y] <summary>
File: DOCC_PROJECT_LOG (default ./docs/project-log.md)
Find the current epic section (e.g. ## Epic 3). If it exists, append. If not, create it:
## Epic X — <epic title if known>
- [YYYY-MM-DD Story X.Y] <decision or gotcha>
Keep entries concise — one line per item.
Memory updated. Ready for /clear.
Added to MEMORY.md:
- <item 1>
Added to project-log.md:
- <item 1>
If nothing worth capturing was found:
Nothing significant to capture this session. Ready for /clear.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub dolaresko/do-cc-forge --plugin do-cc-forge