# document

Updates project documentation and architectural decisions after delivering a feature or bug fix following profile guidelines.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 155 repo stars
- Author: serpro69
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/document/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/serpro69-document

## What it does

The skill enforces an exact sequence before touching documentation files. The assistant first inspects directory metadata to detect configured profiles, pulling in designated documentation rubrics. Only when these guidelines are loaded does the model inspect code changes, ensuring every mandated topic gets addressed.

When updating documentation, it discovers established project structures across `docs/`, `README.md`, and contributing guides. Non-trivial technical choices trigger the creation of Architecture Decision Records inside `/docs/adr`. Under active profile rubrics, each topic demands an explicit section, a single-line note explaining why it is not applicable, or a link to inherited platform settings.

Because the procedure relies on shared repository protocols such as `shared-capy-knowledge-protocol.md`, missing protocol files will break the profile resolution stage.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill document -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/document/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/document/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill document -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/document/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill document -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/document/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install serpro69/claude-toolbox kodex-plugin/skills/document
```

2. **Manually: put the files in place**
- File: `.github/skills/document/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill document -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/serpro69/claude-toolbox --path kodex-plugin/skills/document
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/document/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/document/SKILL.md

## When to use it
- record technical changes after finishing a feature or bug fix
- draft Architecture Decision Records for non-obvious engineering choices
- audit documentation coverage against active profile rubrics

## Example prompts
- We finished implementing this feature, please document all changes across the repo
- Update our docs for the latest bug fix and generate an ADR if needed

## Similar
- [document-reviewer](https://affpapa.org/en/nevibecode/agents/document-reviewer.md) — subagent · ★ 720 repo stars
- [writing-adrs](https://affpapa.org/en/nevibecode/skills/writing-adrs.md) — skill · 1700 installs
- [kb-document](https://affpapa.org/en/nevibecode/skills/kb-document.md) — skill · ★ 45 repo stars
- [documentation-and-adrs](https://affpapa.org/en/nevibecode/skills/documentation-and-adrs.md) — skill · 80700 installs
- [architecture-decision-records](https://affpapa.org/en/nevibecode/skills/architecture-decision-records.md) — skill · 22036 installs
- [GEML — a plain-text document format built to be edited in place, one section at a time](https://affpapa.org/en/nevibecode/mcp/geml-a-plain-text-document-format-built-to-be-edited-in-place-one-section-at-a-t.md) — MCP server · ★ 31 repo stars

## Other versions with the same name
- [document · jsmastery-pro](https://affpapa.org/en/nevibecode/skills/document.md) — 5100 installs
- [document · rsmdt](https://affpapa.org/en/nevibecode/skills/rudolf-s-document.md) — ★ 587 repo stars
- [document · archcore-ai](https://affpapa.org/en/nevibecode/skills/archcore-ai-document.md) — ★ 78 repo stars
- [document · awrshift](https://affpapa.org/en/nevibecode/skills/awrshift-document.md) — ★ 33 repo stars

From the same set: [serpro69/claude-toolbox](https://affpapa.org/en/nevibecode/by/serpro69/claude-toolbox.md) — 30 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
