Skip to main content

ix-architecture

Analyze system design — structure, coupling, code smells, and high-risk hotspots. Purely graph-based, no code reads.

설치로 이동

소스 정보

저장소
ix-infrastructure/ix-gemini-plugin
최근 소스 활동
2026년 5월 17일 23:17
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ix-architecture
description
Analyze system design — structure, coupling, code smells, and high-risk hotspots. Purely graph-based, no code reads.
## Goal Answer: how healthy is this system's design, where are the weak boundaries, and what should be improved? Never reads source code. If the Ix runtime is unavailable, `ix_status` will report this; this skill cannot proceed without the graph. ## Preferred path — unified query For most cases: ``` ix_query({ mode: "architecture", targets: [$ARGUMENTS] }) ``` Use the returned `preview_markdown` as the primary analysis. Supplement below for deeper investigation. ## Phase 1 — Structure (always) Call in parallel: - `ix_subsystems()` — region hierarchy, cohesion scores, external coupling, crosscut scores If `$ARGUMENTS` is provided, also call: - `ix_inventory({ kind: "file", path: $ARGUMENTS })` — file composition of the target Extract: region hierarchy, cohesion scores, external coupling, crosscut scores, confidence. ## Phase 2 — Smells Call: `ix_smells()` If `$ARGUMENTS` is scoped: `ix_smells({ path: $ARGUMENTS })` Classify each finding: `orphan` / `god-module` / `weak-component`. ## Phase 3 — Hotspots (only if smells are found or coupling is high) Call in parallel: - `ix_rank({ by: "dependents", kind: "class", top: 10 })` - `ix_rank({ by: "dependents", kind: "function", top: 10 })` Correlate: are the most-depended-on entities also in poorly-bounded subsystems? ## Output ```text ## Architecture Analysis ### System Structure [Region hierarchy with file counts. Flag: low-confidence boundaries, high-coupling regions, cross-cutting modules.] ### Health Scores | Region | Cohesion | Ext. Coupling | Boundary Ratio | Flag | |--------|----------|---------------|----------------|------| | [name] | [0-1] | [0-1] | [ratio] | [warning if bad] | ### Code Smells **High severity:** ... **Medium severity:** ... ### Hotspots [Top components where structural debt + centrality combine] ### Improvement Areas 1. [specific issue] — [concrete suggestion] ### What's healthy [Briefly note well-structured areas] ``` Every number must come directly from tool output.
GitHub에서 보기