スキル一覧に戻る
DeruL0

architecture-health

by DeruL0

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: architecture-health description: Diagnoses project health, architecture risks, and technical debt. Use when starting a new session or analyzing the codebase structure.

Architecture Health Skill

Follow this process to generate a "Project Health Diagnostic Report":

1. Structural Analysis

  • File Sizes: Identify "God Class" files (>400 lines or mixed responsibilities).
  • Directory Structure: Check if files are grouped by domain (e.g., loaders/, processors/).
  • Naming: Ensure file names are specific (e.g., pnm_adjacency.py instead of adjacency.py).

2. Code Pattern Analysis

  • Dependencies: grep for import statements to find circular or cross-layer violations (e.g., core importing gui).
  • Safety: grep for except: (bare except) or pass blocks in error handling.
  • Performance: Look for critical loops in Python that aren't vectorized.

3. Report Generation

Generate a Markdown table sorted by urgency (P0, P1, P2):

PriorityIssue TypeLocationRecommendation
P0Critical Safetydisk_cache.pyReplace bare except: with OSError.
P1Refactoringpnm.pySplit into adjacency and throat modules.
P2Maintenanceutils.pyAdd type hints.

4. Action Plan

  • Propose specific refactoring steps (Extract Method, Split File, Rename).
  • Verify changes with imports and tests.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です