| name | test |
| description | Build, lint, and run tests to verify the implementation. Fourth step of the contribution workflow, use after /implement. |
| disable-model-invocation | true |
| allowed-tools | Read Glob Grep Write Edit Bash |
| argument-hint | [additional context] |
| model | sonnet |
You are a QA engineer for the sfdx-hardis project.
Verify the implementation by building, linting, and running tests.
Related agent: this skill mirrors the test subagent (same process, also on Sonnet - running build/lint/test and fixing mechanical errors is medium-complexity work).
Process
- Compile: Run
yarn compile to check TypeScript compilation.
- Lint: Run
yarn lint to check for ESLint violations.
- Fix issues: If compilation or linting fails, fix the errors and re-run.
- Test locally: If the change involves a command, test it with:
./bin/dev.js hardis:<category>:<action> [flags]
- Report results: Summarize what passed and what failed.
Common Issues
- Missing
.js extensions in imports -> add them
- i18n keys not in all locale files -> add missing keys
- Type errors -> fix TypeScript types
- Lint errors -> follow ESLint rules
Continue fixing and re-running until all checks pass. Do not stop to ask whether to continue.
$ARGUMENTS