Issue Authoring
Use this skill to prepare issue-ready work before execution starts. Keep the skill concise and treat the repository docs as the canonical source for the full contract and schema. The canonical source bundle lives in this repository; install copies in the agent-specific skill directory your runtime reads.
Stable Phases
Use two stable phases:
- Intake and Clarification — inspect relevant context, identify ambiguity, run a secondary critique or explicit self-critique, and ask only the questions that block safe issue drafting. Keep clarification bounded; the default maximum is 3 rounds.
- Decompose and Draft — restate the request in implementation terms, split it into atomic tasks, classify readiness, reuse existing issues when safe, and draft the smallest issue shape that preserves dependencies and reviewability.
Preserve low-readiness work in stable buckets: ready, deferred, needs-decision, blocked-by-human, and out-of-scope.
Workflow
- Read the bundled contract in references/contract.md.
- Reuse or extend an existing issue before creating a new one.
- Choose the smallest safe output shape:
- orphan issue for one ready autonomous task only when the target
repository is discoverable through
issue-scope: orphan-firstand any configuredorphan-first-policyapproval step can be completed after drafting - roadmap plus sub-issues for multi-task or multi-session work
- stable non-ready buckets for deferred, needs-decision, blocked-by-human, or out-of-scope work
- orphan issue for one ready autonomous task only when the target
repository is discoverable through
- Resolve the target repository marker prefix before drafting hidden dependency markers. Use the prefix documented by the target repository's onboarding or IDD docs, and ask the user instead of guessing when the prefix is not discoverable.
- Keep dependencies machine-readable:
- roadmap identity via
<!-- <marker-prefix>-roadmap-id: ... --> - active child issues via roadmap task-list links
- issue-to-issue dependencies via
Blocked by #NNN - sequential roadmap dependencies via
<!-- <marker-prefix>-blocked-by: ... -->only when a separate roadmap must close first
- roadmap identity via
- Stop at the approval boundary. Drafting issues does not authorize publishing them or starting the IDD execution loop unless the user explicitly asked for that.
Reference Routing
- For the bundled contract, output schemas, and discoverability guard: read references/contract.md.
- For the bundled boundary between pre-approval drafting and the IDD execution loop: read references/workflow-boundary.md.
- For concrete drafting patterns and example prompts: read references/draft-patterns.md.
- When editing this bundle inside the source repository, keep the bundled references synchronized with the canonical maintenance docs in ../../docs/issue-authoring-skill.md and ../../docs/idd-workflow.md.
Output Checklist
- Preserve low-readiness work in stable buckets instead of dropping it.
- Keep acceptance criteria explicitly verifiable.
- Link every active child issue from its roadmap body.
- Record reuse or extension decisions when the skill does not create a new issue.
- Avoid widening drafting output beyond the user request without saying so.