一键导入
user-request
Capture user feature request verbatim (Phase 1)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture user feature request verbatim (Phase 1)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix
Pasture protocol reference documentation — 12-phase workflow, agent roles, constraints, and coding standards. Read when you need to understand the full workflow or look up conventions.
Create handoff document and transfer to supervisor
Create PROPOSAL-N task with full technical plan
Ratify proposal, mark old proposals pasture:superseded
Spawn 3 axis-specific reviewers (A/B/C)
| name | user-request |
| description | Capture user feature request verbatim (Phase 1) |
Command: pasture:user:request — Capture user feature request verbatim (Phase 1)
-> Full workflow in PROCESS.md <- Phase 1
[user-req-verbatim-capture]
[user-req-classify-label]
pasture:p1-user:s1_1-classify label[user-req-research-depth]
[user-req-proceed-to-elicit]
/pasture:user-elicit for Phase 2[user-req-fix-intent]
[frag--validation-cases]
| Sub-step | Label | Description | Parallel? |
|---|---|---|---|
| s1_1-classify | pasture:p1-user:s1_1-classify | Capture verbatim + classify along 4 axes | Sequential (first) |
| s1_2-research | pasture:p1-user:s1_2-research | Find domain standards, prior art | Parallel with s1_3 |
| s1_3-explore | pasture:p1-user:s1_3-explore | Codebase exploration for integration points | Parallel with s1_2 |
Get the user's request verbatim:
AskUserQuestion: "What feature or change would you like to request?"
Create the request task:
bd create --labels "pasture:p1-user:s1_1-classify" \
--title "REQUEST: {{short summary}}" \
--description "{{VERBATIM user request - do not edit}}" \
--assignee architect
Classify along 4 axes:
Record classification via comment on the request task:
bd comments add {{request-task-id}} \
"Classification: scope={{scope}}, complexity={{complexity}}, risk={{risk}}, novelty={{novelty}}"
Separately from the 4 axes above, judge semantically whether the user's intent is to FIX existing behavior (a bug, regression, or wrong output) versus build something new. This is a recognition step, not a fifth axis and not a request-type enum — do not add a typed field for it.
When the intent is to fix existing behavior, the validation-case lifecycle applies for the rest of the epoch: concrete failing/expected cases are elicited in URE (/pasture:user-elicit), confirmed with the user in UAT (/pasture:user-uat), evaluated against the fix, and the failing real-data cases are stored as test fixtures.
Record the recognition in the same classification comment so downstream phases pick it up:
bd comments add {{request-task-id}} \
"Fix-intent: yes — validation-case lifecycle applies (elicit cases in URE, confirm in UAT, store as fixtures)"
After classification, confirm research depth with the user:
AskUserQuestion:
question: "Based on classification ({{scope}}, {{complexity}}, {{risk}}, {{novelty}}), how deep should research go?"
header: "Research Depth"
options:
- label: "Quick scan"
description: "Familiar domain, low complexity — brief prior art check"
- label: "Standard research"
description: "Moderate complexity or some novelty — find existing patterns and standards"
- label: "Deep dive"
description: "High complexity, new territory, or high risk — thorough domain analysis"
Record the user's depth choice, then spawn two parallel agents:
bd comments add {{request-task-id}} \
"Research depth: {{depth}} (user confirmed)"
Spawn both agents in parallel (via Task tool with run_in_background: true). Each agent invokes its dedicated skill.
Invoke /pasture:research with:
The /pasture:research skill handles the full research workflow: depth-scoped checklist, structured report written to docs/research/<topic>.md, and summary comment on the REQUEST task.
See skills/research/SKILL.md for full procedure, output format, and examples.
Depth determines scope:
| Depth | Local | Web | Deliverable |
|---|---|---|---|
| Quick scan | Grep project for related patterns, check README/docs | None | 1-paragraph summary of local findings |
| Standard research | Local scan + check project dependencies, related repos | Search for domain standards, established patterns | List of prior art with relevance notes |
| Deep dive | Full local analysis + dependency tree | Search for competing solutions, RFCs, academic papers, well-regarded projects | Structured report: standards found, competing approaches, recommended direction |
Research checklist:
Record findings as a comment on the REQUEST task:
bd comments add {{request-task-id}} \
"Research findings ({{depth}}):
- Standards: {{list or 'none found'}}
- Prior art: {{list of projects/solutions}}
- Patterns: {{established approaches}}
- Recommendation: {{brief direction}}
- Full report: docs/research/{{topic}}.md"
Invoke /pasture:explore with:
The /pasture:explore skill handles the full exploration workflow: depth-scoped checklist, structured findings, and summary comment on the REQUEST task.
See skills/explore/SKILL.md for full procedure, output format, and examples.
Exploration checklist:
Depth determines thoroughness:
| Depth | Scope | Tools |
|---|---|---|
| Quick scan | Grep for keywords, check obvious entry points | Glob, Grep |
| Standard research | Trace data flow, map dependencies, read related modules | Glob, Grep, Read |
| Deep dive | Full dependency graph, architectural analysis, identify all touchpoints | Glob, Grep, Read, Bash (for build/dep tools) |
Record findings as a comment on the REQUEST task:
bd comments add {{request-task-id}} \
"Explore findings ({{depth}}):
- Entry points: {{list of files/functions}}
- Related types: {{existing types/schemas}}
- Dependencies: {{modules this would use}}
- Patterns: {{how similar features work here}}
- Conflicts: {{potential issues or 'none'}}"
Both agents must complete before proceeding to Phase 2. Their findings are recorded as comments on the REQUEST task, available for the elicitation survey and proposal phases.
User says: "I want to add a logout button to the header that clears the session and redirects to the login page"
bd create --labels "pasture:p1-user:s1_1-classify" \
--title "REQUEST: Add logout button to header" \
--description "I want to add a logout button to the header that clears the session and redirects to the login page" \
--assignee architect
# Returns: bd-abc123
bd comments add bd-abc123 \
"Classification: scope=module, complexity=low, risk=internal-only, novelty=familiar"
After Phase 1 completes, invoke /pasture:user-elicit to begin requirements elicitation (Phase 2).
The elicit task will block this request task:
bd dep add {{request-task-id}} --blocked-by {{elicit-task-id}}