Agent skill · Code Review & Quality

scoring-checks

Add a new deterministic scoring check in src/scoring/checks/ that evaluates config quality. Follows the Check[] return pattern, uses point constants from src/scoring/constants.ts, and integrates via filterChecksForTarget() in src/scoring/index.ts. Use when user says 'add scoring check', 'new check', 'modify scoring criteria', or works in src/scoring/checks/. Do NOT use for display changes or refactoring scoring logic.

caliber-ai-orggithub.com/caliber-ai-orgGitHub ↗
claude-codecodexcursorMIT
Install
npx skills add caliber-ai-org/ai-setup --skill scoring-checks --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 12 KB
Bundled scripts: none
Path: skills/scoring-checks/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,235
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Adding a Scoring Check Add a new deterministic check that evaluates a single aspect of AI agent config quality. All checks must be filesystem-based with no network calls or LLM inference. ## Critical - **Check must be deterministic**: Same filesystem state → same result every time. No randomness, no external APIs. - **Point values come from constants.ts**: Every `earnedPoints` and `maxPoints` must reference `POINTS_*` from `src/scoring/constants.ts`. Do NOT hardcode numbers. - **Always return `Check[]` array**: Export a function `check<Category>(dir: string): Check[]` where category is one of: `existence`, `quality`, `grounding`, `accuracy`, `freshness`, `bonus`. - **Every check must have**: `id` (kebab-case, unique), `name`, `category`, `maxPoints`, `earnedPoints`, `passed`, `detail`, and optional `suggestion`/`fix`. - **Fix object fields**: `action` (string describing what to do), `data` (context for the fix), `instruction` (user-facing guidance). - **Register in src/scoring/index.ts**: Add the import and spread the result into the `allChecks` array in `computeLocalScore()`. - **Target filtering**: If the check is platform-specific (Claude-only, Cursor-only, etc.), add its ID t

What's inside
Steps it walks through
  1. Critical
  2. Instructions
  3. Step 1: Define point constants in src/scoring/constants.ts
  4. Step 2: Create or edit check function in src/scoring/checks/
  5. Step 3: Handle platform-specific filtering (if applicable)
  6. Step 4: Register in src/scoring/index.ts
  7. Step 5: Write deterministic unit tests
  8. Examples
  9. Example 1: Existence Check
  10. Example 2: Quality Check with Thresholds
  11. Example 3: Accuracy Check (Reference Validation)
  12. Common Issues
More from ai-setup
All skills →
About this skill
What does the scoring-checks skill do?

Add a new deterministic scoring check in src/scoring/checks/ that evaluates config quality. Follows the Check[] return pattern, uses point constants from src/scoring/constants.ts, and integrates via filterChecksForTarget() in src/scoring/index.ts. Use when user says 'add scoring check', 'new check', 'modify scoring criteria', or works in src/scoring/checks/. Do NOT use for display changes or refactoring scoring logic.

How do I install it?

Run `npx skills add caliber-ai-org/ai-setup --skill scoring-checks --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From caliber-ai-org/ai-setup, a repository with 1,235 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going