repo-docslisted
Install: claude install-skill aiskillstore/marketplace
# Repository Documentation
Generate comprehensive, self-contained documentation for code repositories with awareness of cross-repository integration points and dependencies.
## Purpose
Create and maintain repository documentation that includes README files, API documentation, contributing guides, and architecture documents. Each generated document is self-contained while explicitly documenting how the repository interacts with other repositories, services, and external dependencies.
## When to Use
Trigger this skill when:
- User asks to "generate documentation for this repo"
- User mentions "create/update README", "document API", "write architecture docs"
- User asks about "how this repo connects to other repos"
- User requests "CONTRIBUTING guide" or "setup documentation"
- User wants to document integration points with other repositories
## Documentation Workflow
### Phase 1: Repository Analysis
Before generating documentation, analyze the codebase to understand:
1. **Repository Structure**
- Use `Glob` to discover key files: `README.md`, `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `pom.xml`, etc.
- Identify main source directories (`src/`, `lib/`, `app/`, `internal/`, etc.)
- Find configuration files (`.env.example`, `docker/`, `k8s/`, etc.)
- Locate existing documentation (`docs/`, `*.md` files)
2. **Cross-Repository Integration Discovery**
- Search for imports/requires referencing other repos (use `Grep` for common patterns)
- Lo