Command Palette

Search for a command to run...

Назад к скиллам
скилл № 84087

meta-validate-context

Use when auditing the freshness of `.claude/rules/subsystem-*.md` files against current codebase state, or when a subsystem has undergone significant change.

БесплатноБез исполняемых скриптов
ocx-shот ocx-sh★ 20 звёзд на GitHub

Установить meta-validate-context в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Validate Context Rules

Check .claude/rules/subsystem-*.md files match current codebase.

Workflow

For each subsystem-*.md rule file:

  1. Read the rule — Extract type names, module paths, function names, error variants
  2. Grep the codebase — Verify each reference exists
  3. Check for new additions — Find new public types/modules not in rule
  4. Report — List stale references + missing additions

Subsystem Rules to Check

Rule Key References to Verify
subsystem-oci.md IndexImpl, SelectResult, RemoteIndex, LocalIndex, Identifier, Digest, Platform, Client
subsystem-file-structure.md FileStructure, ObjectStore, ObjectDir, IndexStore, InstallStore, SymlinkKind, TempStore, ReferenceManager
subsystem-package.md Metadata, Bundle, Env, Var, Modifier, Exporter, BundleBuilder, Version, Tag
subsystem-package-manager.md PackageManager, PackageError, PackageErrorKind variants (NotFound, SelectionAmbiguous, etc.), task method names
subsystem-cli.md Context, Command enum variants, Printable trait, Api struct
subsystem-tests.md Fixture names in conftest.py, test file names, OcxRunner methods, make_package params
subsystem-website.md component imports in src/content/docs, astro.config.mjs (sidebar, plugins), task commands, generated content paths

Verification Commands

# Check if a type still exists
grep -r "pub struct TypeName" crates/
grep -r "pub enum TypeName" crates/

# Check if a module still exists
ls crates/ocx_<crate>/src/module_name/

# Check for new public types not in the rule
grep -rn "^pub struct\|^pub enum\|^pub trait" crates/ocx_<crate>/src/subsystem/ | grep -v test

Output Format

## Context Validation Report

### subsystem-oci.md
- OK: IndexImpl, SelectResult, RemoteIndex, ...
- STALE: [type] — renamed to [new_name] or removed
- MISSING: [new_type] — not documented in rule

### subsystem-file-structure.md
...

When to Run

  • After big refactors
  • Before major feature branches
  • Part of /code-check audits
  • Monthly

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл meta-validate-context?

Use when auditing the freshness of `.claude/rules/subsystem-*.md` files against current codebase state, or when a subsystem has undergone significant change.

Как установить скилл meta-validate-context?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл meta-validate-context запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить meta-validate-context с