| name | cmd_quality_gate |
| description | Run the ECC quality pipeline on demand: lint, format, and type-check a file or project scope. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> |
Project Path
The first argument is the project path. Before doing anything else:
- Extract the project path from the first argument
- Verify the path exists
- Work within that directory for all file operations and shell commands
Quality Gate Command
Run the ECC quality pipeline on demand for a file or project scope.
Usage
/quality-gate [path|.] [--fix] [--strict]
- default target: current directory (
.)
--fix: allow auto-format/fix where configured
--strict: fail on warnings where supported
Pipeline
- Detect language/tooling for target.
- Run formatter checks.
- Run lint/type checks when available.
- Produce a concise remediation list.
Notes
This command mirrors hook behavior but is operator-invoked.
Arguments
$ARGUMENTS:
[path|.] optional target path
--fix optional
--strict optional