agent/claude/qa/commands/check.md
Snider b633ae81f6 feat: add README and flesh out all plugins
README.md:
- GitHub-friendly documentation
- Installation instructions
- Plugin overview with commands

review plugin:
- /review:security - Security-focused review
- /review:pr - PR review
- hooks.json - Post PR create suggestion
- scripts/post-pr-create.sh

verify plugin:
- /verify:ready - Quick readiness check
- /verify:tests - Test verification
- hooks.json - Pre-push warning
- scripts/pre-push-check.sh

qa plugin:
- /qa:check - Report only, no fixes
- /qa:lint - Lint with fix option
- hooks.json - QA output filtering

ci plugin:
- /ci:status - CI status display
- /ci:run - Trigger workflows
- /ci:fix - Analyse and fix failures
- hooks.json - Post-push CI hint
- scripts/post-push-ci.sh

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 19:48:51 +00:00

74 lines
1.1 KiB
Markdown

---
name: check
description: Run QA checks without fixing (report only)
args: [--go|--php|--all]
---
# QA Check
Run QA pipeline and report issues without fixing them.
## Usage
```
/qa:check # Auto-detect project type
/qa:check --go # Force Go checks
/qa:check --php # Force PHP checks
/qa:check --all # Run both if applicable
```
## Process
1. **Detect project type**
2. **Run QA pipeline**
3. **Parse and report issues**
4. **Do NOT fix anything**
## Go Checks
```bash
core go qa
```
Runs:
- `go fmt` - Formatting
- `go vet` - Static analysis
- `golangci-lint` - Linting
- `go test` - Tests
## PHP Checks
```bash
core php qa
```
Runs:
- `pint` - Formatting
- `phpstan` - Static analysis
- `pest` - Tests
## Output
```markdown
## QA Report
**Project**: Go (go.mod detected)
**Status**: 3 issues found
### Formatting
✗ 2 files need formatting
- pkg/api/handler.go
- pkg/auth/token.go
### Linting
✗ 1 issue
- pkg/api/handler.go:42 - undefined: ErrNotFound
### Tests
✓ All passing (47/47)
---
**Summary**: fmt: FAIL | lint: FAIL | test: PASS
Run `/qa:qa` to fix these issues automatically.
```