agentleFS
aws-samplesaws-samples/sample-claude-code-agent-team/skills/documentation/SKILL.md

documentation

Skill65 starsChanged 6 months agoMIT-0View on GitHub

Technical writing patterns for READMEs, runbooks, and architecture docs, with accuracy verification. Use when writing documentation, creating runbooks, or documenting system architecture.

  • Installs packages

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use refactoring, typescript and 9 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

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 10 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use these patterns when writing documentation, creating runbooks, or documenting system architecture.

    line 8
  2. Distinctive:

    Use OpenAPI/Swagger. Minimum per endpoint:

    line 57
  3. Very specific:

    When documenting within the spec-driven workflow, these artifacts have defined formats (see spec-workflow skill):

    line 113
  4. Distinctive:

    When writing documentation for a project that uses the spec workflow, link to relevant specs rather than duplicating their content.

    line 124
  5. Very specific:

    Use the gh CLI (gh issue create) to create issues for documentation that needs future updates (e.g., after API changes)

    line 132
  6. Distinctive:

    Use concrete examples over abstract explanations

    line 137
  7. Distinctive:

    Keep it scannable (headers, bullets, tables)

    line 138
  8. Distinctive:

    Update docs when code changes (or automate it)

    line 139
  9. Very specific:

    Use the deploy-on-aws diagram skill for architecture diagrams — don't describe what a diagram can show

    line 141
  10. Very specific:

    Use WebFetch (or your platform's equivalent) to load external specs or references rather than copy-pasting content

    line 142

“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

Use these patterns when writing documentation, creating runbooks, or documenting system architecture.

MCP Servers & Plugins

ResourceWhen to Use
deploy-on-aws diagram skillGenerate architecture diagrams for system documentation and runbooks
deploy-on-aws:awsknowledgeReference AWS service docs when writing architecture docs or runbooks — use read_documentation, search_documentation, and recommend to link to official docs rather than paraphrasing
aws-serverless pluginUse get_lambda_guidance and get_serverless_templates to document serverless patterns, Lambda configurations, and SAM deployment steps
databases-on-aws pluginUse dsql_search_documentation and dsql_recommend to document DSQL schema design, query patterns, and migration procedures
context7 MCPLook up library/framework docs to verify technical accuracy in README examples
pr-review-toolkit:comment-analyzer pluginAfter writing any documentation — verifies accuracy, staleness risk, and maintainability
gh CLILink to issues, PRs, and discussions from documentation; create issues for documentation gaps (gh issue create)

README Structure

# Project Name

One-line description of what this does.

## Quick Start

\`\`\`bash
npm install
npm start
\`\`\`

## Configuration

| Variable | Description | Default |
|----------|-------------|---------|
| PORT | Server port | 3000 |

## Usage

[Examples of common operations]

## Development

[How to set up dev environment, run tests]

## License

MIT

API Documentation

Use OpenAPI/Swagger. Minimum per endpoint:

  • HTTP method and path
  • Request parameters (path, query, body)
  • Response codes and schemas
  • Authentication requirements
  • Example request/response

Runbook Template

# [Service Name] Runbook

## Overview
What this service does, who owns it.

## Architecture
[Use `deploy-on-aws` diagram skill to generate architecture diagram]

## Health Checks
- Endpoint: `GET /health`
- Expected: 200 OK

## Common Issues

### Issue: High latency
**Symptoms**: Response times > 500ms
**Diagnosis**: Check DB connections, cache hit rate
**Resolution**: Scale horizontally, clear cache

## Escalation
- L1: On-call engineer
- L2: Service owner
- L3: Platform team

Architecture Decision Record (ADR)

# ADR-001: Use PostgreSQL for user data

## Status
Accepted

## Context
Need persistent storage for user accounts.

## Decision
Use PostgreSQL on RDS.

## Consequences
- Pro: ACID compliance, familiar tooling
- Con: Operational overhead vs DynamoDB

Spec Artifact Documentation

When documenting within the spec-driven workflow, these artifacts have defined formats (see spec-workflow skill):

ArtifactOwnerPurpose
spec.mdfullstack-agentDesign decisions, constraints, alternatives considered
design.mdfullstack-agentArchitecture, repo structure, infrastructure design
tasks.mdfullstack-agent (authored), all teammates (updated)Parallelized task groups with completion notes
review.mdreview-agentSeverity-rated findings with PASS/FAIL verdict
sa-review.mdsa-agentWell-Architected findings by pillar, cost estimates
decisions.mdany agent via fullstack-agentMid-flight decisions to prevent re-litigation

When writing documentation for a project that uses the spec workflow, link to relevant specs rather than duplicating their content.

Agent Integration

  • devops-agent owns READMEs, runbooks, and architecture docs — keeps them next to the code they describe
  • coding-agent writes inline documentation (function/class/module docs) during implementation
  • Both agents delegate to pr-review-toolkit:comment-analyzer after writing docs to verify accuracy
  • sa-agent produces architecture review documentation in Well-Architected pillar format, claims and tracks tasks like other teammates
  • Use the gh CLI (gh issue create) to create issues for documentation that needs future updates (e.g., after API changes)

Writing Tips

  • Lead with the "what" and "why"
  • Use concrete examples over abstract explanations
  • Keep it scannable (headers, bullets, tables)
  • Update docs when code changes (or automate it)
  • Docs are concise and actionable — no filler
  • Use the deploy-on-aws diagram skill for architecture diagrams — don't describe what a diagram can show
  • Use WebFetch (or your platform's equivalent) to load external specs or references rather than copy-pasting content

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.