define-outcome
Clarify product intent and observable acceptance for a feature or change when the desired outcome, scope, or success criteria are ambiguous. Reuse sufficient existing criteria without a separate exercise.
- License 许可
- MIT
- 最近更新
- 2026-09-15
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- define-outcome
- description
- Clarify product intent and observable acceptance for a feature or change when the desired outcome, scope, or success criteria are ambiguous. Reuse sufficient existing criteria without a separate exercise.
03 SKILL.md 正文
Define what success looks like before choosing how to build it. The deliverable is a compact acceptance contract that a fresh developer, agent, or reviewer can evaluate without the conversation.
Establish the target
- Read the request and relevant existing product decisions, issues, examples, and behavior. Extract what is already agreed; distinguish user requirements, observed facts, and your proposals.
- Identify the user, situation, problem, desired outcome, scope, and exclusions. Ask only questions requiring user intent or judgment. Investigate factual questions yourself. Do not invent users, targets, constraints, or approval to fill the template.
- Describe observable scenarios with starting conditions, action, and expected result. Include failure and boundary cases relevant to the risk; do not enumerate speculative cases. Include performance, accessibility, compatibility, or safety constraints only when required or materially relevant, and confirm proposed thresholds.
- For each criterion, specify evidence: automated test, live demonstration, measurement, or human review. State the environment or fixture when it affects the verdict. Identify the decision owner for subjective acceptance; if unknown, leave it unresolved rather than assigning someone.
- Present unresolved assumptions and proposed criteria for confirmation. Existing explicit requirements need no redundant approval. Do not proceed past a consequential unresolved decision; research or prototypes may continue within authorized scope.
Record the contract
Keep small contracts inline. For durable work, place the contract in the existing authoritative product/review artifact or issue and link it from plans. If no owner exists, a local work entry may hold the outcome and acceptance; use its optional prd.md only when a separate requirements document is warranted. Do not create a PRD or standalone outcome or acceptance file by default. Follow context-routing for placement and work-lifecycle for checkpointing and resumption.
Use this shape only as far as it helps:
User / situation / problem:
Desired outcome:
Scope / exclusions:
A1: Given … when … then …
Evidence: method, conditions, expected observation
Human decision owner: when required
Relevant failure / boundary scenarios:
Open assumptions and decisions:
Approval: agreed requirements versus proposed additions
Use stable criterion IDs when plans, issues, or tests need to reference them. When a PRD, design document, or issue already owns criteria, plans reference those IDs instead of duplicating them. For visual or interaction requirements, use show-me to include mockups, diagrams, sample outputs, or behavior sketches. Mark which details are required and which are illustrative. Specify implementation only when it is an actual constraint.
Verify without redefining success
- Keep required evidence distinct from evidence actually collected. Before checks run, criteria are pending.
- Report evaluated criteria as passed, failed, blocked, or awaiting human review, with supporting results or the missing evidence. Reserve passed for criteria whose required evidence is satisfied; passing automated checks does not substitute for required human acceptance.
- Evaluate both behavior correctness and whether it achieves the agreed user outcome. Report incomplete or untested criteria rather than declaring the whole task done.
- When feedback changes the target, record the decision, rationale, and approval source. Update affected plans, visuals, issues, and checks through links to the owning contract. Do not weaken criteria merely to match the implementation.
Finish definition when the outcome, scope, observable criteria, and evidence approach are clear enough to guide the next authorized step. If they are not, return the unresolved decisions and who or what can settle them. Defining acceptance does not authorize implementation or publishing.
04 同仓库更多 Skills
writing-for-agents
Use when writing skills, agent instructions, or references consumed by agents.
write-tbp
Writing technical blog posts about project features and implementation details. Use when creating blog content about how a project solves interesting problems.
write-pr
Reference standards for writing pull request titles and descriptions, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create/update PR workflow.
write-issue
Reference standards for writing and maintaining local or remote issues. Use when another skill needs issue title, body, type, or triage guidance.
write-exec-plan
Write or maintain a plan for complex work across phases or PRs. Resolve consequential technical unknowns through prototypes before defining implementation checklists and their evidence.
write-design-doc
Write a design doc that settles hard-to-reverse decisions before anyone builds.