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

cli-reference-drift

/cli-reference-drift

Sprawdza przed wydaniem, czy referencja CLI na stronie (website/src/content/docs/reference.mdx) nie rozjechała się z rzeczywistym CLI dotsecenv, np. po dodaniu lub zmianie polecenia albo flagi.

Repozytorium
dotsecenv ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
11.09.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
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

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

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: check.sh

Co robi i kiedy

Sprawdza przed wydaniem, czy referencja CLI na stronie (website/src/content/docs/reference.mdx) nie rozjechała się z rzeczywistym CLI dotsecenv, np. po dodaniu lub zmianie polecenia albo flagi.

Oryginalny opis (EN)

Check the website CLI reference (website/src/content/docs/reference.mdx) for drift against the actual dotsecenv CLI, and run it before cutting a release. Use when preparing a release, when asked to verify the CLI docs are in sync or check reference drift, or after adding or changing a command or flag. Triggers on: release, cli reference drift, reference out of date, docs in sync, before release, new command, new flag.

Jak działa

  1. Run it
  2. What it reports
  3. Act on the report
  4. Release gate
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 320 słów
Podgląd SKILL.md
---
name: cli-reference-drift
description: >
  Check the website CLI reference (website/src/content/docs/reference.mdx) for
  drift against the actual dotsecenv CLI, and run it before cutting a release.
  Use when preparing a release, when asked to verify the CLI docs are in sync or
  check reference drift, or after adding or changing a command or flag.
  Triggers on: release, cli reference drift, reference out of date,
  docs in sync, before release, new command, new flag.
---

# CLI Reference Drift Check

The website CLI reference at `website/src/content/docs/reference.mdx` is
hand-curated (it carries examples, JSON output schemas, sample outputs, exit
codes, and a config-file reference that cobra cannot generate). Because it is
hand-written, it can drift from the actual CLI. Run this check before every
release to catch commands or flags that exist in the binary but are missing
from the page.

## Run it

```bash
bash .agents/skills/cli-reference-drift/check.sh
```

The script runs the repo's `make docs` target to generate the live command and
flag inventory from source (into `build/cli`), then compares it against
`reference.mdx`. It exits non-zero when it finds drift. No network is needed
(dependencies are vendored); a Go toolchain and `make` on `PATH` are required.

## What it reports

- **MISSING command** — a CLI command with no matching `##`/`###` heading in
  `reference.mdx`.
- **MISSING flag** — a command-specific (long) flag not mentioned anywhere in
  `reference.mdx`.
- **DUPLICATE heading** — the same `##`/`###` heading text appears more than
  once (a copy-paste or stale-section bug).

## Act on the report

For each genuine finding, edit `reference.mdx`:

- Missing command or flag: add it in the page's existing style — a heading, a
  one-line description, an **Options** table, and at least one **Examples**
  block. Place it under the right parent section (e.g. a new `secret`
  subcommand goes under `## secret`).
- Duplicate or stale heading: remove the redundant section.

Re-run the check until it reports `no drift`.

Known false positives to ignore:

- `completion bash` / `zsh` / `fish` are documented under `## completion` as
  `### Bash` / `### Zsh` / `### Fish`, not as `### completion <shell>`.

## Release gate

This is a pre-release step. Before running `rt git::release` (see
[CLAUDE.md](../../CLAUDE.md) "Release new version"), run this check and resolve
any drift. Do not release with an out-of-sync CLI reference. The page is the
canonical CLI reference at <https://dotsecenv.com/reference/>; keeping it honest
is the point of this check.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • check.sh 3 KB

Wersje

W bazie nie ma innych skilli o nazwie cli-reference-drift.

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

  • 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.
  • 100cli-commands
    Dodaje lub zmienia polecenia CLI but w katalogu crates/but/src.
  • 100repo-website-api-create
    Tworzy strony dokumentacji API na stronie Valibot na podstawie kodu źródłowego, z plikami properties.ts i index.mdx oraz menu.
  • 100skillshare-update-docs
    Aktualizuje dokumentację na stronie zgodnie z kodem i sprawdza każdą flagę względem źródła.
  • 90sync-docs-release
    Łączy aktualizację dokumentacji z wydaniem: najpierw zmiany w docs, potem ewentualne scalenie PR i utworzenie wydania.
  • 100update-docs
    Sprawdza, jaka dokumentacja Next.js wymaga zmian po modyfikacjach w PR, tworzy szkielety dokumentów dla nowych funkcji w plikach MDX i ocenia kompletność docs.

Uwagi i zgłoszenia

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