← Back to list

verify
by c-daly
Enforcement system for agent-based workflows in Claude Code
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: verify description: Run code quality checks (ruff, black, mypy, pytest) user_invocable: true
/verify - Code Quality Verification
Runs all configured quality checks and reports pass/fail status. Required before commits when enforcement is enabled.
Usage
/verify # Run all checks
/verify --fix # Run with auto-fix where possible
/verify lint # Run only linting (ruff)
/verify format # Run only formatting check (black)
/verify types # Run only type checking (mypy)
/verify tests # Run only tests (pytest)
Tools
| Tool | Purpose | Auto-fix |
|---|---|---|
| ruff | Linting + import sorting | Yes (--fix) |
| black | Code formatting | Yes |
| mypy | Type checking | No |
| pytest | Test execution | No |
Implementation
When invoked, execute the verify script:
python3 ~/.claude/plugins/agent-swarm/scripts/verify.py [args]
The script will:
- Detect project type (Python, Node, etc.)
- Run appropriate checks
- Set
verify_passedflag in session state if all pass - Output compliance signal:
[VERIFY] tests: X | types: X | lint: X | format: X
Enforcement Integration
When verify enforcement is enabled:
- Git commits are blocked unless verify has passed
- The
verify_passedflag resets on any file edit - Run
/verifyafter making changes, before committing
Exit Codes
0- All checks passed1- One or more checks failed2- Configuration error (missing tools)
Configuration
The script auto-detects tools. To customize, create .verify.json:
{
"lint": {"enabled": true, "cmd": "ruff check ."},
"format": {"enabled": true, "cmd": "black --check ."},
"types": {"enabled": true, "cmd": "mypy ."},
"tests": {"enabled": true, "cmd": "pytest"}
}
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon