claude-pilot: Skill for Claude Code

.claude/skills/documentation-best-practices/SKILL.md

documentation-best-practices is a skill for Claude Code from changoo89/claude-pilot. It costs 30 tokens per session (1,390 once invoked), scanned B, original, MIT.

A set of standards for writing and reviewing Claude Code documentation, including instruction files, commands, skills, agents, and guides. It covers recommended file sizes, metadata, and when to split detailed material into reference files.

In plain words
What is it for?
It is for creating, reviewing, or reorganizing Claude Code documentation and deciding when content belongs in a separate reference file.
Why use it?
It helps keep instructions readable and easy for tools and people to find, while preventing large files from becoming difficult to maintain.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is changoo89/claude-pilot's own configuration. It tells Claude Code how to work on claude-pilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-pilot configures →

Part of the claude-pilot plugin — 32 skills, 11 commands, 14 agents, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to changoo89/claude-pilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/changoo89/claude-pilot/main/.claude/skills/documentation-best-practices/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/changoo89/claude-pilot

Made for: Claude Code.

Or install claude-pilot, the plugin that ships this one along with the rest of its 32 skills, 11 commands, 14 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentation-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/changoo89/claude-pilot/documentation-best-practices/github.svg)](https://agentmods.dev/skills/changoo89/claude-pilot/documentation-best-practices)
Your own site
<a href="https://agentmods.dev/skills/changoo89/claude-pilot/documentation-best-practices"><img src="https://agentmods.dev/badge/skills/changoo89/claude-pilot/documentation-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for documentation-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/changoo89/claude-pilot/documentation-best-practices"><img src="https://agentmods.dev/badge/skills/changoo89/claude-pilot/documentation-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,390 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.01390
Opus 5 $0.00015 $0.00695
Sonnet 5 $0.00006 $0.00278
Haiku 4.5 $0.00003 $0.00139

Measured 8d ago against content hash 5da039a2472d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

documentation-best-practices scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- [ ] **Stale skill counts**: README.md lists wrong number of skills (use `ls .claude/skills | wc -l`)
.claude/skills/documentation-best-practices/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SKILL: Documentation Best Practices

Purpose: Apply Claude Code documentation standards based on Superpowers reference Target: Anyone creating CLAUDE.md, commands, skills, guides, or agents


Quick Start

When to Use This Skill

  • Creating new documentation (CLAUDE.md, command, skill, agent)
  • Reviewing existing documentation for quality
  • Restructuring documentation to follow best practices

Quick Reference

File Type Target Max Action When Exceeded
SKILL.md 150 200 (official: 500) >300 → Create REFERENCE.md
Agent 250 300 >450 → Simplify required
Command 150 200 >300 → Extract to guide
CONTEXT.md 150 200 >300 → Simplify required
REFERENCE.md 250 300 Split into multiple files

Note: Claude Code officially recommends ≤500 lines for SKILL.md. This project uses a stricter 200-line internal standard for token optimization and context efficiency.

What This Skill Covers

In Scope

  • File size targets based on Superpowers standards
  • Frontmatter standards for auto-discovery
  • SKILL.md/REFERENCE.md separation pattern
  • Agent model allocation

Out of Scope

  • Test writing → @.claude/skills/tdd/SKILL.md
  • Code quality → @.claude/skills/vibe-coding/SKILL.md
  • Git workflow → @.claude/skills/git-master/SKILL.md

Core Concepts

Superpowers Standard

"The context window is a public good. Skills share the context window with everything else Claude needs."

Baseline: SKILL.md <600 words (~150-200 lines)

Frontmatter Standards

Skills (required):

---
name: {skill-name}
description: {trigger-rich description for semantic matching}
---

Commands (auto-discovery):

---
description: {action-rich description for slash command discovery}
---

Agents (required):

---
name: {agent-name}
description: {clear purpose statement}
model: {haiku|sonnet|opus}
tools: [tool list]
skills: [skill list]
---

Read the full file on GitHub · 159 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 159 lines · 30 tokens per session scan B 5da039a2472d

Subscribe to this mod's changes

documentation-best-practices is a skill published in the GitHub repository changoo89/claude-pilot (20 stars, last pushed 7mo ago), licensed MIT. It adds 30 tokens to every session and 1,390 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

continuous-learning-v2

Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

sangrokjung/claude-forge · 33 tokens

ai-ml-development

AI and machine learning development with PyTorch, TensorFlow, and LLM integration. Use when building ML models, training pipelines, fine-tuning LLMs, or implementing AI features.

travisjneuman/.claude · 43 tokens

case-interview-practice

Interactive consulting case interview practice with structured frameworks, feedback mechanisms, and progressive difficulty. Use when preparing for management consulting interviews, case competitions, or business problem-solving exercises.

travisjneuman/.claude · 39 tokens

i18n-localization

Internationalization and localization for global applications. Use when adding multi-language support, handling regional formats, or preparing apps for global markets.

travisjneuman/.claude · 32 tokens

electron-desktop

Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.

travisjneuman/.claude · 38 tokens

finance

Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and corporate finance decisions. Use when building financial models, analyzing statements, or making investment decisions.

travisjneuman/.claude · 48 tokens