From qult
Set up or re-initialize qult for the current project. Creates .qult/ directory, detects gates, and configures .gitignore. Idempotent — safe to run multiple times. Use for initial setup or after changing toolchain. NOT for config changes (use /qult:config).
npx claudepluginhub hir4ta/qult --plugin qultThis skill is limited to using the following tools:
Set up or re-initialize qult for this project. Idempotent — safe to run anytime.
Guides strict Test-Driven Development (TDD): write failing tests first for features, bugfixes, refactors before any production code. Enforces red-green-refactor cycle.
Guides systematic root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Guides A/B test setup with mandatory gates for hypothesis validation, metrics definition, sample size calculation, and execution readiness checks.
Set up or re-initialize qult for this project. Idempotent — safe to run anytime.
.qult/.state/ directoryCreate if it doesn't exist. Skip if it already exists.
.qult/gates.jsonAnalyze the project toolchain and generate gate configuration.
Check which config files exist in the project root only (not recursive). Use Glob with root-only patterns like biome.json, tsconfig.json, package.json — never **/* patterns.
Look for:
Read the relevant config files to confirm which tools are actually configured.
If no toolchain config files are found, report "No tools detected" and write an empty {} to gates.json.
Write .qult/gates.json using this schema:
{
"on_write": {
"lint": { "command": "...", "timeout": 3000 },
"typecheck": { "command": "...", "timeout": 10000, "run_once_per_batch": true }
},
"on_commit": {
"test": { "command": "...", "timeout": 30000 }
},
"on_review": {
"e2e": { "command": "...", "timeout": 60000 }
}
}
Rules:
on_write commands use {file} placeholder for the edited file path (e.g. biome check {file})run_once_per_batch: true for expensive commands that check the whole project (typecheck, full lint)on_commit commands run before each commit (unit/integration tests)on_review commands run during code review (e2e, browser tests)"on_write": {}For each gate command, confirm the tool is available (e.g. which biome, cargo --version). Do NOT run full test suites or commands that modify state. If a tool is not installed, remove that gate.
.qult/ to .gitignoreAdd .qult/ to .gitignore if not already present. Skip if already there.
Remove if they exist (from older qult versions):
.claude/rules/qult.md (old single rule file).claude/rules/qult-gates.md (replaced by MCP instructions).claude/rules/qult-quality.md (replaced by MCP instructions).claude/rules/qult-plan.md (replaced by MCP instructions).qult/hook.mjs (old standalone hook).claude/settings.local.json containing .qult/hook.mjsqult initialized:
.qult/.state/ — ready
gates.json — N on_write, N on_commit, N on_review
.gitignore — .qult/ added
If hooks don't fire in VS Code or your environment, suggest: /qult:register-hooks