documentation-writing
Skill1 starsChanged 9 months agoMITView on GitHub
Maintain project documentation in .claude/skills/project-knowledge/: audit, edit, check consistency, track status.
10 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- pavel-molyanov/molyanov-ai-devtheir own version, first seen Oct 25, 2026
- tmcfarlane/team-avatartheir own version, first seen Oct 20, 2026
- AgentShekel/agentic-workflowedited, first seen Oct 14, 2026
- z-Zihan/Evirtheir own version, first seen Oct 13, 2026
- ag2ai/faststreamtheir own version, first seen Oct 8, 2026
- 5throck/ai-workspace-standardstheir own version, first seen Sep 26, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- AgentShekel/agentic-workflow★ 471% same
- stepanenkoviktor0110-boop/ai-dev-methodology★ 289% same
Wrote their own version · 8
- ag2ai/faststream★ 5.4ksame name
- pavel-molyanov/molyanov-ai-dev★ 299same name
- tmcfarlane/team-avatar★ 112same name
- nilecui/SkillsBase★ 27same name
- 5throck/ai-workspace-standards★ 25same name
- z-Zihan/Evir★ 11same name
- derheissenberg/applicaiton★ 2same name
- redamoon/skills★ 0same name
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 repository20 other files it gives its agents.
- skills/skill-master/references/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewingSkill
- code-writingSkill
- deploy-pipelineSkill
- feature-executionSkill
- infrastructure-setupSkill
- methodologySkill
- post-deploy-qaSkill
- pre-deploy-qaSkill
- project-planningSkill
- prompt-masterSkill
- security-auditorSkill
- skill-masterSkill
- skill-test-designerSkill
- skill-testerSkill
- task-decompositionSkill
- tech-spec-planningSkill
- test-masterSkill
- user-spec-planningSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
Read all files from .claude/skills/project-knowledge/references/ + CLAUDE.md + README.md
- Distinctive: line 68
Create audit report with issues by file
- Distinctive: line 69
Ask user which to fix → apply approved changes → verify consistency
- Distinctive: line 78
Check if changes affect other files (e.g., tech stack mentioned elsewhere) → update related files
- Distinctive: line 84
Read all project-knowledge files
- Distinctive: line 93
Check each file: exists? filled or template?
- Distinctive: line 105
When auditing, verify that CLAUDE.md and README.md stay minimal — detailed info belongs in project-knowledge.
- Distinctive: line 109
Add when project has a significant domain not covered by 4 core files (bot.md, vault.md, trading.md).
“Common” is measured: kept by at least 6 in 10 of the 9 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 Management
Maintain project documentation in .claude/skills/project-knowledge/references/. Audit for bloat, edit files, check consistency, track status.
For creating documentation from scratch (new project or empty docs), use project-planning skill.
Documentation Principles
These rules apply to ALL documentation operations (audit, edit, create).
Goal: open docs → understand the project without reading code. What is this project, how it's structured, what it does, where to find key things, how to deploy, where are logs. A high-level navigation guide.
Describe what exists, what it does, and why. High-level overview of components, how they work together, decisions made (why this stack, why this architecture), operational details (server addresses, deploy procedures, log locations, env var names). Skip what's obvious from reading the code itself — function signatures, implementation details, generic framework behavior.
No code blocks, no pseudocode. Link to source files: [auth.ts:45-67](src/auth/jwt.ts#L45-L67). Code in docs gets outdated and bloats context.
No duplication between files. Information lives in ONE place. Cross-reference: "See deployment.md for env vars."
patterns.md: only project-specific patterns. Universal coding standards live in ~/.claude/skills/code-writing/references/universal-patterns.md. Project patterns.md contains only what's unique to THIS project.
File Structure
4 core files in .claude/skills/project-knowledge/references/:
| File | Contains |
| project.md | Overview, audience, problem, 3-5 key features, out of scope |
| architecture.md | Tech stack (with WHY), project structure, dependencies, integrations, data model |
| patterns.md | Project-specific code patterns, git workflow, testing methods, business rules |
| deployment.md | Platform, env var names, CI/CD triggers, rollback, monitoring |
Optional:
- ux-guidelines.md — only for projects with significant UI
- {custom}.md — domain-specific (bot.md, vault.md, api.md)
Templates with placeholder structure are in ~/.claude/shared/templates/new-project/.claude/skills/project-knowledge/references/. The templates are self-documenting — each section has comments explaining what to write.
Workflows
1. Audit
Trigger: User asks to audit, check quality, or find bloat.
- Read all files from
.claude/skills/project-knowledge/references/+ CLAUDE.md + README.md - Flag issues:
- Code blocks → replace with file references
- Generic framework knowledge (belongs in official docs) → remove
- Function-level details → suggest moving to code comments
- Bloated sections (>3-5KB per file is suspicious) → condense
- Duplication across files → consolidate to one place
- Placeholder text (
[Project Name],TODO) → fill or remove - Inconsistent terminology → standardize
- Outdated info (files/functions that no longer exist) → update or remove
- Universal patterns in patterns.md → flag for removal (those belong in code-writing skill)
- Preserve operational details: server addresses, SSH configs, deploy commands, log paths, env var names, monitoring URLs. These belong in docs even if they seem "obvious" — they can't be read from code.
- Create audit report with issues by file
- Ask user which to fix → apply approved changes → verify consistency
2. Edit
Trigger: User asks to edit or update specific documentation.
- Identify target file/section (ask if unclear)
- Read current content
- Apply changes following documentation principles
- Check if changes affect other files (e.g., tech stack mentioned elsewhere) → update related files
3. Check Consistency
Trigger: User asks to verify terminology or check for mismatches.
- Read all project-knowledge files
- Extract: tech stack names/versions, service names, DB names, env var names, platform names
- Find inconsistencies (e.g., "PostgreSQL" vs "Postgres" vs "postgres")
- Report → ask user for correct terminology → standardize across all files
4. Show Status
Trigger: User asks about documentation completeness.
- Check each file: exists? filled or template? size? last modified?
- Classify: filled / partially filled / template / missing
- Show status report with recommendations
Root Project Files
CLAUDE.md and README.md are entry points, not documentation. Keep them minimal — they point to project-knowledge, not contain information.
CLAUDE.md (for AI agents): project name, one-line description, reference to project-knowledge skill, backlog path, default branch. Template: ~/.claude/shared/templates/new-project/CLAUDE.md.
README.md (for humans, in Russian): project title, purpose, folder structure overview, link to references/. Template: ~/.claude/shared/templates/new-project/README.md.
When auditing, verify that CLAUDE.md and README.md stay minimal — detailed info belongs in project-knowledge.
Custom Domain Files
Add when project has a significant domain not covered by 4 core files (bot.md, vault.md, trading.md).
Process: create in references/ → update project-knowledge SKILL.md to list it → update CLAUDE.md and README.md if they list doc files.
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.

