agentleFS
existential-birdsexistential-birds/beagle/skills/review-skill/SKILL.md

review-skill

Skill91 starsChanged 6 days agoApache-2.0View on GitHub

Reviews PRs that add or modify Agent Skills, checking structural validity, design quality, agentskills.io specification compliance, and repository consistency. Use when reviewing skill file changes, auditing SKILL.md quality, or running skill PR reviews.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use new-skill.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TheLatentSpaceLabSkill

    new-skill

    Create a new slash command skill

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check if an output path was provided.

    line 19
  2. Very specific:

    Read the full SKILL.md (not just diff lines)

    line 32
  3. Very specific:

    Read all files in the skill directory (references/, scripts/, assets/)

    line 33
  4. Distinctive:

    Remove any finding you cannot verify.

    line 63
  5. Distinctive:

    Write all findings to the output path specified in Step 1, using the exact format below.

    line 67
  6. Very specific:

    Every issue gets a sequential number.

    line 115
  7. Distinctive:

    ONLY verify that previously flagged issues were addressed correctly

    line 156
  8. Distinctive:

    Do NOT introduce new findings unrelated to previous issues

    line 157

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Review

Review Agent Skill PRs for structural validity, design quality, agentskills.io specification compliance, and repository consistency.

Arguments

  • Output path: Optional file path for review results (default: .review-output.md)
  • --base <branch>: Base branch for diff comparison (default: main)

Workflow

Step 1: Parse Arguments

Check if an output path was provided; if not, default to .review-output.md. Extract --base if provided, otherwise default to main.

Step 2: Identify Changed Skills

git diff --name-only $(git merge-base HEAD "${BASE:-main}")..HEAD | grep -E '(SKILL\.md|skills/[^/]+/)'

Group changed files by skill directory. Each unique skill directory is a review target. If no skill files changed, write "No skill files changed" to the output path and stop.

Step 3: Read Each Changed Skill End-to-End

For each changed skill:

  1. Read the full SKILL.md (not just diff lines)
  2. Read all files in the skill directory (references/, scripts/, assets/)
  3. Confirm the skill resides under skills/<skill-name>/SKILL.md and check for duplicate names across skills/

Step 4: Run Structural Checks (HIGH Confidence)

Apply every check in references/structural-checks.md. These are binary pass/fail — violations are clear-cut.

Structural violations are HIGH confidence because they can be verified mechanically.

Step 5: Run Design Checks (MEDIUM Confidence)

Apply every check in references/design-checks.md. These require judgment — flag only when the issue is clear, not when the approach is merely different from what you'd choose.

Design issues are MEDIUM confidence because they involve subjective assessment.

Step 6: Run Repository & Portability Checks (HIGH Confidence)

Apply every check in references/repository-checks.md. These verify the skill conforms to the flat skills/ repository layout, portability rules, and npx skills discovery.

Repository and portability violations are HIGH confidence because they can be verified by inspecting directory layout and running validation checks.

Step 7: Load and Apply Verification Protocol

Load the review-verification-protocol skill. Before reporting any finding, verify:

  1. You read the actual skill content, not just the diff context
  2. The issue is real, not a style preference
  3. The issue applies to skill files specifically (not general code review concerns)
  4. You can point to the specific line that proves the issue

Remove any finding you cannot verify.

Step 8: Write Output

Write all findings to the output path specified in Step 1, using the exact format below.

Output Format

## Review Summary

[1-2 sentence overview of findings across all reviewed skills]

## Issues

### Critical (Blocking)

1. [FILE:LINE] ISSUE_TITLE
   - Issue: Description of what's wrong
   - Why: Why this matters for skill quality or repository health
   - Fix: Specific recommended fix
   - Confidence: HIGH

### Major (Should Fix)

N. [FILE:LINE] ISSUE_TITLE
   - Issue: ...
   - Why: ...
   - Fix: ...
   - Confidence: HIGH|MEDIUM

### Minor (Nice to Have)

N. [FILE:LINE] ISSUE_TITLE
   - Issue: ...
   - Why: ...
   - Fix: ...
   - Confidence: HIGH|MEDIUM

### Informational (For Awareness)

N. [FILE:LINE] SUGGESTION_TITLE
   - Suggestion: ...
   - Rationale: ...
   - Confidence: MEDIUM

## Verdict

Ready: Yes | No | With fixes 1-N
Rationale: [1-2 sentences — only Critical and Major items block approval]

Every issue gets a sequential number. Every issue includes Confidence: HIGH|MEDIUM. The Verdict ignores Minor and Informational items.

Severity Calibration

Critical (Block Merge)

  • Invalid or missing YAML frontmatter (skill won't load)
  • Missing required name or description field
  • SKILL.md exceeds 500 lines (performance degradation)
  • Name collision with existing skill in the repository
  • name does not match the parent directory name

Major (Should Fix)

  • name violates format rules (not lowercase-hyphen, leading/trailing/consecutive hyphens, exceeds 64 chars)
  • Non-spec frontmatter keys present (e.g., disable-model-invocation, user-invocable, autoContext, dependencies, triggers)
  • description missing "what" or "when" component, wrong person, or exceeds 1024 chars
  • Nested reference chains (references that reference other references)
  • Description too vague to trigger accurately
  • Structured output with no format template or example
  • Windows-style paths in file references
  • Broken cross-skill links or non-portable harness-specific instructions

Minor (Nice to Have)

  • Time-sensitive content (hardcoded dates, "recently", "new")
  • Inconsistent terminology across skill files
  • Progressive disclosure not used when SKILL.md is dense
  • Workflows missing validation steps
  • Missing cross-reference (SKILL.md links to file that doesn't exist)

Informational (For Awareness)

  • Trigger keyword overlap with existing repository skills
  • Suggestions for additional reference files
  • Opportunities to improve description specificity
  • Script lacks --help or uses interactive prompts

Re-Review Rules

On subsequent review passes after fixes are applied:

  1. ONLY verify that previously flagged issues were addressed correctly
  2. Do NOT introduce new findings unrelated to previous issues
  3. Accept Minor items that weren't fixed — do not re-flag
  4. The goal of re-review is verification, not discovery

References

  • Structural checks: references/structural-checks.md — frontmatter, naming, line limits, path format
  • Design checks: references/design-checks.md — description quality, progressive disclosure, degrees of freedom
  • Repository & portability checks: references/repository-checks.md — flat layout, name collisions, CLI validation, cross-skill links

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.