Borrowing it
Nothing to install: this file belongs to senda-labs/DQIII8. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/senda-labs/DQIII8/main/.claude/skills/quality-gate/SKILL.mdgit clone --depth 1 https://github.com/senda-labs/DQIII8Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/senda-labs/dqiii8/quality-gate)<a href="https://agentmods.dev/skills/senda-labs/dqiii8/quality-gate"><img src="https://agentmods.dev/badge/skills/senda-labs/dqiii8/quality-gate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/senda-labs/dqiii8/quality-gate"><img src="https://agentmods.dev/badge/skills/senda-labs/dqiii8/quality-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00670 |
| Opus 5 | $0.00022 | $0.00335 |
| Sonnet 5 | $0.00009 | $0.00134 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
quality-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/quality-gate — On-Demand Quality Pipeline
Run the DQIII8 quality pipeline for a file or directory scope.
Usage
/quality-gate [path|.] [--fix] [--strict]
- Default target: current directory (
.) --fix: allow auto-format/fix where supported (Black, isort)--strict: treat warnings as errors
Pipeline
Run these phases in order. Stop on first failure unless --strict is passed.
Phase 1 — Format (Black)
black --check [path] 2>&1 | tail -15
# With --fix:
black [path]
Phase 2 — Imports (isort, if installed)
isort --check-only [path] 2>&1 | head -10
# With --fix:
isort [path]
Phase 3 — Lint (ruff)
ruff check [path] --select E,F,W,PLE2510,PLE2512,PLE2513,PLE2514,PLE2515 2>&1 | head -30
Fail on E, F, and PLE25xx codes (hidden/invalid Unicode control characters — zero false positives against this repo, unlike RUF001-003 which flag legitimate stylistic uses of the multiplication sign and info-symbol-with-VS16 and were deliberately excluded). W codes: report only.
Phase 4 — Tests (pytest)
python3 -m pytest tests/ -x -q --tb=short 2>&1 | tail -20
With --strict: fail on warnings too (-W error).
Phase 5 — Security Quick-Scan
grep -rn "shell=True" [path] --include="*.py" | grep -v "#\|test_"
grep -rn "f['\"].*SELECT\|f['\"].*INSERT\|f['\"].*DELETE" [path] --include="*.py"
Both must return empty.
Output Format
QUALITY GATE — [path]
=====================
Phase 1 Format: PASS
Phase 2 Imports: PASS / SKIP (isort not installed)
Phase 3 Lint: PASS / FAIL — 3 errors
Phase 4 Tests: PASS — 12 passed in 0.8s
Phase 5 Security: PASS
RESULT: PASS / BLOCKED
When to Run
- Before every commit
- After
python-specialisthands off code - After refactoring (in place of running phases manually)
- As part of
/checkpoint createflow
Related
security-reviewskill (Claude Code built-in) — deeper checklist for auth/secrets code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 95 lines · 43 tokens per session scan A bb014842e1b7
quality-gate is a skill published in the GitHub repository senda-labs/DQIII8 (11 stars, last pushed 23d ago), licensed MIT. It adds 43 tokens to every session and 670 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mcp-app-verification
Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection.
eval-harness
Evaluation harness for testing agent and skill quality through structured benchmarks, regression tests, and quality scoring.
hook-management
Session-scoped hook lifecycle management with enable/disable/status controls, execution profiling, and color-coded performance alerts.
spec-execution
6-phase iterative specification execution workflow covering implementation, testing, review, improvement, commit, and progress tracking with quality-gated convergence.
tdd-enforcement
Red-Green-Refactor TDD methodology with mandatory failing tests, minimal implementation, quality refactoring, and 80% coverage gating.
test-automation
Execute Vitest and Playwright test suites with result collection and failure analysis.