quality-gate
Run the ECC formatter quality gate for a single file and report remediation steps.
- Kind
- Prompt
- Works with
- Claude Code, Codex
- Source
- affaan-m/ECC @ d3b8a3e90890
- Path
- commands/quality-gate.md
Credit
- Made by
- affaan-m
- Original
- github.com/affaan-m/ECC/blob/d3b8a3e908904e242ed2dbe66af62cca…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/commands/quality-gate.md (run as /quality-gate)
- Runs scripts
- Yes
- scripts/hooks/quality-gate.js
- shell block in the text
- Uses the network
- None found
- Needs secrets
- None found
- Calls other skills
- verification-loop
- Source revision
- d3b8a3e90890
- Licence
- MIT
- Last activity
- 23 Nov 2026
- Source changed after the scan
- Yes
- Last push 23 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Quality Gate Command
Operator entry point for the formatter quality gate that normally runs as the
`post:quality-gate` PostToolUse hook (`scripts/hooks/quality-gate.js`).
## How it actually works
The gate is a single-file formatter check driven by hook input, not CLI flags:
- The script reads the target from the hook's stdin JSON
(`tool_input.file_path`); it does not take a path argument.
- Behavior toggles are environment variables:
- `ECC_QUALITY_GATE_FIX=true` - apply formatting fixes instead of check-only
- `ECC_QUALITY_GATE_STRICT=true` - log formatter failures as gate failures
- Coverage by file type:
- `.ts/.tsx/.js/.jsx/.json/.md` - Biome `check` or Prettier `--check`,
whichever the project ships (JS/TS under Biome is skipped here because
`post-edit-format` already runs `biome check --write`)
- `.go` - `gofmt`
- `.py` - `ruff format`
- Lint and type checks are not part of this gate. Use the `verification-loop`
skill or the language verification skills for lint/type/test pipelines.
## Usage
To run the gate manually against one file, pipe hook-style JSON into the
script (set the env toggles first if you want fix or strict behavior):
```bash
…