Reorganise as a marketplace with multiple focused plugins: - claude/code: Core development (hooks, scripts, data collection) - claude/review: Code review automation - claude/verify: Work verification - claude/qa: Quality assurance loops - claude/ci: CI/CD integration Structure: - .claude-plugin/marketplace.json lists all plugins - Each plugin has its own .claude-plugin/plugin.json - Commands namespaced: /code:*, /review:*, /qa:*, etc. Install individual plugins or all via marketplace: claude plugin add host-uk/core-agent claude plugin add host-uk/core-agent/claude/code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
| name | description | hooks | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| qa | Run full QA pipeline and fix all issues iteratively |
|
QA Fix Loop
Run the full QA pipeline and fix all issues until everything passes.
Detection
First, detect the project type:
- If
go.modexists → Go project →core go qa - If
composer.jsonexists → PHP project →core php qa - If both exist → check current directory or ask
Process
- Run QA: Execute
core go qaorcore php qa - Parse issues: Extract failures from output
- Fix each issue: Address one at a time, simplest first
- Re-verify: After fixes, re-run QA
- Repeat: Until all checks pass
- Report: Summary of what was fixed
Issue Priority
Fix in this order (fastest feedback first):
- fmt - formatting (auto-fix with
core go fmt) - lint - static analysis (usually quick fixes)
- test - failing tests (may need investigation)
- build - compilation errors (fix before tests can run)
Fixing Strategy
Formatting (fmt/pint):
- Just run
core go fmtorcore php fmt - No code reading needed
Lint errors:
- Read the specific file:line
- Understand the error type
- Make minimal fix
Test failures:
- Read the test file to understand expectation
- Read the implementation
- Fix the root cause (not just the symptom)
Stop Condition
Only stop when:
- All QA checks pass, OR
- User explicitly cancels, OR
- Same error repeats 3 times (stuck - ask for help)