CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/pr-size-guard

Measure pull request size from git numstat or a diff, skipping lock and generated files, and plan how to split big changes into reviewable slices. Use when the user asks if a PR is too big, wants a size check, or asks to split a PR.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Scored by GLM 5.3

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is exemplary: an efficient, actionable workflow with executable commands, explicit checkpoints and a re-measure feedback loop, and a clean overview structure that delegates detail to two real, one-level-deep reference files. Nothing in the body explains concepts Claude already knows or wastes tokens.

DimensionReasoningScore

Conciseness

The body is lean and fully operational: every section (workflow commands, exit codes, counting rules, ignore-list defaults, rename handling) supplies information Claude would not already know, with no padding or explanations of known concepts. It clearly matches the 5 anchor rather than the 4 anchor, which allows for trimmable over-explanation.

5 / 5

Actionability

Commands are copy-paste ready and executable — 'git diff --numstat origin/main...HEAD | python3 scripts/pr_size.py --numstat - --suggest' plus a full option-tuning example — with concrete defaults (ok/warn/fail thresholds) and an exit-code table covering usage and error cases. This matches the 5 anchor's 'fully executable; specific examples cover the common cases'.

5 / 5

Workflow Clarity

The 5-step workflow is clearly sequenced with explicit checkpoints: read the status line (with example output and thresholds), branch on warn/fail to --suggest and splitting.md, and 'Re-measure after splitting each part' as a feedback loop. Exit codes provide error-recovery guidance; the operation is read-only so the destructive/batch validation cap does not apply.

5 / 5

Progressive Disclosure

SKILL.md is a well-organized overview with clearly signaled, one-level-deep references — 'references/splitting.md' for turning slices into PRs and 'More detail on options, limits and edge cases: references/usage.md' — both of which exist and do not nest further. Content is appropriately split, matching the 5 anchor.

5 / 5

Total

20

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states concrete capabilities and pairs them with an explicit, natural 'Use when...' clause. The only minor weakness is trigger-term coverage, which is good but lacks a few common synonyms and phrasing variants.

Suggestions

Add a few natural trigger synonyms such as 'too large', 'break up a PR', or 'reviewable size' to broaden when-clause coverage.

Consider mentioning the ok/warn/fail classification or line thresholds in the description so the gating behavior is visible upfront.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'Measure pull request size from git numstat or a diff, skipping lock and generated files, and plan how to split big changes into reviewable slices' — covering the skill's capabilities comprehensively for its niche. It exceeds the 4 anchor because there are no meaningful gaps in the action coverage.

5 / 5

Completeness

It explicitly answers both what ('Measure pull request size... plan how to split big changes into reviewable slices') and when ('Use when the user asks if a PR is too big, wants a size check, or asks to split a PR') with concrete trigger phrases. This matches the 5 anchor example's structure; the 4 anchor's 'when could be more explicit' caveat does not apply.

5 / 5

Trigger Term Quality

Trigger phrases like 'is a PR too big', 'size check', and 'split a PR' are natural user phrasings, with both 'PR' and 'pull request' present. It falls short of the 5 anchor because common synonyms such as 'too large', 'break up', or 'reviewable size' are not covered.

4 / 5

Distinctiveness Conflict Risk

The PR-size-gating and PR-splitting niche is clearly staked out with distinct triggers, creating minimal conflict risk with generic code-review or git skills. It is not 4 because no meaningful overlap with closely related skills is apparent.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page