Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

docs-audit

/docs-audit

Porównuje dokumentację z rzeczywistą implementacją i wskazuje brakujące, zmienione lub błędne API oraz przykłady, z proponowanymi poprawkami.

Licencja
MIT
Ostatnia zmiana repozytorium
28.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 28.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

Porównuje dokumentację z rzeczywistą implementacją i wskazuje brakujące, zmienione lub błędne API oraz przykłady, z proponowanymi poprawkami.

Wyzwalacze z opisu

apply
Oryginalny opis (EN)

Audit documentation against the real implementation and report drift. Inventories README files, docs folders and public exports, then flags missing APIs, phantom or renamed APIs, contract mismatches, broken snippets and config drift, with proposed unified diffs. Report-only unless the arguments contain "apply". Use when docs feel stale, before a release, or when onboarding exposes wrong examples.

Jak działa

  1. Arguments
  2. Rules
  3. Steps
  4. Output
Sekcje z nagłówków SKILL.md, w oryginale · 60 linii, 489 słów
Podgląd SKILL.md
---
name: docs-audit
description: Audit documentation against the real implementation and report drift. Inventories README files, docs folders and public exports, then flags missing APIs, phantom or renamed APIs, contract mismatches, broken snippets and config drift, with proposed unified diffs. Report-only unless the arguments contain "apply". Use when docs feel stale, before a release, or when onboarding exposes wrong examples.
---

# Documentation drift audit

You are a Staff Technical Writer and Systems Architect auditing documentation against actual implementation.

## Arguments

- `apply`: write the proposed documentation changes after the report, then re-verify examples.
- `apply <path>`: same, limited to that documentation path.
- a path without `apply`: scope the audit to that path, report only.
- empty: whole repository, report only.

## Rules

1. **Source code is the source of truth.** Never trust docs over implementation. Verify signatures, defaults, return shapes, and side effects in code.
2. **No phantom APIs.** Document only APIs, methods, parameters, config keys, and classes that exist in the current public export surface. Flag documented items that were removed or renamed.
3. **Contract honesty.** Highlight mismatches where docs promise behaviour the code does not deliver: thread-safety, synchronous execution, automatic retries, idempotency, ordering.
4. **Executable snippets.** Every snippet in `README.md`, `docs/`, `doc/`, `wiki/`, or inline examples must be syntactically valid and match current public signatures. No invented imports, no deprecated constructors.
5. **Report-only by default.** Writing documentation is a human-content action; only `apply` mutates files.
6. Under 15 lines in chat; detail in the report file.

## Steps

### 1. Inventory and public surface

1. Catalog documentation sources: `README.md`, `CONTRIBUTING.md`, `ARCHITECTURE.md`, `CHANGELOG.md`, `SECURITY.md`, and the `docs/`, `doc/`, `wiki/` folders.
2. Extract the public surface: exports, classes, interfaces, CLI flags, environment variables, configuration options, endpoints. Use real entry points (`package.json#exports`/`main`, `pubspec.yaml`, `pyproject.toml`, `*.csproj`, `go.mod`, `Cargo.toml`, `index.ts`, `lib.rs`, `mod.rs`, `__init__.py`, `Program.cs`).

### 2. Detect discrepancies

- **Missing APIs**: public surface with no documentation.
- **Phantom or outdated APIs**: documented items that no longer exist or were renamed.
- **Contract mismatches**: documented behaviour versus runtime reality (error types, concurrency guarantees, defaults, lifecycle hooks).
- **Broken quickstarts**: snippets that fail to compile or lint, or reference internal paths.
- **Config drift**: env vars, flags, or defaults documented differently from code.

### 3. Report

Ensure `.tmp/docs-audit/` exists and `.tmp/` is git-ignored (append one `.tmp/` line to `.gitignore` if absent; skip outside git).

Write `.tmp/docs-audit/drift-report.md`:

1. **Discrepancy table**: `Documented Item | Doc File & Line | Actual Code Location | Nature (Missing / Outdated / Broken Example / Contract Drift)`.
2. **Architectural and behavioural misalignments**: prose that contradicts the implementation.
3. **Proposed updates**: a minimal unified diff (`--- a/` / `+++ b/`) per verified discrepancy, plus concise API reference entries for undocumented public APIs (parameters, defaults, one usage snippet).

### 4. Apply (only with `apply`)

- Apply the diffs exactly as proposed, with no opportunistic rewrites.
- Re-verify every touched snippet by running it, or by type-checking or linting it with the project's existing tooling.
- If a snippet cannot be verified, revert that snippet and leave it unresolved in the report.
- List every file changed.

## Output

1. Counts: missing, outdated, broken, contract drift.
2. The three highest-impact discrepancies (doc line mapped to code line).
3. Report path; if applied, files changed and the verification result.
4. One next action.

Wersje

RepozytoriumWynikLicencja
Ta strona · mihaimyh/agentic-audit-suite100MIT
mastra-ai/mastra100Apache-2.0
colonyops/hive100MIT
Copypaster3000/agent-built100MIT
stark-ai-de/agent-skills100Apache-2.0
hiroppy/tmux-agent-sidebar100MIT

Migawka bazy z 13.11.2026 · wersja paczki cb73dedaa6e7 (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

  • 100plan-docs-sync
    Planuje audyt dokumentacji względem faktycznego działania kodu: wykrywa rozjazdy, nieaktualne README i dokumentację onboardingową opisującą nieistniejące elementy.
  • 100docs-check
    Audytuje dokumentację względem bieżącego kodu tylko do odczytu: wskazuje nieaktualne dokumenty, brakujące sekcje, zepsute linki i zmyślone twierdzenia, takie jak błędne odwołania do plików czy encje diagramów, których nie ma w kodzie.
  • 100docs-sync-audit
    Przeprowadza audyt rozjazdu dokumentacji tylko do odczytu dla funkcji, PR, gałęzi, wydania, API, konfiguracji lub CLI, sprawdzając README, przewodniki, dokumentację API, changelogi i przykłady.
  • 100docs-sync
    Audytuje i aktualizuje dokumentację użytkownika Argus względem kodu, wykrywając dryf wersji, liczby poleceń, zgodność i18n oraz nieaktualne przykłady CLI przed wydaniem.
  • 100docs-drift
    Audytuje dokumentację monorepo wtyczek względem changelogu lub ostatniego wydania, sprawdza README, docs i CLAUDE.md oraz proponuje konkretne poprawki, zanim cokolwiek zastosuje.
  • 100docs-sync
    Aktualizuje dokumentację po zmianach kodu lub konfiguracji i audytuje rozjazdy, zmieniając tylko dotknięte dokumenty oraz weryfikując przykłady, linki, kontrakty i kroki operacyjne ze źródłem.

Uwagi i zgłoszenia

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