← スキル一覧に戻る

pattern-detection
by vneseyoungster
ChocoVine turns "Vibes Coding" into Engineering. It stops hallucinations by enforcing a strict Research → Test → Code loop.
⭐ 23🍴 17📅 2026年1月23日
SKILL.md
name: pattern-detection description: Detect and document existing code patterns in a codebase. Use to maintain consistency with established conventions when writing new code.
Pattern Detection Skill
Purpose
Identify and document patterns for consistency enforcement.
Pattern Categories
1. Naming Conventions
Reference: patterns/naming-conventions.md
Detection method:
- Sample 10+ files across different directories
- Extract function/class/variable names
- Identify dominant patterns
2. Error Handling
Reference: patterns/error-handling.md
Detection method:
- Search for try/catch blocks
- Find custom error classes
- Check for error middleware
3. Testing Patterns
Reference: patterns/testing-patterns.md
Detection method:
- Locate test files
- Analyze test structure
- Identify mocking approach
Consistency Scoring
Rate codebase consistency:
- High (90%+): Strong patterns, few deviations
- Medium (70-89%): Clear patterns with some variation
- Low (<70%): Inconsistent, needs standardization
Output Format
Create patterns document with:
- Detected patterns with examples
- Consistency score per category
- Deviation examples
- Recommendations for standardization
Storage Location
Save to: docs/research/patterns-{date}.md
スコア
総合スコア
70/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
