code-vibe-check
БесплатноЗапускает вложенные скриптыНе проверенScore how AI-generated a repo looks and how well it is engineered, on two axes with a fixed rubric. Use when asked how vibecoded a project is, or vetting a…
от laurigates★ 61 звезда на GitHubОб этом скилле
Vibe Check
Rate a repository on two independent axes with a fixed rubric:
| Axis | Question | High means |
|---|---|---|
| Provenance | How generated does the code look? | strong generation signal |
| Control | How well is it gated, tested and structured? | well engineered |
The two axes are scored separately because they do not move together. Code can be heavily generated yet strictly gated, or hand-written and untested. The quadrant the pair lands in is the verdict; "vibecoded" means high provenance with low control.
Scripts compute every score. The model only answers a fixed checklist over samples the scripts chose, and those answers are reported beside the scores, never folded into them.
When to Use This Skill
| Use this skill when… | Use another when… |
|---|---|
| Asked "how vibecoded is this?" or to vet a repo before adopting it | Reviewing a diff or PR → code-review |
| Comparing several candidate dependencies on engineering quality | Hunting one class of defect → code-hidden-failures, code-test-quality |
Execution
Step 1: Measure (deterministic)
python3 ${CLAUDE_SKILL_DIR}/scripts/vibe_metrics.py "$REPO" --sample-dir "$OUT" --out "$OUT/metrics.txt"
python3 ${CLAUDE_SKILL_DIR}/scripts/vibe_score.py "$OUT/metrics.txt" --out "$OUT/scorecard.md"
$OUT is a scratch directory outside the repo. Every supported language (Rust, Python,
TS/JS) is measured, each file with its own language's patterns; LANG_SHARE shows the
mix. Pass --lang rust (or a comma list) to restrict it. Vendor directories and
*.min.js / *.bundle.js are skipped. Read scorecard.md first.
Two results need checking before you use them:
SNAPSHOT_IMPORT=1: the first commit imported earlier work. Velocity (P1) is measured from the second commit onward. Say so in the report.- Fewer than 5 commits after any import: P1 and P3 report n/a, and the scorecard header
says
history: n/a. Provenance then rests on code signals only; say so.
Step 2: Judgment checklist (fixed questions over script-chosen samples)
Answer each with a count, reading only the named file in $OUT. Quote the file:line
behind every "yes".
| ID | Sample file | Question | Report |
|---|---|---|---|
| J1 | fallbacks.txt (20 sites) |
Does this fallback turn malformed or missing required input into a silent default (e.g. parse().unwrap_or(0.0) on file data)? |
k/20 |
| J2 | tests.txt (8 tests) |
Does the test assert a specific expected value, not only that no error occurred? | k/8 |
| J3 | no_assert_tests.txt |
Is this a real test missing an assertion, not a detector miss (helper-delegated assert, screenshot test)? | k/n |
| J4 | functions.txt (top 3) |
Is the function a linear stack of unrelated feature blocks, rather than one algorithm or a dispatch table? | k/3 |
| J5 | the 2 largest files whose names matched P2 | Does the header say the file holds what one release or session added? | k/2 |
| J5b | each file in AI_TOOL_FILE_LIST |
Does it instruct agents developing this repo (yes), or users of the tool (no)? | k/n |
| J6 | the largest commit after any import | Does each changelog/release-note bullet for it map to a file the commit changed? (git show --stat) |
k/n, or n/a |
If J3 finds detector misses, the C3 score is wrong: say so, and file the pattern as a
fix to vibe_metrics.py (see Limits).
Step 3: Report
- The scorecard table from
scorecard.md, verbatim. - The J1–J6 table with counts and quoted evidence.
- Quadrant, plus one sentence each for the strongest provenance signal and the weakest control criterion.
- Caveats: snapshot import, thin history,
--langrestriction, any J3 detector misses. Below the provenance cut, write "no evidence of generation", never "hand-written".
Do not adjust a score by judgment. If a judgment contradicts a score, report both.
Rubric
Criteria, thresholds and bands live in rubric.json, the single source of
truth; vibe_score.py reads it. Each criterion scores 0/1/2 against lo/hi; a
criterion whose metric is missing is n/a and is left out of the maximum. A criterion with
any_of scores the highest of its sub-metrics: P3 (commit shape) scores either big-commit
dumps or agent-loop cadence, since a repo rarely shows both. Quadrant cut: 50% on each axis.
Calibration
| Repo | Provenance | Control | Quadrant |
|---|---|---|---|
| ripgrep 13.0.0 (Rust, 2021) | 1/14 | 13/16 | no evidence of generation, well engineered |
| requests 2.25.1 (Python, 2020) | 2/14 | 11/16 | no evidence of generation, well engineered |
| zod 3.11.6 (TS, 2021) | 3/14 | 9/16 | no evidence of generation, well engineered |
| httpx 0.21.0 (Python, 2021) | 2/14 | 12/16 | no evidence of generation, well engineered |
ralph-os cd6dac930284 (Rust, agent loop, AI trailers, no CI) |
10/14 | 7/16 | vibecoded |
| Ographis 0.96.9 (Rust, release mirror) | 7/14 | 14/18 | disciplined AI-assisted (borderline) |
10S-Comfy-nodes c231acaaf66d (Pyth |
Установить code-vibe-check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/vibe_metrics.py *)Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/vibe_score.py *)Bash(bash ${CLAUDE_SKILL_DIR}/scripts/calibrate.sh *)Bash(git show *)Bash(git log *)ReadGrepGlobВложенные файлы
FAQ
Что делает скилл code-vibe-check?
Score how AI-generated a repo looks and how well it is engineered, on two axes with a fixed rubric. Use when asked how vibecoded a project is, or vetting a repo before depending on it.
Как установить скилл code-vibe-check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-vibe-check запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic