Agent Skillsshinpr/claude-code-workflows › requirement-convergence

requirement-convergence

GitHub

在需求进入工作流前,分离目标与具体方案,明确成果、非目标及成本范围。通过交互协议澄清模糊点,确保需求就绪后再进行设计,防止因需求偏差导致构建错误。

dev-workflows-frontend/skills/requirement-convergence/SKILL.md shinpr/claude-code-workflows

Trigger Scenarios

需求分析阶段 设计开始前

Install

npx skills add shinpr/claude-code-workflows --skill requirement-convergence -g -y
More Options

Non-standard path

npx skills add https://github.com/shinpr/claude-code-workflows/tree/main/dev-workflows-frontend/skills/requirement-convergence -g -y

Use without installing

npx skills use shinpr/claude-code-workflows@requirement-convergence

指定 Agent (Claude Code)

npx skills add shinpr/claude-code-workflows --skill requirement-convergence -a claude-code -g -y

安装 repo 全部 skill

npx skills add shinpr/claude-code-workflows --all -g -y

预览 repo 内 skill

npx skills add shinpr/claude-code-workflows --list

SKILL.md

Frontmatter
{
    "name": "requirement-convergence",
    "description": "Separates the outcome a change must produce from the requirements proposed to reach it, records what the user excluded, and bands cost from structure. Use when a requirement enters a workflow, before design begins."
}

Requirement Convergence

Purpose

Requirements arrive bloated, ambiguous, or aimed at the wrong outcome. A capable model reconciles all three into a coherent plan and builds it faithfully — delivering exactly what was asked for when what was asked for was wrong.

This skill converges what to build. How to build it, and which documents the change requires, are settled after the what is.

Convergence Fields

Field Pass condition
outcome One observable result. A requirement that does not serve it is excess.
requirements[] Every item labeled current-state, desired-future, or speculative.
nonGoals[] Authored by the user, or the user stated there are none.
cost A band with the structural evidence that places it, plus the unknowns that remain.

cost is a rough band, not the effort estimate a work plan schedules against; requirements cannot support person-days. Its unknowns carry more decision weight than its size.

Each field carries a readiness label: ready, weak, or weak-but-explicit (weak, and the user agreed to leave it unresolved). Only the user sets weak-but-explicit. Requirements are converged when every applicable field is ready or weak-but-explicit.

Judgment rules per field: references/criteria.md.

Hearing Protocol

Eliciting requires user interaction, so the orchestrator owns it. It runs after the analysis that produced the scope facts, because the orchestrator investigates nothing itself.

Register these steps before starting and record each step's evidence as it completes:

Step Action Completion evidence
1 State the scope facts the analysis produced, then separately what they imply for the requirement Facts listed with the analysis output they came from
2 Ask about the fields below ready, at most two questions per message One question per field below ready
3 Record each answer as that field's value The value uses wording the user supplied, not wording the hearing offered
4 Re-ask once when a recorded value still fails its pass condition, then mark the field weak-but-explicit when the user agrees to leave the second answer as it stands Two recorded answers, or the user's agreement to stop
5 Hand the record to the step that judges the fields An updated record returned from that step

Step 3's evidence is what keeps the hearing reviewable: a value restating the hearing's own candidates fails it, so the user's judgment survives however the question was put.

Storage Protocol

Carrier Holds Written by
The convergence record in the judging step's output Every field with its readiness label Whichever step judged them
PRD Success Criteria and Future / Out of Scope outcome; nonGoals and speculative requirements with origin user The agent that owns the PRD
Design Doc Requirement Convergence The same when no PRD exists, and the fields left weak-but-explicit in every case The agent that owns the Design Doc

A flow that produces neither document carries the record in its own context to the next step.

Reference Protocol (For Downstream Consumers)

  1. Read the convergence record from the prompt.
  2. Treat nonGoals and speculative requirements as excluded from the current change. A speculative item becomes buildable only after the user promotes it to desired-future.
  3. Treat a weak-but-explicit field as a recorded open question rather than a settled decision, and escalate when the work depends on resolving it.

