Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

docs-generate

/docs-generate

Generuje lub aktualizuje dokumentację z adnotacji w kodzie, docstringów i historii git: referencję API, README i CHANGELOG z conventional commits.

Repozytorium
claude-plugins ↗
Licencja
MIT
Ostatnia zmiana repozytorium
24.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Generuje lub aktualizuje dokumentację z adnotacji w kodzie, docstringów i historii git: referencję API, README i CHANGELOG z conventional commits.

Argumenty

/docs-generate [--api] [--readme] [--changelog]
Oryginalny opis (EN)

Generate or update docs from code annotations, docstrings, and git history. Use when wanting API reference, README from code, or CHANGELOG from conventional commits.

Jak działa

  1. When to Use This Skill
  2. Context
  3. Parameters
  4. Your task
  5. Agent Teams (Optional)
Sekcje z nagłówków SKILL.md, w oryginale · 95 linii, 499 słów
Podgląd SKILL.md
---
created: 2025-12-16
modified: 2026-07-04
reviewed: 2026-04-25
allowed-tools: Task, TodoWrite
args: "[--api] [--readme] [--changelog]"
argument-hint: "[--api] [--readme] [--changelog]"
description: Generate or update docs from code annotations, docstrings, and git history. Use when wanting API reference, README from code, or CHANGELOG from conventional commits.
name: docs-generate
agent: general-purpose
context: fork
---

## When to Use This Skill

| Use this skill when... | Use docs-sync instead when... |
|---|---|
| Generating fresh API reference docs from docstrings, type signatures, and module structure | Reconciling existing skill/command/agent catalogs with the current codebase |
| Updating README.md from code analysis (installation steps, feature list, badges) | Fixing wrong counts or stale entries in CLAUDE.md / README catalogs |
| Producing a CHANGELOG from conventional-commit history | Preparing a service teardown checklist (use docs-decommission) |
| Building documentation pages that will be served via GitHub Pages or similar | Converting Markdown to print-ready PDF (use docs-latex) |

## Context

- Project files: !`find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \)`
- Existing docs: !`find . -maxdepth 1 \( -name 'README.md' -o -type d -name 'docs' \)`
- Source files: !`find . -type f \( -name "*.py" -o -name "*.ts" -o -name "*.js" \)`
- Python files: !`find . -type f -name "*.py" -not -path '*/node_modules/*' -not -path '*/.claude/worktrees/*'`

## Parameters

- `--api`: Generate API reference documentation
- `--readme`: Update README.md based on code analysis
- `--changelog`: Update CHANGELOG.md from git history

## Your task

**Delegate this task to the `agents-plugin:docs` agent.**

Use the Agent tool with `subagent_type: agents-plugin:docs` to generate or update project documentation. Pass all the context gathered in [Context](#context) and the parsed parameters to the agent.

The docs agent should:

1. **Analyze codebase**:
   - Extract docstrings and type annotations
   - Identify public API surface
   - Map module structure and dependencies
   - Find usage examples in tests

2. **Generate requested documentation**:

   If `--api`:
   - Create API reference from docstrings
   - Document function signatures and types
   - Include usage examples
   - Generate module hierarchy

   If `--readme`:
   - Update project description
   - Document installation steps
   - Add usage examples
   - Update feature list
   - Ensure badges are current

   If `--changelog`:
   - Parse conventional commits
   - Group by version/release
   - Categorize by type (feat, fix, docs, etc.)
   - Include breaking changes prominently

   If no flags: Generate all documentation

3. **Follow documentation standards**:
   - Clear, concise language
   - Consistent formatting
   - Working code examples
   - Accurate cross-references

4. **Output summary**:
   - Files created/updated
   - Documentation coverage metrics
   - Suggested improvements

Provide the agent with:
- All context from [Context](#context)
- The parsed parameters
- Detected documentation framework (if any)

The agent has expertise in:
- Multi-language documentation extraction
- API reference generation
- README best practices
- Changelog automation from commits
- GitHub Pages integration

## Agent Teams (Optional)

For large projects, spawn teammates for parallel documentation generation:

| Teammate | Focus | Value |
|----------|-------|-------|
| API docs teammate | Extract and generate API reference | Parallel with README generation |
| README teammate | Update project README and guides | Parallel with API docs |
| Changelog teammate | Generate changelog from git history | Independent of other doc tasks |

This is optional — the skill works with a single agent for most projects.

Wersje

W bazie nie ma innych skilli o nazwie docs-generate.

Migawka bazy z 28.10.2026 · wersja paczki 2de750845bb1 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100changelog
    Generuje uporządkowany changelog z historii gita w formacie Keep a Changelog i konwencji conventional commits, także jako notatki do wydania.
  • 100changelog-writer
    Generuje changelogi, noty wydania i przewodniki migracji z historii git, parsując conventional commits.
  • 100update-docs
    Aktualizuje dokumentację po zmianie w kodzie, na przykład README, referencję API, changelog lub runbook, gdy ticket wymaga udokumentowania zmiany.
  • 100changelog
    Generuje przyjazne użytkownikowi changelogi z historii git na podstawie conventional commits, pisząc wpisy językiem korzyści w formacie Keep a Changelog.
  • 100code-documentation
    Generuje i poprawia dokumentację kodu, API, bibliotek i repozytoriów: README, referencję API, komentarze, dokumentację architektury, changelog i przewodniki dla programistów.
  • 96create-readme
    Generuje lub aktualizuje plik README.md albo CHANGELOG.md projektu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.