agentsclimarketplace

Meta validate context

Skill grimoire-rs/grimoire/.claude/skills/meta-validate-context

Package manager for AI-agent config. grim installs, updates, and publishes skills, rules, agents, MCP servers, and bundles into Claude Code, Copilot, Cursor, Codex, Gemini, Zed, Amp, Kiro, Junie, and opencode — pinned by digest in a lockfile. Storage is any OCI registry; there is no service to run.

Install
npx -y skills add grimoire-rs/grimoire --skill meta-validate-context

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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

SKILL.md

2.1 KB, as published. Nobody here has run it

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

RuleKey References to Verify
subsystem-cli.mdCLI context struct, command enum variants, output trait
subsystem-cli-api.mdReport data types, output trait conventions
subsystem-cli-commands.mdDocumented command surface vs implemented commands
subsystem-file-structure.mdStorage layout, data-root constraints
subsystem-tests.mdFixture names in conftest.py, test file names, runner methods, helper params

Subsystem rules are provisional placeholders while the implementation is scaffolded — verify against current src/ as code lands.

Verification Commands

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

# Check if a module still exists
ls src/module_name/

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

Output Format

## Context Validation Report

### subsystem-cli.md
- OK: [type] still present
- 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.