Quality Checklist

  • Scope facts were presented before questions were asked
  • nonGoals came from the user, or the user stated there are none
  • Every applicable field is ready, or weak-but-explicit by the user's agreement

References

  • references/criteria.md — judgment rules per field, cost inputs, challenge intensity, solution-in-disguise test

Version History

  • 29b9210 Current 2026-08-03 04:20

Same Skill Collection

dev-skills/skills/ai-development-guide/SKILL.md
dev-skills/skills/coding-principles/SKILL.md
dev-skills/skills/documentation-criteria/SKILL.md
dev-skills/skills/external-resource-context/SKILL.md
dev-skills/skills/frontend-ai-guide/SKILL.md
dev-skills/skills/implementation-approach/SKILL.md
dev-skills/skills/integration-e2e-testing/SKILL.md
dev-skills/skills/llm-friendly-context/SKILL.md
dev-skills/skills/requirement-convergence/SKILL.md
dev-skills/skills/test-implement/SKILL.md
dev-skills/skills/testing-principles/SKILL.md
dev-skills/skills/typescript-rules/SKILL.md
dev-workflows-frontend/skills/ai-development-guide/SKILL.md
dev-workflows-frontend/skills/coding-principles/SKILL.md
dev-workflows-frontend/skills/documentation-criteria/SKILL.md
dev-workflows-frontend/skills/external-resource-context/SKILL.md
dev-workflows-frontend/skills/frontend-ai-guide/SKILL.md
dev-workflows-frontend/skills/implementation-approach/SKILL.md
dev-workflows-frontend/skills/integration-e2e-testing/SKILL.md
dev-workflows-frontend/skills/llm-friendly-context/SKILL.md
dev-workflows-frontend/skills/recipe-diagnose/SKILL.md
dev-workflows-frontend/skills/recipe-front-adjust/SKILL.md
dev-workflows-frontend/skills/recipe-front-build/SKILL.md
dev-workflows-frontend/skills/recipe-front-design/SKILL.md
dev-workflows-frontend/skills/recipe-front-plan/SKILL.md
dev-workflows-frontend/skills/recipe-front-review/SKILL.md
dev-workflows-frontend/skills/recipe-task/SKILL.md
dev-workflows-frontend/skills/recipe-update-doc/SKILL.md
dev-workflows-frontend/skills/subagents-orchestration-guide/SKILL.md
dev-workflows-frontend/skills/task-analyzer/SKILL.md
dev-workflows-frontend/skills/test-implement/SKILL.md
dev-workflows-frontend/skills/testing-principles/SKILL.md
dev-workflows-frontend/skills/typescript-rules/SKILL.md
dev-workflows-fullstack/skills/ai-development-guide/SKILL.md
dev-workflows-fullstack/skills/coding-principles/SKILL.md
dev-workflows-fullstack/skills/documentation-criteria/SKILL.md
dev-workflows-fullstack/skills/external-resource-context/SKILL.md
dev-workflows-fullstack/skills/frontend-ai-guide/SKILL.md
dev-workflows-fullstack/skills/implementation-approach/SKILL.md
dev-workflows-fullstack/skills/integration-e2e-testing/SKILL.md
dev-workflows-fullstack/skills/llm-friendly-context/SKILL.md
dev-workflows-fullstack/skills/recipe-add-integration-tests/SKILL.md
dev-workflows-fullstack/skills/recipe-build/SKILL.md
dev-workflows-fullstack/skills/recipe-design/SKILL.md
dev-workflows-fullstack/skills/recipe-diagnose/SKILL.md
dev-workflows-fullstack/skills/recipe-front-adjust/SKILL.md
dev-workflows-fullstack/skills/recipe-front-build/SKILL.md
dev-workflows-fullstack/skills/recipe-front-design/SKILL.md
dev-workflows-fullstack/skills/recipe-front-plan/SKILL.md

Metadata

Files
0
Version
29b9210
Hash
ddc8e48a
Indexed
2026-08-03 04:20

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 08:28
浙ICP备14020137号-1 $bản đồ khách truy cập$