원클릭으로
write-spec
Research a GitHub issue and write a detailed requirements specification into the issue body. Run with /write-spec <ISSUE_NUMBER>.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Research a GitHub issue and write a detailed requirements specification into the issue body. Run with /write-spec <ISSUE_NUMBER>.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Spawn the ACP-variant runtimes (claude-code-acp / codex-acp / copilot-acp). claude-code-acp validated; it surfaces real tool failures that native claude-code can't. Run with /test-acp-runtime. Pairs with /launch-grackle.
Spawn and exercise the native `claude-code` runtime against a test server, including the model names that work and the synthetic-tool-result gotcha. Run with /test-claude-runtime. Pairs with /launch-grackle.
Spawn the `codex` runtime against a test server. Use model `gpt-5.5` (requires Codex SDK >= 0.135.0). Run with /test-codex-runtime. Pairs with /launch-grackle.
Spawn and exercise the `copilot` runtime against a test server. CRITICAL: gpt-4o does NOT work — use claude-sonnet-4.5. Run with /test-copilot-runtime. Pairs with /launch-grackle.
Investigates code bugs and files GitHub issues.
Pure coordinator that decomposes work and delegates to subagents.
| name | write-spec |
| description | Research a GitHub issue and write a detailed requirements specification into the issue body. Run with /write-spec <ISSUE_NUMBER>. |
This skill researches a GitHub issue in depth and writes a detailed requirements specification directly into the issue body.
The issue number must be provided as an argument. If not provided, ask the user for the issue number and stop.
ISSUE_NUMBER=<provided argument>
REPO="nick-pape/grackle"
gh issue view $ISSUE_NUMBER -R $REPO
Capture the title, body, labels, and any referenced issues (parent epics, related issues, sibling tickets).
For every issue referenced in the body (parent epics, sibling sub-tasks, related features), read them:
gh issue view <RELATED_NUMBER> -R $REPO
This provides context on how this issue fits into the larger feature.
Check these spec files in the repo for relevant sections:
specs/2026-03-18-agent-kernel.md — Agent Kernel Architecture RFC (task lifecycle, process model, scheduling, IPC, signals)specs/2026-03-11-grackle-deep-dive.md — Full architecture deep dive (all subsystems)specs/2026-02-20-v0.md — Original design spec (UI mockups, interaction patterns)specs/2026-03-13-default-personas.md — Persona roster definitionsspecs/2026-03-12-ux-audit.md — UX audit findings and recommendationsRead the files that are relevant based on the issue's domain (server, web, CLI, powerline, etc.). Use the issue labels to guide which specs to prioritize.
Based on the issue's domain, explore the codebase to understand the current state:
packages/server/src/ — stores, gRPC service, event processor, adapterspackages/web/src/ — components, hooks, routing, existing UI patternspackages/cli/src/ — commands, formatterspackages/powerline/src/ — MCP tools, runtimes, adapterspackages/common/src/proto/ — existing messages, RPCs, enumspackages/common/src/types.ts — shared type definitionsUse Grep, Glob, and Read to find relevant code. Focus on:
Write a comprehensive spec covering these sections. Adapt the sections to the issue type (feature vs bug vs refactor):
The spec goes directly into the issue body — NOT as a comment. This ensures agents always see it when reading the issue.
mcp__github__issue_read (method: "get") or gh issue view.## Requirements Specification section, replace everything from that header to the end of the body with the new spec.\n\n---\n\n.gh issue edit $ISSUE_NUMBER -R $REPO --body "$(cat <<'SPECEOF'
<new body content here>
SPECEOF
)"
## Requirements Specification or # Requirements Specification). If found, delete them to avoid duplication:gh api -X DELETE repos/$REPO/issues/comments/<COMMENT_ID>
If the issue does not already have the approved-for-grackle label, add it:
gh issue edit $ISSUE_NUMBER -R $REPO --add-label approved-for-grackle
This marks the issue as spec'd and ready for development.
Summarize what was done: