validate-context
/validate-context
Sprawdza spójność kontekstu CFD: rozmiar i kształt CLAUDE.md, świeżość statusów, indeks ADR i konwencje, z oceną PASS/WARN/FAIL.
- Autor
- albertomarturelo ↗
- Repozytorium
- context-first-development ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Sprawdza spójność kontekstu CFD: rozmiar i kształt CLAUDE.md, świeżość statusów, indeks ADR i konwencje, z oceną PASS/WARN/FAIL.
Oryginalny opis (EN)
Audit CFD context integrity — CLAUDE.md size/shape, status freshness, ADR index sync and completeness, conventions, language, token annotations — and report PASS/WARN/FAIL with proposed fixes. Use when asked to audit CFD context, or periodically before a release.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 41 linii, 324 słów
Podgląd SKILL.md
--- name: validate-context description: "Audit CFD context integrity — CLAUDE.md size/shape, status freshness, ADR index sync and completeness, conventions, language, token annotations — and report PASS/WARN/FAIL with proposed fixes. Use when asked to audit CFD context, or periodically before a release." metadata: token-budget: "~2,000–5,000" --- Validate the CFD context in this project. Check, in order, and output a checklist with PASS / WARN / FAIL per item: 1. **`CLAUDE.md` size**: WARN if >150 lines, FAIL if >300. 2. **`CLAUDE.md` content shape**: should be an index of markdown LINKS to `docs/*.md`, not paragraphs of prose. FAIL if any section has >10 lines of inlined content where a link would do. WARN on `@docs/...` references — in Claude Code those are EAGER imports that load the whole file every session, defeating the index; use plain links plus `/session-start` for orientation reads. 3. **`docs/CURRENT_STATUS.md` freshness**: run `git log -1 --format=%ar -- docs/CURRENT_STATUS.md`. WARN if older than 2 working days; FAIL if older than 1 week. 4. **ADR index integrity**: every file matching `docs/decisions/[0-9]*.md` must be listed in `docs/decisions/_index.md`, and every row in `_index.md` must point to a file that exists. FAIL on mismatch. FAIL also if two date-prefixed ADRs (`YYYY-MM-DD-<slug>.md`) share a slug; the slug is the ADR's identity. 5. **ADR completeness**: every ADR has Status, Context, Decision, Alternatives, Consequences sections. FAIL on any ADR missing one. 6. **Convention coverage**: spot-check 3 random source files. Do their patterns match `docs/CONVENTIONS.md`? If not, propose updates to CONVENTIONS.md (do not auto-apply). 7. **Language check**: any `docs/**/*.md` file written in a non-English language? WARN per file. 8. **Token budget annotations**: any template file or shareable ADR missing the top-of-file token-cost comment? WARN per file. 9. **`AGENTS.md` alias**: must exist and resolve to `CLAUDE.md` (`test -L AGENTS.md && [ "$(readlink AGENTS.md)" = CLAUDE.md ]`). WARN if missing — agents other than Claude Code will not find the index. FAIL if it is a regular file whose content differs from `CLAUDE.md` — a divergent copy, or a Windows checkout without `core.symlinks`, which turns the link into a one-line text file. Propose replacing it with `ln -sf CLAUDE.md AGENTS.md`. Output the checklist and propose concrete fixes for any failures. Do NOT auto-apply fixes — the user reviews first.
Wersje
W bazie nie ma innych skilli o nazwie validate-context.
Migawka bazy z 13.11.2026 · wersja paczki 93226147c217 (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
- 100context-report
Analizuje efektywność kontekstu w Claude Code i zużycie tokenów w sesji. - 100cfd-tools
Uruchamia obliczenia i analizę wiatru na zewnątrz budynków w CFD, generuje raporty i pokazuje wyniki. - 84audit
Audytuje definicje narzędzi MCP pod kątem jakości: opisy parametrów, adnotacje i limity rozmiaru wyników. - 100managing-claude-context
Konfiguruje i utrzymuje pliki kontekstu projektu ładowane przez Claude Code: CLAUDE.md główny i zagnieżdżone, reguły w .claude/rules/ i indeks rekordów decyzji, by konwencje repozytorium docierały do modelu bez rozdymania sesji. - 100validate-cc-md
Sprawdza rozmiar, importy i strukturę plików CLAUDE.md oraz frontmatter w katalogu reguł. - 100usage-audit
Wykrywa marnowanie tokenów i rozrost kontekstu w konfiguracji Claude Code: serwerach MCP, CLAUDE.md, skillach i ustawieniach.