agentshekel/agentic-workflow/documentation-writing

Claude Code and agent skill by agentshekel/agentic-workflow

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

[METHODOLOGY] Project documentation maintenance in .claude/skills/project-knowledge/ (audit, edit, consistency, status tracking). Preloaded by dev-technical-writer agent.

Install

npx vskill@latest install agentshekel/agentic-workflow/documentation-writing

SKILL.md

The same SKILL.md was published earlier as agentshekel/agentic-workflow/documentation-writing.

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/:

FileContains
project.mdOverview, audience, problem, 3-5 key features, out of scope
architecture.mdTech stack (with WHY), project structure, dependencies, integrations, data model
patterns.mdProject-specific code patterns, git workflow, testing methods, business rules
deployment.mdPlatform, 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

Inside an engagement the trigger is your task brief, not a user message, and you cannot reach the user. Each step below that asks the user has its in-engagement rule next to it; the rest of the engine path follows engagement-contract §"Rule, do not stall": decide, record the ruling with its evidence in your report, keep going. Outside an engagement, ask the user as written.

1. Audit

Trigger: User asks to audit, check quality, or find bloat.

  1. Read all files from .claude/skills/project-knowledge/references/ + CLAUDE.md + README.md
  2. 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)
  1. 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.
  2. Create audit report with issues by file
  3. Outside an engagement: ask the user which to fix → apply approved changes → verify consistency.

Inside one: apply the fixes the brief and criteria.md cover, then verify consistency. Remove content only when the brief asks for it or the repository proves it false (code, config, manifests or tests show the file, symbol, service or setting is gone or renamed); anything else you would cut, and every issue outside the brief's scope, goes to your report, unapplied (and into docs-diff.md as flagged-for-followup when you write one).

2. Edit

Trigger: User asks to edit or update specific documentation.

  1. Identify target file/section. If unclear: outside an engagement ask; inside one pick the file

that owns the fact per §File Structure and record that ruling

  1. Read current content
  2. Apply changes following documentation principles
  3. 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.

  1. Read all project-knowledge files
  2. Extract: tech stack names/versions, service names, DB names, env var names, platform names
  3. Find inconsistencies (e.g., "PostgreSQL" vs "Postgres" vs "postgres")
  4. Report → settle the correct term → standardize across all files. Outside an engagement, ask

the user for it. Inside one, take it from evidence, in this order: the name the code and config use (package, service, env var), then the approved spec or brief in {ENG}/specs/, then architecture.md. Record each choice with its evidence. When the evidence splits (both names live in code), change nothing for that term and list it in your report as unresolved.

4. Show Status

Trigger: User asks about documentation completeness.

  1. Check each file: exists? filled or template? size? last modified?
  2. Classify: filled / partially filled / template / missing
  3. 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.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/agentshekel/agentic-workflow/documentation-writing/badge)](https://verified-skill.com/skills/agentshekel/agentic-workflow/documentation-writing)

Something wrong with this skill or its page? Tell us.