一键导入
goal
Define the goal: what problem we solve, for whom, and what success looks like. The directional anchor that architecture and specs must serve.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Define the goal: what problem we solve, for whom, and what success looks like. The directional anchor that architecture and specs must serve.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a request will produce frontend UI, a visual asset, an image prompt, or a video prompt, AND the intent/style is not already fully specified by the user or an existing design system in the repo. Forces a minimal, checkable design-context object to exist before generation so output does not default to generic/templated. Do NOT use for: single-property edits (color, spacing, copy tweak) with no ambiguity; bug fixes; refactors; or when the user already gave complete visual specs and you only need to execute. For those, just do the work.
Root orchestrator. Reads durable state, routes to one phase, dispatches fresh workers.
Pre-implementation alignment gate. Checks spec / plan / tasks consistency and plan vs codebase reality before code is written.
RED-GREEN-REFACTOR implementation per task. Each task passes before next. Produces handoff.md with reproducible evidence.
Design architecture: components, API schema, DB model, impact analysis, test strategy.
Independently verify implementation against SPEC acceptance criteria. Generator ≠ Auditor.
| name | goal |
| description | Define the goal: what problem we solve, for whom, and what success looks like. The directional anchor that architecture and specs must serve. |
Define the goal. This is the directional anchor — everything downstream exists to serve this. Architecture decisions are validated against this. Specs derive from this.
You define why we're building — not what, not how.
# Goal: [Brief Title]
**Workstream ID:** `<id>`
## Problem
[What problem does this solve? One paragraph. Be specific — name the pain, the gap, the friction. Not "users need X" but "users currently do Y which takes Z minutes and fails W% of the time."]
## Who Is This For?
[Who experiences this problem? Be specific — persona, role, context. Not "users" but "new developers onboarding to the platform."]
## Success Criteria
What does winning look like? Observable, measurable outcomes — not features.
| # | Success Criterion | How We Know |
|---|------------------|-------------|
| SC-01 | [measurable outcome] | [observable signal] |
| SC-02 | [measurable outcome] | [observable signal] |
## Non-Goals
What are we explicitly NOT trying to achieve? Precision prevents scope creep and over-engineering.
- [Non-goal 1]
- [Non-goal 2]
- Reason for exclusion: [why this matters now]
## Constraints
What limits our design space? Budget, time, technical, organizational.
| Constraint | Impact |
|-----------|--------|
| [e.g., Must work with existing auth system] | Architecture must use current session middleware |
| [e.g., 2-week timeline] | Scope must fit within sprint boundary |
CONSTITUTION.md for governing rules.agents-stack/tracked-work.json for active workstream IDgoal.md to .agents-stack/workstream/<ws-id>_{YYYYMMDD}/goal.mdstatus.json: set phase: "goal"goal.md exists with problem, audience, success criteria, non-goals, and constraints. status.json reflects goal phase.