← スキル一覧に戻る

deviation-rules
by mguttmann
Autonomous Organization Framework - A complete system for AI-assisted software development with Claude Code
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: deviation-rules description: Rules for when to auto-fix vs escalate issues
Deviation Rules
Auto-Fix (No Human Needed)
| Issue | Action | Max Attempts |
|---|---|---|
| Linter errors | Run auto-fix | 2 |
| Formatting | Run formatter | 1 |
| Missing imports | Add imports | 1 |
| Type errors (simple) | Fix types | 2 |
| Pre-commit fails | Fix and retry | 2 |
| Test failure (related) | Fix and retry | 3 |
Auto-Fix Workflow
1. Detect failure
2. Identify type
3. If auto-fixable:
- Apply fix
- Retry (max 3x)
- If still failing -> escalate
4. If not auto-fixable:
- Escalate immediately
Escalate to Human
| Issue | Why | Action |
|---|---|---|
| Security vulnerability | Risk | STOP immediately |
| Persistent test failures | Design issue | Document, ask |
| Ambiguous requirements | Need clarity | Ask |
| Architecture changes | Outside scope | STOP, discuss |
| New dependencies | Needs approval | Recommend, wait |
NEVER Do
- Use --no-verify
- Use --force
- Skip hooks
- Ignore security issues
- Make unauthorized changes
Documentation
Log all deviations in SUMMARY.md:
## Deviations
| Issue | Action Taken | Result |
|-------|--------------|--------|
スコア
総合スコア
70/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です