Skip to main content
skill CX Codex

groove-work-doc — Claude Code skill: what it does, how to install

Creates a reference document explaining how a codebase component or concept works. Use it when future agents or contributors need concrete project context.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add andreadellacorte/groove --skill groove-work-doc -a claude-code
Open on GitHub

What groove-work-doc does

The skill studies the repository and writes a document under .groove/memory/docs/. The file covers four areas: an overview of the component and its purpose, key files with their roles, the main execution flow, and non-obvious constraints or edge cases.

It grounds the document in real paths and traces an actual code path instead of producing generic guidance. Research uses an Explore agent, while writing happens in an isolated general-purpose agent context. When the scope is unclear, the skill asks whether the audience is a new contributor, a future agent, or both.

The topic comes from $ARGUMENTS when supplied. The filename is sanitized by removing path separators, special characters, and traversal patterns such as ../. The skill creates .groove/memory/docs/ when needed and checks that all four required sections are present. Its output is therefore tied to the repository being examined.

What it helps with

  • document how a codebase component works
  • map important files to their roles
  • trace the real execution flow
  • record edge cases and constraints
  • prepare context for a future agent

Example prompts for the agent

  • Create a document explaining how the authentication module works.
  • Inspect src/payments and document its main execution flow.
  • Write a concise reference for the caching concept, with real file paths and gotchas.

How to install groove-work-doc

1Skills CLI (Vercel)

npx skills add andreadellacorte/groove --skill groove-work-doc -a claude-code

2Manually: put the files in place

~/.claude/skills/groove-work-doc/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/groove-work-doc/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about groove-work-doc

How do I install groove-work-doc in Claude Code?

Run npx skills add andreadellacorte/groove --skill groove-work-doc -a claude-code, then check ~/.claude/skills/groove-work-doc/SKILL.md.

What does groove-work-doc do?

It researches a repository and creates a file in .groove/memory/docs/ covering the component overview, key files, execution flow, and constraints.

Which sections does the generated document contain?

It must include Overview, Key Files, How It Works, and Gotchas. The skill verifies that all four sections exist before it finishes.

Source text

SKILL.md · MIT
---
name: groove-work-doc
description: "Create a 'how does X work' documentation file for a codebase component or concept. Use $ARGUMENTS as the doc topic if provided."
license: MIT
allowed-tools: Read Write Edit Glob Grep Bash(git:*) AskUserQuestion
metadata:
  author: andreadellacorte
---

<!-- groove:managed — do not edit; changes will be overwritten by groove update -->

# 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

© andreadellacorte · MIT · andreadellacorte/groove

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set27

groove-work-exec This skill takes a finished implementation plan and writes the code, tests and docs for it, logging progress in your task backend. Use it once planning is done. CX Codex +1 536installs groove-utilities-task-archive Archives completed and scrapped tasks in the configured backend. Use it when you want to close a batch of finished work with a confirmation step. CX Codex +1 532installs groove-utilities-memory-mistakes This skill turns an agent mistake into a tracked incident, fixes its cause, and records the lesson in project memory. Use it to stop repeat errors. CX Codex +1 529installs groove-admin-update Pulls the latest groove skills and applies pending migrations to your local groove state. Useful when a new release lands but your config and memory are still on the old one. CX Codex +1 528installs groove-admin-cursor-hooks Registers groove's native Cursor hooks in .cursor/hooks.json: context re-priming after compaction, end-of-day reminders, a git commit buffer and managed-path protection. CX Codex +1 518installs groove-utilities-memory-graduate Promotes a stable workflow insight from .groove/memory/learned/ into AGENTS.md, so the rule applies to every future session without running prime. CX Codex +1 510installs groove-groovebook-publish This skill sends a workflow learning from your project to the shared groovebook repo as a pull request. Handy after groove-work-compound, when a finding deserves a wider audience. CX Codex +1 506installs groove-utilities-onboard Writes a GROOVE.md at the project root so a new contributor knows which commands to run and where logs live. Handy when someone joins a groove project. CX Codex +1 505installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor