Agent skill · DevOps & Cloud

document-service

This skill should be used when the user asks to \"analyze this codebase\", \"document this service\", \"generate technical docs\", \"I inherited this code\", \"help me understand this system\", \"create docs for this project\", \"what does this system look like\", \"onboard me to this codebase\", \"this codebase has no docs\", \"visualize the architecture from code\", or any explicit request to produce structured documentation or architecture diagrams from an existing codebase. Specifically optimized for AWS workloads (CDK, CloudFormation, Terraform) with source-of-truth citations. Do NOT acti

Amazon Web Services - Labs12,649★ · +18/wk · 2 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add awslabs/agent-plugins --skill document-service --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 17 KB
Bundled scripts: none
Path: plugins/codebase-documentor-for-aws/skills/document-service/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 850
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Document Service Analyze codebases to produce structured technical documentation and architecture diagrams with source-of-truth citations. Every finding links back to the exact file and line it was derived from. Optimized for AWS workloads but works with any codebase. ## Core Principles - **Explain WHY, not just WHAT.** The reader inherited this codebase and has zero context. Listing components is not enough — explain why the architecture is shaped this way. Search for code comments, TODOs, and commit messages that reveal design rationale. When no rationale exists, mark it `[RATIONALE UNKNOWN]`. - **Trace end-to-end flows.** For every API endpoint or message handler, trace the complete request path from entry to response. Note every intermediate step, transformation, timeout, and failure point. This is the "if it breaks at 3am, where do I look?" analysis. - **Deep-dive complex logic.** Identify the most complex or domain-specific code paths (ML pipelines, business rule engines, state machines, custom algorithms). Document HOW they work at the implementation level — the algorithm, key parameters, edge cases, and where production bugs will occur. Surface-level summaries of complex

What's inside
Steps it walks through
  1. Core Principles
  2. Workflow
  3. Step 1: Gather Context
  4. Step 2: Build File Tree and Detect Project Type
  5. Step 3: Generate Documentation Outline
  6. Step 4: Analyze
  7. Step 5: Generate Diagrams
  8. Step 6: Assemble and Deliver
  9. Output Files
  10. Defaults
  11. Error Handling
  12. MCP Servers
  13. awsknowledge
  14. awsiac
Ships with 8 files
  • references/business-context.md
  • references/citation-format.md
  • references/discovery-patterns.md
  • references/error-scenarios.md
  • references/exclusion-patterns.md
  • references/framework-patterns.md
  • references/recursive-analysis.md
  • references/technical-doc-template.md
More from agent-plugins
All skills →
About this skill
What does the document-service skill do?

This skill should be used when the user asks to \"analyze this codebase\", \"document this service\", \"generate technical docs\", \"I inherited this code\", \"help me understand this system\", \"create docs for this project\", \"what does this system look like\", \"onboard me to this codebase\", \"this codebase has no docs\", \"visualize the architecture from code\", or any explicit request to produce structured documentation or architecture diagrams from an existing codebase. Specifically optimized for AWS workloads (CDK, CloudFormation, Terraform) with source-of-truth citations. Do NOT acti

How do I install it?

Run `npx skills add awslabs/agent-plugins --skill document-service --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From awslabs/agent-plugins, a repository with 850 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going