Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill should be used when the user asks to "generate repository documentation", "create a README", "document API", "write architecture docs", "add CONTRIBUTING guide", "update repo docs", "document codebase", or mentions repository documentation, codebase analysis, or cross-repository integration documentation.
.claude/skills/aiskillstore-repo-docs/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | 138% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 158% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 48% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 149% | 0% |
Generate comprehensive, self-contained documentation for code repositories with awareness of cross-repository integration points and dependencies.
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.
Trigger this skill when:
Before generating documentation, analyze the codebase to understand:
Glob to discover key files: README.md, package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, etc.src/, lib/, app/, internal/, etc.).env.example, docker/, k8s/, etc.)docs/, *.md files)Grep for common patterns).gitmodules, workspace declarations, or subpackage referencesFor each document type, follow the structured templates in examples/. Templates contain:
Key Principle: Every generated document must include an "Integrations" or "Related Repositories" section that explicitly documents:
When updating existing documentation:
ReadEdit to update specific sectionsThe primary entry point for the repository. Use examples/README-template.md as a starting point.
Required sections:
Document public APIs, functions, classes, and endpoints. Use examples/API-template.md.
Required sections:
Guide for contributors. Use examples/CONTRIBUTING-template.md.
Required sections:
High-level design and integration documentation. Use examples/ARCHITECTURE-template.md.
Required sections:
Dedicated document for cross-repository relationships. Use examples/INTEGRATIONS-template.md.
Sections:
When scanning for integration points, search for:
| Pattern | Indicates | |---------|-----------| | from @org/ | Internal package/repo imports (JS/TS) | | import.*internal | Internal imports (Python/Java) | | github.com/org/ | Go module references to other repos | | client.*[Aa]pi | API clients to other services | | restTemplate | REST client usage (Java) | | fetch( or axios | HTTP calls to external services | | messaging: | Spring Cloud/Sidecar integrations | | pom.xml <artifactId> | Maven dependencies |
Use scripts/find-integration-points.py to automate discovery.
user-service repo for authentication"event-bus via Kafka"Use scripts in scripts/ for automation:
find-integration-points.py - Scan codebase for references to other repositoriesanalyze-repo-structure.py - Generate summary of repository structure and dependenciesExecute scripts without reading into context:
bashpython skills/repo-docs/scripts/find-integration-points.py /path/to/repo
Consult references/ for detailed guidance:
references/best-practices.md - Repository documentation standardsreferences/integration-patterns.md - Common integration patterns and how to document themreferences/tech-detection.md - Technology detection patternsFor detailed guidance beyond this core workflow:
references/best-practices.md - Industry standards for repository documentationreferences/integration-patterns.md - Documenting microservices, monorepos, and distributed systemsreferences/tech-detection.md - Patterns for identifying technologies and frameworksTemplates in examples/ provide starting points:
examples/README-template.md - Standard README structure with integrations sectionexamples/API-template.md - API documentation templateexamples/CONTRIBUTING-template.md - Contributor guide templateexamples/ARCHITECTURE-template.md - Architecture documentation templateexamples/INTEGRATIONS-template.md - Dedicated integrations documentUtilities in scripts/:
scripts/find-integration-points.py - Automated integration discoveryscripts/analyze-repo-structure.py - Repository structure analysisBefore finalizing documentation, verify:
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-03 | pass→pass | 18,442 | 16,594 | -10% | 1 | 1 | 0% | 3,340 | 5,049 | +51% | 0 | 0 | — |
case-04 | fail→fail | 14,577 | 10,695 | -27% | 1 | 1 | 0% | 2,305 | 3,740 | +62% | 0 | 0 | — |
case-13 | fail→pass | 12,472 | 5,344 | -57% | 1 | 1 | 0% | 1,204 | 2,867 | +138% | 0 | 0 | — |
case-01 | fail→fail | 21,933 | 14,241 | -35% | 1 | 1 | 0% | 4,092 | 2,229 | -46% | 0 | 0 | — |
case-02 | fail→fail | 32,767 | 14,569 | -56% | 1 | 1 | 0% | 5,075 | 2,271 | -55% | 0 | 0 | — |
case-05 | fail→fail | 9,547 | 19,149 | +101% | 1 | 1 | 0% | 1,412 | 5,055 | +258% | 0 | 0 | — |
case-06 | fail→pass | 12,968 | 7,130 | -45% | 1 | 1 | 0% | 1,141 | 2,944 | +158% | 0 | 0 | — |
case-07 | fail→pass | 23,861 | 9,155 | -62% | 1 | 1 | 0% | 3,584 | 2,639 | -26% | 0 | 0 | — |
case-08 | pass→pass | 18,894 | 10,760 | -43% | 1 | 1 | 0% | 2,303 | 2,457 | +7% | 0 | 0 | — |
case-09 | fail→pass | 12,262 | 10,693 | -13% | 1 | 1 | 0% | 1,994 | 2,950 | +48% | 0 | 0 | — |
case-10 | pass→pass | 13,079 | 12,535 | -4% | 1 | 1 | 0% | 2,418 | 3,320 | +37% | 0 | 0 | — |
case-11 | pass→pass | 17,249 | 12,238 | -29% | 1 | 1 | 0% | 1,996 | 3,139 | +57% | 0 | 0 | — |
case-12 | pass→pass | 9,921 | 15,092 | +52% | 1 | 1 | 0% | 1,676 | 3,419 | +104% | 0 | 0 | — |
case-14 | pass→pass | 18,471 | 12,237 | -34% | 1 | 1 | 0% | 1,797 | 3,097 | +72% | 0 | 0 | — |
case-15 | fail→pass | 22,455 | 14,502 | -35% | 1 | 1 | 0% | 1,465 | 3,650 | +149% | 0 | 0 | — |
case-16 | fail→pass | 15,791 | 2,483 | -84% | 1 | 1 | 0% | 1,559 | 2,286 | +47% | 0 | 0 | — |
case-17 | fail→pass | 21,507 | 11,950 | -44% | 1 | 1 | 0% | 2,914 | 3,142 | +8% | 0 | 0 | — |
case-18 | pass→pass | 12,531 | 4,418 | -65% | 1 | 1 | 0% | 1,352 | 2,571 | +90% | 0 | 0 | — |
case-19 | pass→fail | 11,777 | 3,256 | -72% | 1 | 1 | 0% | 1,714 | 2,374 | +39% | 0 | 0 | — |
case-20 | pass→fail | 5,714 | 7,990 | +40% | 1 | 1 | 0% | 1,134 | 2,188 | +93% | 0 | 0 | — |
case-21 | pass→pass | 12,518 | 6,637 | -47% | 1 | 1 | 0% | 1,111 | 3,031 | +173% | 0 | 0 | — |
case-22 | pass→pass | 19,541 | 12,886 | -34% | 1 | 1 | 0% | 2,687 | 3,420 | +27% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 19 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +23 percentage points is the difference between those two pass rates over the 19 comparable cases. 3 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.