Skip to main content

ix-plan

Generate a risk-ordered implementation plan for a set of targets. Assesses blast radius per target, finds data flows between them, and produces a safe change sequence.

来源信息

仓库
ix-infrastructure/ix-gemini-plugin
最近来源活动
2026年5月17日 23:17
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
ix-plan
description
Generate a risk-ordered implementation plan for a set of targets. Assesses blast radius per target, finds data flows between them, and produces a safe change sequence.
## Goal Answer: in what order should these changes be made, what will break, and what needs testing? If the Ix runtime is unavailable, `ix_status` will report this; fall back to manual assessment. ## Preferred path — unified query For most cases: ``` ix_query({ mode: "plan", targets: [$ARGUMENTS] }) ``` Use the returned `preview_markdown` as the primary plan. Supplement below for high-risk targets. ## Phase 1 — Scope (always) If `$ARGUMENTS` contains symbol names, proceed directly. If `$ARGUMENTS` is a description, first call in parallel: - `ix_text({ pattern: $ARGUMENTS, limit: 10 })` - `ix_locate({ symbol: $ARGUMENTS })` Identify the 1-4 most relevant symbols. ## Phase 2 — Impact per target (parallel) For each target, call simultaneously: - `ix_impact({ target: <target> })` - `ix_callers({ symbol: <target> })` Rank targets by risk level: critical > high > medium > low. ## Phase 3 — Data flow (only if 2+ targets) Call: `ix_trace({ symbol: <highest-risk-target>, to: <second-target> })` ## Phase 4 — Shared dependents (only if high/critical targets exist) Call: `ix_depends({ symbol: <highest-risk-target>, depth: 2 })` ## Output ```text # Change Plan ## Targets & Risk | Target | Risk | Dependents | Key Callers | |--------|------|------------|-------------| | <A> | high | 12 | X, Y, Z | | <B> | low | 2 | P | ## Change Order Edit in this sequence to minimize breakage: 1. [target] — [reason] 2. ... ## Data Flow [A -> trace path -> B — or "targets are independent"] ## Shared Risk [Symbols affected by changes to multiple targets] ## Test Checkpoints After [target A]: verify [specific callers] After [target B]: verify [specific callers] ## Red Flags - [any critical/high target needing extra care] - [any cross-subsystem boundary being crossed] ``` Do not read source code unless a target cannot be resolved by `ix_locate`.
在 GitHub 查看