# Document Service

Should be used when the user asks to \"analyze this codebase\", \"document this...

- Repository: https://github.com/awslabs/agent-plugins (933 stars)
- Category: DevOps
- License: Apache-2.0
- Last updated: 2026-10-15
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add awslabs/agent-plugins --skill document-service -g -a claude-code -y`
Codex: `npx skills add awslabs/agent-plugins --skill document-service -g -a codex -y`
Cursor: `npx skills add awslabs/agent-plugins --skill document-service -g -a cursor -y`
Gemini CLI: `npx skills add awslabs/agent-plugins --skill document-service -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add awslabs/agent-plugins`

## Description

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 activate for code reviews, single-function explanations, generating new code, or general coding tasks.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/awslabs/agent-plugins/blob/HEAD/plugins/codebase-documentor-for-aws/skills/document-service/SKILL.md
