Home / smixs / code-quality-skill · SKILL.md · GitHub

code-quality skillA

code-quality is agent-read markdown (skill) from smixs/code-quality-skill: Quality gate for a repo: one bun script behind git hooks (pre-commit, commit-msg, pre-push) and the Stop hooks of Claude Code, Codex and pi. Blocks test tampering, CRAP and complexity over the bar on changed functions, low diff coverage, new cycles, dead code, clones, secrets, vulnerable dependencies and AI attribution in commits. 12 languages, one .quality.toml per repo. Use when: quality gate, CRAP, complexity, ratchet, baseline, hotspots, dead code, import cycles, wire a repo into the gate, i.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# code-quality

## Overview

One script, `scripts/quality.ts`, called by every entry point. Only deterministic checks decide the exit code. Old debt lives in a baseline and does not block; a new finding on a changed line does. Jev (a classifier) and other reviewers write notes only.

| entry point | when | what runs | time |
|---|---|---|---|
| `pre-commit` | `git commit` | `check --staged` on the staged change | 10-20 s |
| `commit-msg` | `git commit` | AI attribution, glossary words in the message | < 1 s |
| `pre-push` | `git push` | tamper per pushed commit, tests touched by name and by import, diff coverage, Gitleaks, OSV audit | up to 1 min |
| agent Stop | the agent ends a turn | `check` against `project.base`; red = one round of fixes | 10-20 s |
| manual | before a large push, or to measure | full gate: tests with coverage, mean CRAP, worklist, hotspots | 3-6 min |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add smixs/code-quality-skill/code-quality@git:20260921.b68d7cb
Exact content
mdr add smixs/code-quality-skill/code-quality@sha256:4fe4221a7753f35a

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mwzdfx2o2k2dy4so.svg)](https://markdownregistry.com/a/art_mwzdfx2o2k2dy4so)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.b68d7cb latest2026-09-21 b68d7cb 8,051 BA view · diff
git:20260921.5f0f4c02026-09-21 5f0f4c0 7,349 BA view · diff
git:20260921.71e46e72026-09-21 71e46e7 37,660 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8051 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

smixs/code-quality-skill · 3 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mwzdfx2o2k2dy4so
GET https://markdownregistry.com/api/v1/resolve?ref=smixs/code-quality-skill/code-quality
GET https://markdownregistry.com/api/v1/blob/4fe4221a7753f35ae927b8a29cb580924e52a33b681b28ece1237ff8e69b4780

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Other files named code-quality

code-quality skill
notque/vexjoy-agent · skills/code-quality/code-quality/SKILL.md · Code quality: cleanup, linting, formatting, quality gates.
git:20260919.28d30f9 · audit A · 424 stars
code-quality skill
blackbelttechnology/pi-agent-dashboard · .pi/skills/code-quality/SKILL.md · Drive static-analysis code quality in pi-agent-dashboard with Biome (analyze → fix → test), in changed-files or…
git:20260805.ff041ae · audit A · 299 stars
code-quality skill
fusengine/agents · plugins/ai-pilot/skills/code-quality/SKILL.md · Use when validating code quality after modifications -- SOLID compliance, DRY duplication, linter errors, architecture…
git:20260729.3b91eed · audit A · 28 stars
code-quality skill
cooneycw/claude-power-pack · .claude/skills/code-quality/SKILL.md · Code review, testing and quality patterns. Use when reviewing code, deciding what testing a change needs, or judging…
git:20260920.677b300 · audit A · 19 stars
code-quality skill
smart-ai-memory/attune-ai · .agents/skills/code-quality/SKILL.md · Code review to find quality issues, style violations, and code smells. Triggers on: review, code review, quality, lint…
git:20260628.4fd65a5 · audit A · 10 stars
code-quality skill
smart-ai-memory/attune-ai · plugin/skills/code-quality/SKILL.md · Code review to find quality issues, style violations, and code smells. Triggers on: review, code review, quality, lint…
git:20260628.4fd65a5 · audit A · 10 stars

Browse by kind, by grade A, or by owner.