agentleFS
ronrefaelronrefael/sonde/.claude/skills/documentation/SKILL.md

documentation

Skill2 starsChanged 9 months agoMITView on GitHub

Documentation generation workflow covering API docs, architecture docs, README files, code comments, and technical writing.

58 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use refactoring, typescript and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pproencaSkill

    refactoring

    Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.

    Also in 8 projects that use this

  • MicrosoftSkill

    typescript

    Use this guide when working on TypeScript changes in the FAST monorepo — authoring Web Components, writing templates and styles, working with the observable/reactive system, and testing.

    Also in 5 projects that use this

  • VercelSkill

    oauth

    Configure OAuth providers (Google, Apple, Microsoft, Facebook, GitHub, etc.) to work with portless local dev URLs. Use when setting up OAuth redirect URIs, fixing "redirect_uri_mismatch" or "invalid redirect" errors, configuring sign-in providers for local development, or when a provider rejects .localhost subdomains. Triggers include "OAuth not working with portless", "redirect URI mismatch", "Google/Apple/Microsoft sign-in fails locally", "configure OAuth for local dev", or any task involving OAuth callback URLs with portless domains.

    Also in 3 projects that use this

  • MicrosoftSkill

    rust

    Use this guide when working on Rust changes in the FAST monorepo.

    Also in 3 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 3 projects that use this

  • Microsoft AzureSkill

    git-workflow

    Squad branching model: dev-first workflow with insiders preview channel

    Also in 10 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this workflow when:

    line 18
  2. Distinctive:

    Write getting started guide

    line 131

“Common” is measured: kept by at least 6 in 10 of the 52 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Workflow Bundle

Overview

Comprehensive documentation workflow for generating API documentation, architecture documentation, README files, code comments, and technical content from codebases.

When to Use This Workflow

Use this workflow when:

  • Creating project documentation
  • Generating API documentation
  • Writing architecture docs
  • Documenting code
  • Creating user guides
  • Maintaining wikis

Workflow Phases

Phase 1: Documentation Planning

Skills to Invoke

  • docs-architect - Documentation architecture
  • documentation-templates - Documentation templates

Actions

  1. Identify documentation needs
  2. Choose documentation tools
  3. Plan documentation structure
  4. Define style guidelines
  5. Set up documentation site

Copy-Paste Prompts

Use @docs-architect to plan documentation structure
Use @documentation-templates to set up documentation

Phase 2: API Documentation

Skills to Invoke

  • api-documenter - API documentation
  • api-documentation-generator - Auto-generation
  • openapi-spec-generation - OpenAPI specs

Actions

  1. Extract API endpoints
  2. Generate OpenAPI specs
  3. Create API reference
  4. Add usage examples
  5. Set up auto-generation

Copy-Paste Prompts

Use @api-documenter to generate API documentation
Use @openapi-spec-generation to create OpenAPI specs

Phase 3: Architecture Documentation

Skills to Invoke

  • c4-architecture-c4-architecture - C4 architecture
  • c4-context - Context diagrams
  • c4-container - Container diagrams
  • c4-component - Component diagrams
  • c4-code - Code diagrams
  • mermaid-expert - Mermaid diagrams

Actions

  1. Create C4 diagrams
  2. Document architecture
  3. Generate sequence diagrams
  4. Document data flows
  5. Create deployment docs

Copy-Paste Prompts

Use @c4-architecture-c4-architecture to create C4 diagrams
Use @mermaid-expert to create architecture diagrams

Phase 4: Code Documentation

Skills to Invoke

  • code-documentation-code-explain - Code explanation
  • code-documentation-doc-generate - Doc generation
  • documentation-generation-doc-generate - Auto-generation

Actions

  1. Extract code comments
  2. Generate JSDoc/TSDoc
  3. Create type documentation
  4. Document functions
  5. Add usage examples

Copy-Paste Prompts

Use @code-documentation-code-explain to explain code
Use @code-documentation-doc-generate to generate docs

Phase 5: README and Getting Started

Skills to Invoke

  • readme - README generation
  • environment-setup-guide - Setup guides
  • tutorial-engineer - Tutorial creation

Actions

  1. Create README
  2. Write getting started guide
  3. Document installation
  4. Add usage examples
  5. Create troubleshooting guide

Copy-Paste Prompts

Use @readme to create project README
Use @tutorial-engineer to create tutorials

Phase 6: Wiki and Knowledge Base

Skills to Invoke

  • wiki-architect - Wiki architecture
  • wiki-page-writer - Wiki pages
  • wiki-onboarding - Onboarding docs
  • wiki-qa - Wiki Q&A
  • wiki-researcher - Wiki research
  • wiki-vitepress - VitePress wiki

Actions

  1. Design wiki structure
  2. Create wiki pages
  3. Write onboarding guides
  4. Document processes
  5. Set up wiki site

Copy-Paste Prompts

Use @wiki-architect to design wiki structure
Use @wiki-page-writer to create wiki pages
Use @wiki-onboarding to create onboarding docs

Phase 7: Changelog and Release Notes

Skills to Invoke

  • changelog-automation - Changelog generation
  • wiki-changelog - Changelog from git

Actions

  1. Extract commit history
  2. Categorize changes
  3. Generate changelog
  4. Create release notes
  5. Publish updates

Copy-Paste Prompts

Use @changelog-automation to generate changelog
Use @wiki-changelog to create release notes

Phase 8: Documentation Maintenance

Skills to Invoke

  • doc-coauthoring - Collaborative writing
  • reference-builder - Reference docs

Actions

  1. Review documentation
  2. Update outdated content
  3. Fix broken links
  4. Add new features
  5. Gather feedback

Copy-Paste Prompts

Use @doc-coauthoring to collaborate on docs

Documentation Types

Code-Level

  • JSDoc/TSDoc comments
  • Function documentation
  • Type definitions
  • Example code

API Documentation

  • Endpoint reference
  • Request/response schemas
  • Authentication guides
  • SDK documentation

Architecture Documentation

  • System overview
  • Component diagrams
  • Data flow diagrams
  • Deployment architecture

User Documentation

  • Getting started guides
  • User manuals
  • Tutorials
  • FAQs

Process Documentation

  • Runbooks
  • Onboarding guides
  • SOPs
  • Decision records

Quality Gates

  • All APIs documented
  • Architecture diagrams current
  • README up to date
  • Code comments helpful
  • Examples working
  • Links valid

Related Workflow Bundles

  • development - Development workflow
  • testing-qa - Documentation testing
  • ai-ml - AI documentation

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.