ipo-requirement-analyzer

Uses the IPO (Input–Process–Output) method to break fuzzy requirements, features, or business processes into executable atomic nodes. Defines for each node trigger conditions, JSONC inputs/outputs, processing rules, exceptions, upstream/downstream tracing, flow/sequence diagrams, open items, and change impacts. Intended for requirement analysis, feature/process decomposition, and data flow design.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ipo-requirement-analyzer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-fa1ee46809ecfb4ea6cbf38dc522267bf51d512a44a4eab400c95bda70542527. Verify the upstream source and version against https://skillhub.cn/skills/user_4b4d8c50/ipo-requirement-analyzer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Uses the IPO (Input–Process–Output) method to break fuzzy requirements, features, or business processes into executable atomic nodes. Defines for each node trigger conditions, JSONC inputs/outputs, processing rules, exceptions, upstream/downstream tracing, flow/sequence diagrams, open items, and change impacts. Intended for requirement analysis, feature/process decomposition, and data flow design.

0 Downloads

Introduction source: third_party · user_4b4d8c50 · 1.2.5 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ipo-requirement-analyzer
description: 使用 Input–Process–Output(IPO)方法把模糊需求、功能或业务流程拆成可执行的原子节点,定义每个节点的触发条件、JSONC 输入输出、处理规则、异常、上下游追溯、流程图/时序图、未决项和变更影响。用户要求需求分析、功能/流程拆解、IPO 分析、数据流设计、上下游追溯、黑盒细化、原子动作或在开发前明确节点依赖时使用;单纯写 PRD、UI 设计、代码实现、Bug 调试、任务排期、技术选型或极小文案修改时不使用。

IPO 需求分析与原子化拆解

核心目标

把“要做什么”转换为可验证的流程与数据契约,使产品、设计、开发和测试能回答:谁触发、输入从哪里来、处理什么、异常怎么办、输出给谁、如何验收。

不可违反的规则

  1. 每个功能节点都用 Input → Process → Output 审视;未完成 IPO 的节点不得标记完成。
  2. I/O 使用带注释的 JSONC;字段写明类型、必填性、含义、约束及来源/流向。
  3. 上游 O 必须满足下游 I。无法追溯的字段标记 [待定] 并写入未决项,不得编造。
  4. P 保持单一职责;暂时无法细化时标记 [黑盒 v1]、风险和待确认问题。
  5. 区分用户事实、现有系统事实、合理假设和待确认项;会改变流程或数据契约的关键歧义才询问用户。
  6. 修改节点前先做正向、反向和共享依赖影响分析;不得静默破坏下游契约。
  7. 保留原始输入和变更历史,但维护一个清晰的当前版本;不要无限追加重复正文。

执行流程

  1. 预检与定界:提取需求名称、目标、参与者、触发条件、成功结果、范围/排除项和已有材料。判断是否真正需要流程/数据拆解;极小需求直接给简洁建议。
  2. 恢复或初始化:如果已有任务目录,先核对 README.md、节点文件和 checkpoint;否则在用户工作目录创建独立分析目录。详细结构读取 workflow-and-storage.md。
  3. 建立主流程:生成第一版 Mermaid 流程图与节点清单,标出分支、循环、外部系统和 [待定] 节点。先保证端到端闭环,再逐步细化。
  4. 逐节点拆解:读取 ipo-node-contract.md,为节点定义 I、P、O、异常、状态变化、存储、副作用、幂等/重试和验收点。每轮只问 1–3 个最影响契约的问题。
  5. 追溯与一致性检查:验证 O→I 字段、类型、枚举、单位、时序和可选性兼容;同时检查孤立输出、无来源输入、无消费者节点和无法终止的分支。
  6. 补充交互视图:涉及两个以上系统、API、消息、异步任务、回调或严格时序时生成 Mermaid 时序图;纯线性单系统流程可跳过并说明原因。
  7. 合并交付:汇总当前流程、节点 IPO、数据流、黑盒、未决项、变更影响和开发任务清单。使用 assets/impact-report-template.md 作为终稿骨架,并执行完成检查。

节点完成标准

