Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By TychoHenzenv0.8.5In 1 marketplace
Advisory structural diagnostics with an optional plaintext readability boundary. Reports and test-quality evidence remain read-only, and the plugin registers no hook. Ships 1 skill: /quality-refactor (systematic refactoring with a zero-dependency scanner).
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
quality-guard provides advisory structural diagnostics, current-state
reports, test-quality evidence, and an optional plaintext readability check.
Its output is read-only evidence for human review. It does not accept commits
or merges and does not persist an acceptance result.
| Path | Purpose |
|---|---|
skills/quality-refactor/scripts/quality-scan.mjs | Structural findings for the supplied repository scope. |
quality-guard report --root=<repository> | Current-state structural and architecture report. |
quality-guard test-quality --root=<repository> | Clean Code test evidence from a JSON manifest. |
quality-guard readability --stdin | Complete plaintext supplied by an agent runtime. |
Run the scanner directly when a structural report is needed:
mkdir -p "<repository>/.quality"
node skills/quality-refactor/scripts/quality-scan.mjs . \
--root=<repository> --top=20
node skills/quality-refactor/scripts/quality-scan.mjs . \
--root=<repository> --format=units > "<repository>/.quality/units.json"
quality-guard report --root=<repository> > "<repository>/.quality/quality-report.json"
The compatibility CLI names check and acknowledge are not delivery
commands. Where a shipped caller still invokes them, they return advisory
compatibility JSON without inspecting repository state, authorizing work, or
writing stored acceptance state. Do not add new callers.
When a repository supplies .quality/test-quality.json, inspect its explicit
Clean Code Chapter 17 evidence:
quality-guard test-quality --root=<repository> \
--evidence=.quality/test-quality.json
The evidence file is a language-neutral JSON manifest (schemaVersion: 1)
with sources, tests, and optional coverage, bugs, failures,
and timing sections. A source declares behavior and boundary IDs; a test
declares the IDs it exercises, status, language, and optional duration.
Coverage is per-source evidence from any provider, not a universal percentage
threshold. Bug links, normalized failure signatures, skip reasons,
boundary input/expected oracles, explicit uncovered behavior links, and
test-class budgets make the remaining evidence explicit. Normalize provider
output for C#, Python, TypeScript, and Rust in the same manifest; aliases such
as cs, py, ts, and rs are accepted.
Smallest useful manifest:
{
"schemaVersion": 1,
"sources": [{
"path": "src/parser.py",
"language": "python",
"behaviors": [
{"id": "parser.normal", "kind": "behavior"},
{
"id": "parser.empty",
"kind": "boundary",
"boundary": {"input": "empty", "expected": "empty-result"}
}
]
}],
"tests": [{
"id": "parser.empty.test",
"path": "tests/parser_test.py",
"language": "python",
"covers": ["parser.normal", "parser.empty"],
"status": "passed"
}]
}
The report emits T1-T9 findings with remediation and evidence payloads. Every
finding carries severity medium on the shared high/medium/low scale and
stays report-only advisory evidence.
T1 checks declared behavior coverage, T2 checks coverage evidence,
T3 checks trivial documentary tests, T4 checks ambiguity skips, T5 checks
boundaries, T6 checks linked bug regressions, T7 clusters repeated runtime
failures, T8 correlates explicitly linked uncovered behavior regions with
failures, and T9 compares measured durations with declared environment budgets.
Missing evidence is reported as unavailable or invalid; it never becomes zero
coverage or an acceptance failure. A missing default file is quiet and returns
an empty unavailable report.
Check complete plaintext supplied by an agent runtime:
printf '%s' "$TEXT" | quality-guard readability --stdin
The readability boundary uses the optional Python textstat runtime. It
normalizes input with Unicode NFKC, removes Markdown markers, link targets,
citation markers, identifiers, URLs, and fenced or inline code, then counts
Unicode-letter words. Non-ASCII Latin prose remains. Other language scripts
are reported as unsupported. For Flesch Reading Ease ease and
Flesch-Kincaid Grade grade, it calculates
easeScore = clamp(ease / 60 * 100, 0, 100) and
gradeScore = clamp((12 - grade) / (12 - 9) * 100, 0, 100). The combined
score is 0.6 * easeScore + 0.4 * gradeScore, rounded to two decimals. A
combined score of 80 passes, subject to a maximum sentence length of 25 words.
Empty or shorter-than-20-word input is skipped. A sentence over that limit
fails the bounded dyslexia-friendly heuristic. These are readability
heuristics, not clinical accessibility validation.
npx claudepluginhub tychohenzen/dod-guard --plugin quality-guardBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground