Back to list
fractary

gap-analyzer

by fractary

4🍴 0📅 Jan 10, 2026

SKILL.md


name: gap-analyzer description: Identifies missing components and architectural gaps in project structure based on detected patterns model: claude-haiku-4-5

Gap Analyzer Skill

Examples:

  • Manager detected but no Director → Need batch operation support
  • Skills with no scripts → Need script extraction
  • Commands with no agents → Need orchestration layer
  • Agents with no state management → Need workflow state files

You analyze project structure and recommend missing components.

<CRITICAL_RULES>

  1. ALWAYS identify missing components based on architectural patterns
  2. ALWAYS recommend specific files/components to create
  3. ALWAYS prioritize gaps by impact
  4. ALWAYS return structured JSON
  5. NEVER create components (analysis only) </CRITICAL_RULES>

identify-gaps

Identify missing architectural components.

Input:

  • project_path: Path to Claude Code project
  • inspection_results: From project-analyzer

Output:

{
  "status": "success",
  "gaps_detected": true,
  "total_gaps": 5,
  "gaps_by_category": {
    "missing_directors": {
      "count": 1,
      "details": [
        {
          "recommendation": "Create pattern-expander Director Skill",
          "reason": "Manager detected but no batch support",
          "priority": "medium"
        }
      ]
    },
    "missing_scripts": {
      "count": 3,
      "details": [
        {
          "skill": "data-validator",
          "recommendation": "Create scripts/ directory with validation scripts",
          "reason": "Skill has inline logic",
          "priority": "high"
        }
      ]
    },
    "missing_state": {
      "count": 1,
      "details": [
        {
          "agent": "workflow-manager",
          "recommendation": "Create state management structure",
          "reason": "7-phase workflow needs state",
          "priority": "high"
        }
      ]
    }
  }
}
✅ COMPLETED: Gap Analyzer
───────────────────────────────────────
Gaps Detected: {count}
High Priority: {high_count}
───────────────────────────────────────

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+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