This commit introduces a new /core:qa command to automate the quality assurance process. The command can be run with the following options: - No flags: Runs the full QA suite (linting and tests). - --quick: Runs only the linters for a fast feedback loop. - --fix: Runs the full QA suite and iteratively attempts to fix issues using the project's auto-formatter. The command detects the project type (Go or PHP) and runs the appropriate QA tools. This addresses the user's request to have an automated and iterative QA command.
17 lines
380 B
Markdown
17 lines
380 B
Markdown
---
|
|
name: qa
|
|
description: Run iterative QA loop until all checks pass
|
|
args: [--fix] [--quick]
|
|
run: ${CLAUDE_PLUGIN_ROOT}/scripts/qa.sh $@
|
|
---
|
|
|
|
# QA Loop
|
|
|
|
Run QA checks and fix issues iteratively.
|
|
|
|
## Action
|
|
1. Detect project type from go.mod or composer.json
|
|
2. Run `core go qa` or `core php qa`
|
|
3. Parse output for fixable issues
|
|
4. Apply fixes and re-run
|
|
5. Report final status
|