跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

ln-12-product-requirements-builder

Defines product requirements, business rules and acceptance criteria for a committed intent; edits product docs only.

测试570plugins/product-discovery-suite/skills/ln-12-product-requirements-builder/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/levnikolaevich/claude-code-skills/ln-12-product-requirements-builder/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Product Requirements Builder

Goal: Create or update a usable product requirements artifact that preserves the owner's intent and makes expected behavior testable. Change only authorized product documentation; do not invent commitments, design architecture, or implement.

Execution contract: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

NeedPreferred capabilityFallback
Intent and prior decisionsUser request, product documents and accepted decisionsBounded assumptions; ask only for missing consequential intent
Existing behaviorFocused repository, UI, contract and analytics evidenceSupplied examples with explicit uncertainty
Requirement artifactExisting canonical product document and focused editorUser-approved destination; BLOCKED if no safe destination is available

Domain Rules

  • Reuse the existing requirement owner; otherwise use an authorized docs/product/requirements.md. Do not impose a new document hierarchy on an established project.
  • Separate observed behavior, owner preference, proposed requirements, accepted commitments, and unresolved choices. A discovery recommendation is not authorization to build.
  • Use stable requirement identifiers when traceability spans artifacts. Keep functional rules here and reference architecture constraints by source; user stories are optional representations.

Checklist

1. Establish Intent and Authority

  • Resolve the problem, affected actors, intended outcome, horizon, approved documentation scope, and protected existing experience.
  • Read repository instructions, relevant user evidence and existing requirements; inspect target files and user changes before editing.
  • Identify one authoritative requirements destination and applicable decision owners; preserve unresolved conflicting sources.
  • Separate non-goals, optional ideas and committed scope; clarify only choices that change acceptance or product intent.

2. Specify Observable Behavior

  • Describe the initiating event, actor permissions, preconditions, successful outcome and meaningful alternatives for every in-scope journey.
  • Specify business rules, calculations, entities and lifecycle transitions where they determine observable behavior.
  • Specify applicable failure, empty, loading, retry, duplicate, cancellation and recovery behavior without inventing irrelevant states.
  • Record affected integrations, external commitments, compatibility and data constraints from authoritative sources.
  • Capture accessibility, privacy and other applicable user-facing constraints; reference architecture-driving targets without duplicating their owner.
  • Separate required new UX from protected existing flows, copy and behavior.

3. Define Acceptance and Outcome

  • Give each material requirement observable acceptance conditions with prerequisites and an expected result independent of implementation.
  • Define the intended business effect, available baseline, measurement window and evidence source; keep unknown targets unknown.
  • Identify dependencies and assumptions that can reverse scope, acceptance or the chosen product direction.
  • Distinguish functional acceptance from product impact and from permission to publish or run an experiment.

4. Write and Validate

  • Write the approved artifact with requirement IDs, source/status, acceptance, non-goals, assumptions and unresolved decisions.
  • Preserve unrelated content and history of changed commitments; mark supersession instead of silently replacing accepted intent.
  • Check consistency across rules, scenarios and acceptance; expose requirements that cannot yet be implemented or tested safely.
  • Report the exact consequential gaps and next evidence actions; do not treat the document's existence as readiness.

Verdict

  • READY: requirements are consistent and testable, with no consequential unresolved intent preventing the next decision; proposed status does not imply owner acceptance.
  • INCOMPLETE: a useful artifact exists but named requirements or decisions remain unresolved.
  • BLOCKED: scope, authority, essential intent or a safe destination prevents responsible creation.

Self-Check

  • Reconcile before returning. Check item-level evidence, requirement coverage, contradictions, scope, verdict, and applicable cleanup. Correct the report or authorized artifacts. Reuse valid evidence; do not automatically rescan the repository or rerun successful commands. Repeat checks only for relevant changes, failures, or unresolved evidence. Disclose remaining gaps.

Output Contract

Report in the user's language, in this order; label all five fields and state each fact once. Use controlled plain language: one fact per sentence, usually under 20 words, active voice, and one term per concept, with no synonyms for verdicts, IDs, or states. Small results may use one line per field; omit empty tables and do not copy linked artifacts:

  1. Result: The exact skill-specific verdict token first, then the supported outcome.
  2. Scope: Reviewed/changed scope, exclusions, baseline, and material assumptions.
  3. Evidence: Skill-specific fields below; distinguish facts, inferences, and unverified claims. Link artifacts; use tables when useful.
  4. Verification: Checks/results, unavailable evidence, and applicable cleanup/external state.
  5. Completion: Checklist: X/Y complete; Incomplete: None or each UNPROVEN item's reason, outcome impact, and exact next action; residual risks and required decisions.

Skill-specific evidence: Artifact, intent, protected behavior, requirement/source/status/acceptance mapping, changed commitments, outcome measures, and consequential unknowns with their next evidence action.

相似的 Skill

skill-creator
anthropics/skills180k

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

测试

ponytail-audit
DietrichGebert/ponytail158k

ponytail-audit

Quality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths, and what to delete, merge or split. Ranked, each finding explained in plain English. One-shot report, changes nothing. Use for "audit this codebase", "review the whole repo", "find bloat", "what can I delete", /ponytail-audit.

测试

ponytail-audit
DietrichGebert/ponytail158k

ponytail-audit

Quality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.

测试

ponytail-review
DietrichGebert/ponytail158k

ponytail-review

Quality review of a diff: bugs, security, real load, missing tests, speed, and what to delete. Each finding says what goes wrong and how to fix it.

测试

ci-cd-and-automation
addyosmani/agent-skills103k

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

测试

idea-refine
addyosmani/agent-skills103k

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".

测试