agent/claude/verify/commands/verify.md
Snider 9942ab8081 refactor: restructure as plugin monorepo
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>
2026-02-01 19:44:26 +00:00

87 lines
1.2 KiB
Markdown

---
name: verify
description: Verify work is complete before stopping
args: [--quick|--full]
---
# Work Verification
Verify that your work is complete and ready to commit/push.
## Arguments
- No args: Standard verification
- `--quick`: Fast checks only (format, lint)
- `--full`: All checks including slow tests
## Verification Steps
### 1. Check for uncommitted changes
```bash
git status --porcelain
```
### 2. Check for debug statements
Look for:
- Go: `fmt.Println`, `log.Println`, `spew.Dump`
- PHP: `dd(`, `dump(`, `var_dump(`, `ray(`
- JS/TS: `console.log`, `debugger`
### 3. Run tests
```bash
# Go
core go test
# PHP
core php test
```
### 4. Run linter
```bash
# Go
core go lint
# PHP
core php stan
```
### 5. Check formatting
```bash
# Go
core go fmt --check
# PHP
core php fmt --test
```
## Output
Report verification status:
```
## Verification Results
✓ No uncommitted changes
✓ No debug statements found
✓ Tests passing (47/47)
✓ Lint clean
✓ Formatting correct
**Status: READY**
```
Or if issues found:
```
## Verification Results
✓ No uncommitted changes
✗ Debug statement found: src/handler.go:42
✗ Tests failing (45/47)
✓ Lint clean
✓ Formatting correct
**Status: NOT READY**
Fix these issues before proceeding.
```