<cursor_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-ai-integration-phaseor describes a task matching this skill. - Treat all user text after the skill mention as
{{GSD_ARGS}}. - If no arguments are present, treat
{{GSD_ARGS}}as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Cursor tools when executing GSD workflows:
Shellfor running commands (terminal operations)StrReplacefor editing existing filesRead,Write,Glob,Grep,Task,WebSearch,WebFetch,TodoWriteas needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...) - The
modelparameter maps to Cursor's model options (e.g., "fast")
</cursor_skill_adapter>
<objective>
Create an AI design contract (AI-SPEC.md) for a phase involving AI system development.
Orchestrates gsd-framework-selector → gsd-ai-researcher → gsd-domain-researcher → gsd-eval-planner.
Flow: Select Framework → Research Docs → Research Domain → Design Eval Strategy → Done
</objective>
<execution_context>
@/Users/smintz/go/src/github.com/protoconf/protoconf/.cursor/gsd-core/workflows/ai-integration-phase.md
@/Users/smintz/go/src/github.com/protoconf/protoconf/.cursor/gsd-core/references/ai-frameworks.md
@/Users/smintz/go/src/github.com/protoconf/protoconf/.cursor/gsd-core/references/ai-evals.md
</execution_context>
<context>
Phase number: {{GSD_ARGS}} — optional; when omitted, the orchestrating workflow reads ROADMAP.md and selects the next unplanned phase. This is not a gsd-tools.cjs CLI feature — the CLI's phase-lookup primitives require an explicit phase number.
</context>
<process>
Execute end-to-end.
Preserve all workflow gates.
</process>