document
Skill2 starsChanged 14 days agoMITView on GitHub
Document code APIs, modules, and behavior.
54 other projects use a version of this.
Adopted by
Most recently taken up by
- daledesilva/obsidian_inktheir own version, first seen Nov 9, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- dimsedra/skillstheir own version, first seen Nov 8, 2026
- codewhale-hq/codewhale-plugin-marketplacetheir own version, first seen Nov 8, 2026
- jisuzzzz/haechitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use develop, scope and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hong9LeeSkilldevelop
빌드, 아키텍처, git 관련 작업 시 OMS MSA 공통 인프라 규칙을 적용한다. 기술 스택, 빌드 명령, 헥사고날 아키텍처 구조, git 워크플로우, AI Context 동기화 규칙을 다룬다. 코드 작성 컨벤션은 /convention, 테스트 컨벤션은 /test-guide 스킬을 참조.
Also in 5 projects that use this
YuriNachosSkillscope
Configure claude-scope status line widgets for Claude Code. Use when user wants to customize widgets, change theme, reorder elements, or modify display style.
Also in 5 projects that use this
ralphkraussSkillresolve-conflicts
Resolve git merge conflicts or re-apply changes from a stale branch onto current main. Use when user says "resolve conflicts", "merge conflicts", "rebase branch", "branch is behind", "re-apply changes", "port branch", or a branch is too far behind main to merge cleanly.
Also in 3 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 5 projects that use this
kt057Skillcheck
lint, typecheck, test を一括実行して結果をサマリーする
Also in 7 projects that use this
Harut8Skillarchitect
Also in 9 projects that use this
Other versions54 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 54
- Akylas/OSS-DocumentScanner★ 2.6ksame name
- jsmastery-pro/skills★ 1.4ksame name
- daledesilva/obsidian_ink★ 1.4ksame name
- adobe/S3Mock★ 1.2ksame name
- ZimoLiao/scholaraio★ 585same name
- vladikk/modularity★ 538same name
- Akylas/oss-weather★ 478same name
- spiriMirror/libuipc★ 351same name
- nitinjain999/platform-skills★ 71same name
- jsmastery-pro/jsm-hq★ 47same name
44 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- structureSkill
- testSkill
- tipSkill
- troubleshootSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Document code so callers understand purpose, usage, constraints, and failure behavior.
- Distinctive: line 26
Keep documentation co-located, current, minimal, and aligned with the implementation.
- Distinctive: line 52
Add or update docs for purpose, parameters, returns, errors, side effects, invariants, and examples.
- Distinctive: line 54
Delete stale, speculative, duplicate, or implementation-repeating prose.
- Distinctive: line 65
Lead with Purpose: Start each block with a one-line caller-facing summary.
- Distinctive: line 67
Explain Why: Document rationale, constraints, tradeoffs, and caller obligations.
- Distinctive: line 73
Use Examples: Add runnable examples when they clarify usage or prevent misuse.
- Distinctive: line 75
Match Idioms: Follow language, framework, and repository documentation style.
- Distinctive: line 77
Maintain Vocabulary: Use domain terms consistently with the code and existing docs.
- Distinctive: line 85
Public Focus: Document caller-facing contracts.
- Distinctive: line 91
No Behavioral Changes: Don't alter runtime behavior while documenting.
- Distinctive: line 107
Keep prose terse while ensuring clarity.
- Distinctive: line 110
Use lists and sub-lists for long sentences and dense paragraphs.
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation agent
When to use
- Public
APIs, modules, commands, configuration, or workflows lack caller-facing documentation. - Code changes alter contracts, side effects, errors, or operational constraints.
- Existing documentation drifts from observed behavior.
- Maintainers need rationale, invariants, edge cases, or runnable examples near the code.
Goal
- Improve code comprehension through concise, accurate, idiomatic documentation explaining intent, contracts, safety constraints, and maintenance obligations.
- Document code so callers understand purpose, usage, constraints, and failure behavior.
- Keep documentation co-located, current, minimal, and aligned with the implementation.
Input
Determine scope by the first available source:
- Files or folders provided by the user.
- Current changes in the repository.
Abort if no scope exists.
Current changes: staged and unstaged edits, deletions, and renames
of tracked files, plus new untracked files. Requires a versioned
project. Abort with a clear message if none detected.
Workflow
- GATE—Confirm scope exists (user-provided files or current repository changes). Abort immediately if none.
- ORIENT—State target scope and documentation goal in one sentence. Runtime behavior stays unchanged.
- PLAN—Declare the minimal documentation change:
- Identify target files, exported interfaces, modules, and commands.
- Find missing, stale, redundant, or misleading documentation.
- ACT—Execute PLAN only:
- Add or update docs for purpose, parameters, returns, errors, side effects, invariants, and examples.
- Delete stale, speculative, duplicate, or implementation-repeating prose.
- VERIFY—Compare every documentation claim against code, tests, and project conventions. Iterate on failures.
- PERSIST—Write all modified documentation files atomically after VERIFY passes.
- REPORT—Emit the result following the result directives and using the result template.
Directives
- Lead with Purpose: Start each block with a one-line caller-facing summary.
- Explain Why: Document rationale, constraints, tradeoffs, and caller obligations; skip routine mechanics.
- Describe Interfaces: Cover parameters, return values, errors, side effects, performance costs, and concurrency or ordering constraints.
- Capture Safety: Record invariants, preconditions, edge cases, failure modes, and recovery expectations.
- Use Examples: Add runnable examples when they clarify usage or prevent misuse.
- Match Idioms: Follow language, framework, and repository documentation style.
- Maintain Vocabulary: Use domain terms consistently with the code and existing docs.
Constraints
- Accuracy First: Describe observed behavior only. Never speculate.
- Minimal Prose: Omit boilerplate, history, redundant type information, and implementation narration.
- Public Focus: Document caller-facing contracts. Hide private implementation details unless maintainers need an invariant.
- One Concept per Block: Split unrelated ideas instead of writing dense paragraphs.
- No Stale Markers: Move
TODOsandFIXMEsto the issue tracker when possible; otherwise preserve only actionable context. - No Behavioral Changes: Don't alter runtime behavior while documenting.
Verification
- Public
APIs, modules, commands, and changed behavior have accurate caller-facing documentation. - Documentation matches code, tests, and repository conventions.
- Examples run or state required context.
- Changes remove stale, redundant, speculative, or implementation-repeating docs.
- Formatting and documentation lint checks pass when available.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists for long sentences and dense paragraphs.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions taken]
- **Files**:
- [Terse list of affected files]
- **Findings**:
- [Terse list of notable findings]
- **Summary**:
- [Terse list of summary of changes]
> **Document Status** • `[scope]`
> **Result**: [Documented | No Action | Failed]
> **Impact**: [Terse impact statement]<!-- prettier-ignore-end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

