Skip to content

/reviewing-instructions

Review AI-facing instruction files for routing precision, behavioral signal, output contracts, failure handling, grounding, and score stability. Do not score ordinary docs or source code.

shell
$ npx -y skills add alexei-led/cc-thingz --skill reviewing-instructions --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/reviewing-instructions
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Review AI-facing instruction files for routing precision, behavioral signal, output contracts, failure handling, grounding, and score stability. Do not score ordinary docs or source code.

SKILL.md

reviewing-instructions.SKILL.md
description:
  "Use when asked to lint, audit, review, or score AI-facing instruction
  files such as SKILL.md, AGENT.md, AGENTS.md, CLAUDE.md, platform body.md files,
  prompt files, rules, policies, and agent-facing references. NOT for plugin manifests,
  application code review, harness configuration review, ordinary docs, tests, or
  generated build output.

  "
name: reviewing-instructions

Instruction Review

Review AI-facing instruction files for routing precision, behavioral signal, output contracts, failure handling, grounding, and score stability. Do not score ordinary docs or source code.

Read first

  • `references/scoring-rubric.md` for gates, 0-10 bands, caps, confidence, and output schema.
  • `references/model-resolution.md` for model alias mapping and fallback rules.
  • `references/skill-architecture.md` only when reviewing `SKILL.md`, `AGENT.md`, `body.md`, or agent-facing references loaded by them.
  • `references/calibration.md` only when a score is borderline or confidence is low.
  • `references/models/<family>.md` only after model family resolution.

Accepted inputs

The user may pass:

  • file path, directory path, or plugin name
  • omitted scope, meaning discover likely instruction files
  • `--model <name>` to override model family or variant
  • requests such as lint, audit, review, score, compare, or rerank

A name without a path separator expands to matching `src/skills/<name>` or `src/agents/<name>.md`. If it matches `src/.agentbundler/packages/<name>.json`, use the package JSON only as routing evidence for agent-facing markdown or prompt files when the user explicitly asks for instruction scoring. Route plugin manifest review to `evolving-config`.

Scope boundaries

Review only markdown or prompt files that guide an AI agent or coding assistant. Include support files only when an entrypoint tells the agent to read them or when they live under that skill or agent folder. For plugins, score only agent-facing markdown or prompt files; never score package JSON.

Do not review:

  • application source code, tests, or generated artifacts
  • ordinary README, changelog, product, or design docs unless agent-facing
  • package manifests such as `src/.agentbundler/packages/*.json`; use `evolving-config`
  • harness config quality; use evolving-config
  • code quality; use reviewing-code

If a candidate is ambiguous, put it in Candidates Not Reviewed with the reason.

Discovery

Build the review set in this order:

1. Explicit paths from the user. 2. Entrypoints: SKILL.md, AGENT.md, AGENTS.md, CLAUDE.md. 3. Support files referenced by entrypoints: body.md, references, prompt, rules, context, and policy markdown. 4. High-confidence agent-facing markdown in agents, skills, prompts, instructions, references, or rules directories.

For a single explicit file, review that file only unless the user asks for linked files. For a directory, include its entrypoint and local support files. If scope is omitted and discovery would likely expand past one skill, one agent, or one plugin, ask one clarifying question before step 4.

Model resolution

Use `references/model-resolution.md` for resolution order, alias mapping, and fallback rules.

Report one line per review set: `Model context: <family>/<variant or generic> — source <arg|frontmatter|parent|folder|generic>`.

If resolution is ambiguous, use generic and set review confidence to medium or low.

Structural pre-pass

Run the lint script scoped to the review target when shell execution is available:

uv run python src/skills/reviewing-instructions/scripts/lint-instructions.py <scope>

If scope is omitted, ask one clarifying question before a whole-repo pre-pass unless broad review is already confirmed, in which case run it. If the script ignores scope, filter reported findings to reviewed files before scoring.

If the script fails or is unavailable, record `Structural pre-pass: skipped` with the exact reason and continue semantic review.

The pre-pass is advisory. Semantic review and the scoring rubric are authoritative.

Semantic review

For each confirmed file:

1. Read the file fully. 2. Confirm it is agent-facing. 3. Resolve model context. 4. If the file is a skill or agent instruction file, load `references/skill-architecture.md` and map its heuristics into the existing dimensions. Do not create a separate score. 5. Apply hard gates from the scoring rubric. 6. Score each dimension using band-first 0-10 anchors. 7. Apply caps and confidence rules. 8. Rate applicable lint rules as PASS, WARN, or FAIL. 9. List the top 1-3 improvements by impact.

Use evidence for every score and finding: section name, line number, exact text, or missing evidence. No evidence, no finding.

Scoring stability rules

  • Choose the rubric band first, then choose the midpoint unless evidence justifies an edge.
  • Apply caps before computing the final score.
  • Round final scores to the nearest 0.5.
  • Use low confidence instead of over-precise scoring when context is partial.
  • Do not let one polished section hide a missing hard gate.
  • For repeated scoring or reranking, use the same scope, model context, and rubric version.

Output

## Instruction Review Report

Model context: <family/variant> — source <source>
Rubric version: <date or file path>
Review confidence: high | medium | low

### Summary

- Files reviewed: N
- Candidates not reviewed: N
- Structural pre-pass: <errors/warnings or skipped reason>
- Score range: X-Y / 10
- Main risk: <one sentence>

### Scores

path/to/file.md — overall X / 10, confidence <high|medium|low>

- Gates: pass | capped at N because <reason>
- Signal Density: X — <evidence>
- Scope Specificity: X — <evidence>
- Output Structure: X — <evidence>
- Format Efficiency: X — <evidence>
- Failure Handling: X — <evidence>
- Grounding Discipline: X — <evidence>
- Routing Precision: X — <evidence>
- Progressive Disclosure: X — <evidence>
- Lint: PASS <ids>; WARN <ids>; FAIL <ids>

### Finding
Read more
Read it on GitHub ↗

Showing the first part of this file.

Ships withcc-thingz

Portable skills, agents, hooks, and Pi-native extensions for Claude Code, Codex CLI, GitHub Copilot, Cursor, Grok, and Pi. Gemini is retired.

Get the whole plugin, auto-invoked
Stats
35
Stars
0
Views
5
Forks
Active
Maintenance
Python
Language
MIT
License
7d ago
Last commit
1y ago
Created

Repo: alexei-led/cc-thingz