Autonomous design — reads full issue, posts design comment, never blocks for feedback.
Explore requirements and produce a design without user interaction. This is the worktree variant of design_brainstorm — it makes reasonable decisions autonomously instead of asking the user.
Rule: no code until a design is posted. No blocking for feedback.
git branch --show-current<type>/<issue_number>-<summary> (e.g. feature/79-declarative-sync-manifest). See branch-naming.mdc for the full convention.<issue_number> from the branch name.gh issue view <issue_number> --json title,body,labels,comments
## Design heading), or context.## Design comment already exists, skip — the design phase is done.Determine the repo: gh repo view --json nameWithOwner --jq '.nameWithOwner'
Post the design comment:
gh api repos/{owner}/{repo}/issues/{issue_number}/comments \
-f body="<design_content>"
The comment must start with ## Design (H2) — this is how other skills detect that the design phase is complete.
The following steps SHOULD be delegated to reduce token consumption:
model: "fast" that validates the branch name, executes gh issue view, and checks for an existing ## Design comment. Returns: issue number, parsed body/comments, design-exists flag.model: "fast" that takes the formatted design content and posts it via gh api. Returns: comment URL.Steps 2-3 (explore context, make design decisions) should remain in the main agent as they require architectural reasoning and decision-making.
Reference: subagent-delegation rule
If you cannot make a reasonable design decision (genuinely ambiguous, high-risk, or contradictory requirements), use worktree_ask to post a question on the issue. Do not guess on critical decisions.