Index of every page on this site: llms.txt
All skills
Run it yourself

This skill should be used when the user asks to "update documentation", "document this change", "sync docs with code", "audit documentation", "restructure docs", "update README", "update CLAUDE.md", "update docs folder", "document API", "update postman collection", or "/docs". Supports scoped, comprehensive ("all"), and restructuring ("simplifier") modes.

Use this Skill: https://skilld.dev/gh/utkudarilmaz/claude-code-setup/docs

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈91 tokens for metadata: the name and description. ≈1.1k when used: this file. ≈1.5k more on demand in 2 files.

Description uses 4.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈364 characters, or 4.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Docs Skill

Purpose

Dispatch the docs agent to synchronize documentation with code changes. The agent updates README.md, CLAUDE.md, docs/* directory files, API docs, postman collections, and other documentation files to keep them accurate and current.

Plain and short is the default in every mode. The agent writes the fewest plain words that stay accurate, and cuts stale or padded text in the sections it touches. simplifier mode is about file structure, not writing style; plain writing needs no mode.

When to Invoke

Invoke this skill after:

  • Implementing new features or modifying existing ones
  • Modifying APIs, endpoints, or response schemas
  • Changing configuration options or environment variables
  • Restructuring files or directories
  • Updating dependencies
  • Any significant code modification
  • Explicit request to audit or restructure documentation

Invocation Modes

Default: /docs

Document current or recent changes. The agent identifies recently modified files and updates related documentation.

Task tool with subagent_type="core:docs"
prompt: "Review recent code changes and update all affected documentation.
Identify modified files, scan the docs/ directory for existing files, and update README.md, CLAUDE.md, docs/* files, and any other relevant documentation.
Write in plain simple English, one idea per sentence, and say each thing once.
In every section you touch, also cut text that is now wrong, repeated elsewhere, or padded. Keep every fact, command, and caveat.
Report what you cut."

Scoped: /docs <scope>

Document only the specified scope (file, module, feature).

Task tool with subagent_type="core:docs"
prompt: "Review and update documentation for: [scope]
Focus only on this area. Update all relevant documentation files including any matching files in the docs/ directory.
Write in plain simple English, one idea per sentence, and say each thing once.
In every section you touch, also cut text that is now wrong, repeated elsewhere, or padded. Keep every fact, command, and caveat.
Report what you cut."

Scope examples:

  • /docs src/auth - authentication module
  • /docs API - all API endpoints
  • /docs README - only README.md
  • /docs config - configuration options
  • /docs UserService - specific class or service

Comprehensive: /docs all

Perform a planned, modular documentation update covering every repository aspect.

Task tool with subagent_type="core:docs"
prompt: "Perform comprehensive documentation audit of all repository areas.
Create a TodoWrite plan with one item per documentation aspect, then process sequentially.
Comprehensive means every area is covered, not that every area gets long text. Write each one plain and short, and cut what is stale, repeated, or padded as you go.
Consult ${CLAUDE_SKILL_DIR}/references/comprehensive-mode.md for the full aspect checklist and execution flow."

For detailed aspect checklist and example plan, consult references/comprehensive-mode.md.

Simplifier: /docs simplifier

Perform documentation restructuring to transform monolithic files into a modular structure with proper cross-linking.

Task tool with subagent_type="core:docs"
prompt: "Perform documentation restructuring analysis and execution.
Analyze file sizes, identify files exceeding thresholds, propose modular split plan, and execute.
Consult ${CLAUDE_SKILL_DIR}/references/simplifier-mode.md for analysis checklist and target structure."

For detailed restructuring criteria and target structure, consult references/simplifier-mode.md.

Usage Examples

/docs                          # Document recent changes
/docs src/services/payment     # Document payment service only
/docs API                      # Update API documentation only
/docs all                      # Full project documentation audit
/docs simplifier               # Restructure large docs into modular files
/docs architecture             # Update architecture docs and .drawio diagrams
/docs postman                  # Validate and update postman_collection.json

Additional Resources

Reference Files

For detailed mode execution flows, consult:

  • references/comprehensive-mode.md - Full audit execution flow, aspect checklist, example TodoWrite plan
  • references/simplifier-mode.md - Restructuring analysis, thresholds, cross-linking templates, target structure

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    The skill is designed to automate documentation maintenance by auditing repository code and content. The primary security risk is indirect prompt injection, as the skill processes untrusted file content (like code comments or existing documentation) to generate updates, which could lead to instructions being inadvertently followed if they are embedded in the repository.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: LOW · No issues

Signed by skilld at 7ee2637. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 days ago

README badge

README badge for utkudarilmaz/claude-code-setup/docs