Skip to content
Agentmart
Submit a tool

document

Capture hard-won engineering knowledge in durable project documentation.

Skill by KodingDev

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kodingdev-document

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Capture hard-won engineering knowledge in durable project documentation.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/document

What's inside

Skill name
document
Description
Capture hard-won engineering knowledge in durable project documentation.
License
MIT
Instructions
62 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Document

Capture knowledge for humans. Not for AI, not for ceremony — for the person who maintains this code in six months.

## When to Use

- After completing a feature with non-obvious behavior
- After resolving a complex debugging session
- When the user asks to document something

## What to Document and Where

### Feature Documentation

If the project has a `docs/` folder, use it. The spec file from brainstorm is a starting point, but it needs rewriting — specs are instructions for an agent, docs are explanations for a person.

Write for someone who will use or maintain this feature. What does it do, how does it work, what should they know.

### Debugging Knowledge / Gotchas

When a complex issue is resolved, especially one that took significant investigation:

- **What the problem was** and how it manifests
- **Why it happens** (root cause)
- **What the fix is** and why it works
- **What was already tried** and why it didn't work
- **Sources** consulted (URLs, GitHub issues, docs pages)

Place this close to the relevant code: inline comments for small gotchas, a dedicated doc for complex ones.

### "We Already Tried This" Notes

For complex ongoing work — like replicating engine-specific rendering in WebGL, or fighting a particularly tricky integration — maintain a living doc of approaches tried:

```markdown
## Approaches Tried
- **Gamma correction swap (sRGB -> linear)** — didn't work because [reason]. See [source].
- **Manual tone mapping curve** — partially worked but [limitation].
- **[What actually worked]** — works because [explanation]. Key insight: [the non-obvious thing].
```

This prevents future sessions from re-treading the same ground. If the agent's first instinct is "maybe it's the gamma correction" but that was already tried and documented — the doc catches it.

### Architecture Decisions

When a non-obvious choice is made, document why. Not a formal ADR — just a brief note:
- What was decided
- What the alternatives were
- Why this one was chosen

Lives in `docs/` or as a comment near the relevant code, depending on scope.

## Principles

- **Write for the person who joins in 6 months.** They don't have your session context. They don't know what you tried.
- **Use the project's existing docs folder and conventions.** Don't invent a new structure.
- **Inline comments for small things, dedicated docs for complex ones.** A one-liner "this must be called before X because Y" belongs in code. A multi-paragraph rendering pipeline explanation belongs in a doc file.
- **Link to sources.** If the fix came from a GitHub issue, a docs page, or a forum post — include the URL.
- **Keep it current.** If you're updating code that has associated docs, update the docs too.
- **Don't write documentation for the sake of documentation.** If the code is self-explanatory and there are no gotchas, there's nothing to document.

From KodingDev/meridian, MIT.

More from KodingDev/meridian

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
Jul 14, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from KodingDev

Cite this page

document skill. Agent Mart. https://agentmart.dev/skills/kodingdev-document (last updated 2026-10-24)