节点至少包含:

  • 名称、目标、责任主体和触发条件;
  • 输入 JSONC、字段约束和可追溯来源;
  • 单一职责处理步骤、业务规则、状态变化与异常路径;
  • 输出 JSONC、字段约束、消费者/存储和副作用;
  • O→I 校验结果、未决项、假设、验收标准和版本状态。

拆解粒度以“可独立实现、测试、失败和重试”为准。过度细分到无独立业务意义的表达式或代码行时停止。

运行模式

  • 逐节点模式(默认):每轮完成一个节点,更新索引与进度,再处理关键缺口。
  • 批量出稿模式:用户要求快速/一次性输出时,批量生成所有节点;未知项保留 [待定],仍执行 IPO 与追溯检查,不把猜测当事实。
  • 变更分析模式:用户修改节点、细化黑盒或改变主流程时,先读取 change-impact-rules.md。
  • 现有项目模式:用户提供项目目录时,可先运行 scripts/scan_project_tree.py;扫描只提供上下文,不能用代码结构替代业务确认。

按需资源路由

  • 如果要创建目录、分阶段执行、切换交互模式或恢复中断,读取 workflow-and-storage.md。
  • 如果要定义 JSONC、判断原子粒度、执行 O→I 校验或生成 Mermaid,读取 ipo-node-contract.md。
  • 如果涉及代码、配置、数据、测试、构建或 Schema 文件,读取 file-taxonomy.md。
  • 如果修改节点、输入输出、黑盒或整体流程,读取 change-impact-rules.md。
  • 如果遇到脚本、格式、数据断层、过度拆解、协作或恢复问题,读取 faq.md。
  • 如果用户问是否适用,读取 assets/decision-tree.md;需要快速引导时读取 assets/quickstart-5min.md;需要完整示例时读取 assets/example-user-login.md。

不要一次性加载全部资源。

项目扫描

python scripts/scan_project_tree.py <项目目录> --depth=5 --json --output=<扫描结果.json>

需要增量扫描时使用 --resume=<旧结果.json>;排错时使用 --verbose;按文件类型过滤时使用 --category=<类型>。脚本失败时用简明语言说明原因,跳过扫描并继续基于需求材料拆解。

强制交付

  • 小型需求:主流程图 + 节点 IPO 汇总 + 未决项。
  • 标准需求:索引、独立节点文件、未决项、必要时的时序图、完整终稿。
  • 变更需求:额外生成变更影响矩阵,标明直接/间接影响和需回归节点。

所有产物写入用户任务目录,不写入 Skill 目录,不覆盖用户原始材料。

完成检查

  • 主流程存在明确起点、成功终点、失败/取消路径和所有关键分支。
  • 每个节点满足完成标准;所有 [待定] 已集中列出。
  • 上游 O 与下游 I 的字段、类型、枚举、单位和时序兼容。
  • 外部系统、人工操作、持久化、副作用、重试和幂等要求已说明。
  • 变更影响已追溯;流程图、节点文件、终稿与开发任务一致。

Current listing version

1.2.5

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供 IPO 方法论,将模糊需求拆解为可执行原子节点,解决产品、设计、开发、测试协作中的核心痛点
  • 覆盖需求分析、流程拆解、数据流设计、上下游追溯等高频刚需场景,具备高实用价值
Trigger Precision95/100

Highlights

  • 触发词精准完整,明确区分使用场景与排除场景,边界清晰,覆盖多种变体
Structure and Standards85/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档未包含 When to Use 章节和端到端完整示例,影响用户快速理解适用场景

    Recommendation: 补充 When to Use 章节和至少一个端到端完整示例(如用户登录流程的 IPO 拆解)

  • Document is too long Reported severity: Minor

    主文档约 1800 字,超出理想长度,影响阅读效率

    Recommendation: 精简主文档,将部分细节移至引用文件,保持主文档在 1000 字以内

Highlights

  • 结构完整,包含执行流程、节点完成标准、运行模式、资源路由等关键章节
  • 流程清晰,有明确出口条件与完成检查机制
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常场景
  • 不可逆操作有变更影响分析机制,确保执行可靠性
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.