plugins/ce/skills/documentation/SKILL.md
Create or improve documentation by routing to the right approach. Handles code comments (inline audit/cleanup), system docs (READMEs, API docs, architecture), and templates. Use when writing, auditing, or improving any form of documentation.
npx skillsauth add rileyhilliard/claude-essentials documentationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Route documentation tasks to the right reference and execution path.
Determine the task type from arguments and context, then load the matching reference:
| Signal | Task type | Load | Execute with |
|--------|-----------|------|--------------|
| Source file path (.ts, .js, .py, .go, .rs, etc.) | Code comments | references/code-comments.md | @ce:haiku agent |
| Mentions "comments", "inline docs", "code comments" | Code comments | references/code-comments.md | @ce:haiku agent |
| "Clean up comments" in a folder or unstaged changes | Code comments | references/code-comments.md | @ce:haiku agent |
| Markdown file path (.md) | System docs | references/systems.md | General subagent |
| Mentions README, API docs, architecture, /docs/ | System docs | references/systems.md | General subagent |
| Multi-file scope or new documentation | System docs | references/systems.md | General subagent |
| Ambiguous | - | Ask user to clarify scope | - |
@ce:haiku)Pass these instructions when delegating:
git status -s or scope to the folder specifiedScope: only inline code comments. If asked about markdown/README/docs content, switch to system docs path.
Pass these instructions when delegating:
API Documentation:
{resource-name}.md in /docs/api/README Updates:
/docsArchitecture Documentation:
Skill(ce:visualizing-with-mermaid) for flows/docs/architecture/For writing style and tone, use Skill(ce:writer) with The Engineer persona.
| Doc Type | Location | Filename Pattern |
|----------|----------|------------------|
| Project overview | Root | README.md |
| API reference | /docs/api/ | {resource-name}.md |
| Architecture | /docs/architecture/ | {topic}.md |
| Guides/How-to | /docs/guides/ | {topic}.md |
| Input | Routes to |
|-------|-----------|
| /documentation src/utils/auth.ts | Code comments |
| /documentation clean up comments in unstaged changes | Code comments |
| /documentation README | System docs |
| /documentation API docs for /users endpoint | System docs |
| /documentation architecture overview | System docs |
development
Selects and applies professional journalistic story structures (WSJ Formula, Inverted Pyramid, Hourglass, Tick-Tock, etc.) based on the content being written. Use when writing articles, blog posts, features, essays, long-form content, news stories, trend pieces, investigative reports, profiles, or any narrative prose longer than a few paragraphs. Also use when the user asks for help structuring a piece, choosing a story framework, organizing a draft, outlining an article, or wants to know which article format fits their content. Trigger on requests like "help me structure this," "what format should I use," "write a feature about," "draft a blog post on," or any mention of story structure, article architecture, or narrative frameworks. Complements the writer skill (which handles tone and anti-AI rhetoric) by providing the structural blueprint.
testing
Writing style and tone guide for human-sounding content. Use when writing documentation, READMEs, commit messages, PR descriptions, blog posts, LinkedIn posts, social media content, or any user-facing content.
data-ai
Create implementation plans with tasks grouped by subsystem. Related tasks share agent context; groups parallelize across subsystems.
development
Debugging framework that finds root causes before proposing fixes. Use when investigating bugs, errors, unexpected behavior, failed tests, or when previous fixes haven't worked.