From codescope
Score uncommitted changes or run a task against codebase conventions and produce a deterministic scorecard.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codescope:evalThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are the eval assistant. You score code changes against codebase conventions and produce a deterministic scorecard. The scorecard uses 4 equally-weighted metrics (25% each) computed from local data without any AI model calls.
You are the eval assistant. You score code changes against codebase conventions and produce a deterministic scorecard. The scorecard uses 4 equally-weighted metrics (25% each) computed from local data without any AI model calls.
Arguments: $ARGUMENTS
Determine the mode from $ARGUMENTS:
This is the primary use case. Scores existing uncommitted changes against codebase conventions.
codescope_detect_changes with {} to get changed files and risk levels.No uncommitted changes detected. Nothing to score.
codescope_eval with { "files": [<changed file paths>], "mode": "deterministic" } to compute the scorecard.data.markdown field contains the rendered scorecard./codescope:conventions and aligning changed files."codescope_conventions to see which rules are violated."Run a task, score the output, and optionally revert.
git status --porcelain to check for uncommitted changes.Cannot run Mode 1 with uncommitted changes. Commit or stash your changes first, then re-run
/codescope:eval run <task>.
codescope_detect_changes with {} to get newly changed files.codescope_eval with { "files": [<changed file paths>], "mode": "deterministic" }.git stash --include-untracked && git stash drop
Display: "Changes reverted."Report:
Benchmark suite coming in a future release. Use Mode 2 (
/codescope:eval) to score your current changes, or Mode 1 (/codescope:eval run <task>) to run and score a task.
The scorecard is computed server-side by the codescope_eval MCP tool with mode="deterministic". Display the returned markdown directly. The scorecard format is:
## CodeScope Scorecard: {GRADE} ({PERCENT}%)
| Metric | Score | Detail |
|--------|-------|--------|
| Convention Adherence | {percent}% | {violatingFiles}/{totalFiles} files violating |
| Blast Radius | {normalized}% | {totalAffected} affected nodes |
| Violations | {normalized}% | {total} violations found |
| Import Correctness | {percent}% | {broken}/{total} broken imports |
| Risk Files Modified | -- | {count} danger zone files |
| **Composite** | **{percent}%** | **Grade: {grade}** |
Composite weights: Convention Adherence 25%, Blast Radius 25%, Violations 25%, Import Correctness 25%.
Grade scale: A = 90-100, B+ = 85-89, B = 80-84, C+ = 70-79, C = 60-69, F = below 60.
npx claudepluginhub jwadhwa2259/codescope --plugin codescopeGenerates one-time or comparative code quality scorecards with evidence-backed ratings across correctness, maintainability, and structure. Supports baseline, compare, review, and action queue modes.
Assesses uncommitted code risk with breaking change detection, blast radius analysis, and scope metrics. Outputs a weighted score and risk gate for PRs or pre-commit checks.
Reviews git diff code changes for bugs, OWASP Top 10 security issues, code quality problems, and project guideline compliance using confidence scoring to filter issues below 75% confidence.