/deep-dashboard:deep-harnessabilityfrom deep-dashboard
Rates codebase harness-ability across 6 weighted dimensions. Triggers on "코드베이스 진단", "harness 준비도", "harnessability 점수", "type safety / 센서 / CI 점검", "harness 가능성 평가", "diagnose codebase", "harness readiness score", "rate this repo". Emits `.deep-dashboard/harnessability-report.json`.
Ships in deep-dashboard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Assess how "harness-able" this codebase is. Every measurement is computational — no LLM inference.
Slash command /deep-harnessability, or directly
node <plugin-root>/lib/harnessability/scorer.js --project-root <target-project-root>.
pluginRoot = dirname(dirname(dirname(loadedSkillPath))), where loadedSkillPath is this file's
absolute path as the host passes it — Claude Code derives it by realpath-resolving this skill file
under the directory named by $CLAUDE_PLUGIN_ROOT; Codex passes the loaded
SKILL.md path itself and defines no CLAUDE_* variable. Build the scorer path from pluginRoot;
if loadedSkillPath is unavailable, fail with a routing error rather than inferring a root. The
caller's cwd is neither the plugin root nor an implicit target root, so always pass the target as
--project-root. Prefer absolute Node argv through the host execution tool — the commands below
are fallback documentation; substitute the real absolute root and never execute an argument
containing ...
POSIX scorer: node "<plugin-root>/lib/harnessability/scorer.js" --project-root "$PWD"
PowerShell scorer: node "C:\absolute\plugin\lib\harnessability\scorer.js" --project-root (Get-Location).Path
The scorer never defaults to process.cwd(). One positional root
(node "<plugin-root>/lib/harnessability/scorer.js" PATH) stays a
compatibility form; a missing root, duplicate flags, extra positionals, or a positional root
combined with --project-root are usage errors.
Run the scorer:
node "<plugin-root>/lib/harnessability/scorer.js" --project-root "<absolute-target-project-root>"
It prints the M3 envelope on stdout and writes the same envelope to
.deep-dashboard/harnessability-report.json.
Render the report as a bar chart from payload.total, payload.grade, and
payload.dimensions[] — NOT the top-level keys, which belong to the envelope wrapper. Bars use
█ (filled) and ░ (empty) over a fixed 10-character width with filled = round(score); the
labels are display abbreviations of payload.dimensions[].label.
[Harnessability Report] Score: X.X/10 (Grade)
Type Safety ████████░░ 8/10 ✓ tsconfig strict mode
Module Bounds ██████░░░░ 6/10 ! 3 items need attention
Test Infra ███████░░░ 7/10 ! no coverage config found
Sensor Ready ████████░░ 8/10 ✓ lint, typecheck, coverage available
Linter/Fmt ████░░░░░░ 4/10 ! no prettier/format config
CI/CD ██░░░░░░░░ 2/10 ✗ no CI config detected
If any dimension in payload.dimensions[] scores below 5, present the top 3 entries from
payload.recommendations[] with estimated impact. 5 is the scorer's recommendation-emit
boundary (<plugin-root>/lib/harnessability/scorer.js); payload.recommendations[] is one flat array to
which only sub-5 dimensions contribute.
If payload.topology_hints is non-null, render each string as a suggestion.
payload.topology and payload.topology_hints are caller-injected via
scoreHarnessability(projectRoot, { topology, topologyHints }); the CLI entry injects neither,
so both are null in standalone runs — then this step is a no-op.
.deep-dashboard/harnessability-report.json is a deep-suite M3 cross-plugin envelope
(§1 of the envelope migration guide kept in the deep-suite registry repo, not in this
plugin): top-level schema_version: "1.0" + envelope
(producer, run_id ULID, git, provenance) + payload, whose required fields are exactly
projectRoot, total, grade, dimensions, recommendations.
Identity, all four exact — these are what downstream identity guards check:
envelope.producer === "deep-dashboard"envelope.artifact_kind === "harnessability-report"envelope.schema.name === "harnessability-report"envelope.schema.version === "1.0"The report is fresh for 24 hours after envelope.generated_at; missing, malformed,
identity-mismatched, future-dated, or ≥ 24 h → recompute. The threshold is implemented once, as
DAY_MS in <plugin-root>/scripts/dashboard-cli.js; its prose sites are both skills/*/SKILL.md and
<plugin-root>/AGENTS.md — change them together. It governs this plugin's own reuse only; other
plugins set their own policy.
<plugin-root>/lib/dashboard/collector.js reads the
envelope. Aggregator-pattern producer: it writes only the target project's refreshed report.producer, artifact_kind, schema.name),
falling back to legacy non-envelope files; this plugin's own preflight additionally requires
schema_version and envelope.schema.version to be "1.0".What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
deep-dashboard@claude-deep-suite is listed by sungmin-cho/deep-suite — review the source before installing
npx claudepluginhub sungmin-cho/deep-suite --plugin deep-dashboard