night-market-diagnostics-toolkit

Solid

Run and interpret repo diagnostic scripts (ratchets, validators, token stats). Use when measuring health. Do not use to run tests; use night-market-operations.

AI & Automation 323 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Night Market Diagnostics Toolkit Measure instead of eyeballing. Every claim about the health of this repo ("the skill graph is clean", "descriptions fit the budget", "no compromised dependencies") has a script that produces a number or a PASS/FAIL. This skill catalogs those scripts, their exact invocations, and how to read their output. Conventions for everything below: - Run all commands from the repo root (`/home/alext/claude-night-market`). - Plain `python3` is enough for every script in the table except mutation testing, which needs `uv`. - All checks here are read-only. None of them mutate the repo. ## The ratchet-baseline concept Several checks are ratchets. A ratchet check counts a category of existing debt (for example, SKILL.md files missing an Exit Criteria section), compares the live count against a frozen number in a baseline JSON file, and: - passes while the live count is at or below the baseline (pre-existing debt is tolerated), - fails the moment a NEW violation pushes the count above the baseline (debt may not grow), - nudges you to lower the baseline number when the live count drops (locking in the win so the debt cannot silently return). The goal is a baseline that only shrinks, eventually to zero. The two ratchet baselines live at `scripts/skill_graph_baseline.json` (keys `max_dangling_bugs`, `max_uncalled_libraries`) and `scripts/skill_exit_criteria_baseline.json` (key `max_missing_exit_criteria`). When a ratchet prints a "dropped to N ...

Details

Author
athola
Repository
athola/claude-night-market
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category