analyze
무료Risk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create graph-informed implementation plans before writing code. Use before any non-trivial task. Skip for small changes (≤2 files, <20 lines, no hub/bridge).
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Scan codebase, map blast radius, create machine-readable plan.
Announce: "📐 /supergraph:plan — scanning codebase, creating plan..."
< 20 lines, ≤2 files, no hub/bridge, complexity <10 → skip to /supergraph:tdd.
0. Read CONTEXT.md (if exists):
cat CONTEXT.md 2>/dev/null | head -60
Use domain vocabulary from CONTEXT.md in all plan task descriptions — never use raw file/class names where a domain term exists.
1. Read the codebase (MANDATORY before planning):
2. Ensure graph: Reuse /supergraph:scan context. If not done → run scan first. Requires CBM_PROJECT + healthy index_status; if stale/degraded → index_repository (absolute path).
3. Graph analysis (parallel where independent): See references/codebase-memory-contract.md#Lifecycle. Run detect_changes, search_graph, trace_path (inbound/outbound/data-flow), and get_architecture (overview/clusters/boundaries/hotspots) in parallel (no dependencies). After get_graph_schema, run recipes hubs, bridges, test-gaps, cross-boundary (requires schema). Derive risk from evidence; preserve escalation: >20 files STOP, hub/bridge needs approval. Respect scan: TTL — skip index_repository if fresh per scan logic.
3b. Serena (optional): See serena/SKILL.md:Setup. If scan not run, call initial_instructions first, then find_referencing_symbols/find_implementations for key symbols. Cross-check with graph blast radius; persist callers via write_memory only if >10 files or hub/bridge. Skip if Serena unavailable.
4. Discuss approach (MANDATORY, user's language): Present findings 1-3 (naming/patterns, graph risk, task summaries). Get approval before step 5; revise if needed.
5. Create plan tasks — each task 2-5 min. Use exact machine-readable format:
## Task N: [Short description]
Wave: 1
Status: pending
Risk: low|medium|high
Dependencies: none | Task 1, Task 2
Model: flash|inherit|pro
Files:
- Create: path/to/new-file.ext
- Modify: path/to/existing-file.ext
- Test: path/to/test-file.ext
Blast radius:
- path/to/affected-file.ext
Acceptance:
- [observable behavior/result]
- [test/assertion that proves completion]
TDD:
- Behavior: single externally visible behavior
- Test file: exact test path
- Test name: behavior-focused test name
- 🔴 RED command: $FOCUSED_TEST_CMD
- Expected 🔴 RED failure: missing behavior, not setup/import/syntax error
- Minimal 🟢 GREEN change: smallest implementation idea
- Refactor candidates: optional, only after 🟢 GREEN
- Mocking: none | why unavoidable
Steps:
1. 🔴 RED: write exact failing test
Command: $TEST_CMD
Expected: FAIL
2. 🟢 GREEN: write minimal implementation
Command: $TEST_CMD
Expected: PASS
3. REFACTOR: safe cleanup or none
4. VERIFY:
- $TEST_CMD
- $LINT_CMD (skip if none)
Checkpoint:
- Files: path/to/test-file.ext path/to/source-file.ext
- Commit: type: short description
Task status values: pending, in_progress, completed, stuck (managed by executor)
For complex multi-module or schema changes, embed key contracts, schemas, and design constraints directly in the ## Architecture & Contracts section of this plan (or reference an approved SDD via Spec: path/to/sdd.md if one was explicitly created). Avoid creating separate SDD files unless specifically requested by the user.
Dependencies: none).Model: flash for low-risk boilerplate, test fixtures, types, docs (3x faster, 5x cheaper).Model: inherit for standard feature logic and tests.Model: pro for high-risk core algorithms, architecture refactoring, complex multi-file coupling.6. Validate: All tasks have ## Task N: + fields (Wave,Status,Risk,Dependencies,Files,Acceptance,TDD,Steps,Checkpoint), no TBD/TODO, real commands from .supergraph-env, no indentation under fields, no extra blank lines.
7. Save plan: docs/supergraph/plans/YYYY-MM-DD-<slug>.md
8. Analysis Gate (if analyze used): Verify plan aligns with ## Analysis Decisions; if skipped → WARN "No analyze step".
9. Environment Context (MANDATORY): Include Language, TEST/LINT/FORMAT/BUILD cmds from .supergraph-env, Branch, commit style, codebase conventions, Graph Context (blast radius/hubs/bridges/communities).
10. Auto-review: Dispatch plan-reviewer; fix issues; require Approved before execute.
11. User Gate (MANDATORY): Present summary (plan path, Tasks N, blast radius, hubs, Review Approved); ask [yes/modify/reject] in user's language.
12. Report: ✅ /supergraph:plan complete — Plan: ... Tasks: N | Blast: M | Review: Approved | User: yes/modify/rejected | Next: execute/tdd
## Task N: for executor parsing아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Risk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Proactive architecture review — explore codebase structure, generate a self-contained HTML report with Mermaid diagrams and candidate improvements, then grill the findings. Use when planning a large refactor, onboarding to an unfamiliar codebase, or before a major architectural change.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Autonomous human-like browser control and professional QA/QC testing. Powered by agent-browser (Rust native CDP, zero Playwright) with ISTQB test matrix generation, automated testcase execution, console/network error tracing, and defect reporting.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Persistent token-compression mode (~75% reduction) — now always-on by default. Strips filler while keeping code exact.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.