groove-work-doc
Create a 'how does X work' documentation file for a codebase component or concept. Use $ARGUMENTS as the doc topic if provided.
Install
npx skills add https://github.com/andreadellacorte/groove --skill groove-work-docSKILL.md
groove-work-doc
Use $ARGUMENTS as the doc topic if provided.
Outcome
A structured documentation file explaining how a component, concept, or pattern works — for future agents and humans picking up the codebase.
Acceptance Criteria
Doc file contains:
- Overview: What this component/concept is and what problem it solves
- Key Files: The most important files, with a one-line role for each
- How It Works: Step-by-step explanation of the main flow or logic
- Gotchas: Non-obvious constraints, edge cases, known sharp edges
Constraints
- Sanitize topic for use as filename — strip path separators, special characters, and traversal patterns (
../) - Docs directory is always
.groove/memory/docs/ - Ensure the docs directory exists (create if missing)
- Research the codebase thoroughly before writing (use Explore agent) — docs should reference actual file paths, not generic descriptions
- Interview user if scope is ambiguous: "What's the audience — a new contributor, a future agent, or both?"
- Write doc in isolated context (use general-purpose agent)
- Verify all four required sections exist before completing
- Keep each section concise — this is a reference doc, not a tutorial
Quality Signals
- Key Files lists actual paths found in the codebase
- How It Works traces a real execution path (e.g. "user runs X → Y reads config → Z writes file")
- Gotchas surface things that are not obvious from reading the code
- Doc does not duplicate what a spec already says — link to the spec if one exists
Related skills
domain-modelingmattpocock714KBuild and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md, or recording or editing an ADR.to-specmattpocock576KTurn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.caveman-helpjuliusbrussee369KQuick-reference card for caveman modes, skills and commands. Trigger: /caveman-help or "caveman help".pptxanthropics228KUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the u