AgentSkillsCN

discovery-skill

在新交付需求的范围不明确、缺乏明确成果,或缺少负责人时,定义并审批可衡量的交付成果与规格说明。

SKILL.md
--- frontmatter
name: discovery-skill
description: Define and approve a measurable outcome and Spec. Use when a new delivery request has unclear scope, missing outcome, or missing owner.

discovery-skill

Trigger context

  • New delivery request with undefined scope
  • Existing scope lacks clear outcome or owner

Required inputs

  • project_slug
  • project_name
  • owner
  • outcome_hypothesis
  • constraints

Output schema

  • .project/projects/<slug>/spec.md
  • clarified outcome statement
  • open questions list

Quality checks

  • measurable success criteria present
  • explicit non-goals present
  • dependency assumptions documented

Failure behavior

  • stop if objective is ambiguous
  • return a clarification question set

Allowed side effects

  • create project scaffold through init script
  • update spec.md

Script hooks

  • bash .claude/scripts/pm/init.sh <slug> "<Project Name>" <owner> <lead>
  • bash .claude/scripts/pm/validate.sh

Execution assets

  • references/runbook.md
  • templates/clarification-questions.md
  • templates/discovery-summary.md