← Back to list

pattern-discovery
by bybren-llc
Production-validated SAFe multi-agent development methodology with Claude Code. Treat AI agents as specialized team members (11 roles: BSA, Architect, QAS, etc). Complete whitepaper + working template.
⭐ 22🍴 7📅 Jan 20, 2026
SKILL.md
name: pattern-discovery description: Pattern library discovery for pattern-first development. Use BEFORE implementing any new feature, creating components, writing API routes, or adding database operations. Ensures existing patterns are checked first.
Pattern Discovery Skill
Purpose
Enforce pattern-first development by checking the pattern library before implementing new functionality.
When to Use
- About to create a new API route
- About to create a new UI component
- About to add database operations
- User asks "how do I implement..." or "how should I build..."
Pattern Discovery Protocol
ALWAYS check patterns before writing new code:
Step 1: Check Pattern Library
ls docs/patterns/api/ # API route patterns
ls docs/patterns/ui/ # UI component patterns
ls docs/patterns/database/ # Database patterns
ls docs/patterns/testing/ # Testing patterns
Step 2: Review Pattern Index
See docs/patterns/README.md for the complete index.
Step 3: Apply or Escalate
If pattern exists: Copy, customize, validate.
If missing: Search codebase, implement following conventions, report gap.
Pattern Matching Guide
| If you need to... | Use this pattern |
|---|---|
| Create authenticated API endpoint | api/user-context-api.md |
| Create admin-only API endpoint | api/admin-context-api.md |
| Handle external webhooks | api/webhook-handler.md |
| Validate API input with Zod | api/zod-validation-api.md |
| Create protected page | ui/authenticated-page.md |
| Build form with validation | ui/form-with-validation.md |
| Add new table with RLS | database/rls-migration.md |
| Test API endpoints | testing/api-integration-test.md |
Reference
- Pattern Index:
docs/patterns/README.md - RLS Patterns: See
rls-patternsskill - Frontend Patterns: See
frontend-patternsskill
Score
Total Score
75/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

