Create issues that implement specific sections or requirements from a spec.
1
Review the spec
> User: Could you take a look at spec [[s-abc123]] and break it down into issues?⏺ Agent: I'll review the spec and create implementation issues.⏺ plugin:sudocode:sudocode - show_spec (MCP)(spec_id: "s-abc123"...[Agent reviews spec structure and requirements]
2
Agent creates linked issues
⏺ Agent: I've reviewed the spec. Let me break this into three focused issues:1. Detect token expiration and trigger refresh2. Implement refresh request flow with rotation3. Handle error scenarios and fallback logicLet me create these issues.⏺ plugin:sudocode:sudocode - upsert_issue (MCP)(title: "Detect tokenexpiration and trigger refresh", description: "Implements [[s-abc123]]section 2.1: Token Expiration Detection...", priority: 0...⏺ Created i-xyz789. Now linking to spec...⏺ plugin:sudocode:sudocode - link (MCP)(from_id: "i-xyz789",to_id: "s-abc123", type: "implements"...[Agent creates remaining issues and links them]
3
Verify relationships
> User: Show me i-xyz789 to confirm it's linked.⏺ Agent: Let me show you the issue details.⏺ plugin:sudocode:sudocode - show_issue (MCP)(issue_id: "i-xyz789"...⏺ Issue i-xyz789 shows it implements s-abc123 and includes referencesto specific spec sections.
Agent doesn’t always create dependencies: If you notice that the agent hasn’t established dependency relationships between related issues, you can prompt it directly:
> User: Make sure that you capture the dependency between issues⏺ plugin:sudocode:sudocode - link (MCP)(from_id: "i-7xqw",to_id: "i-yy9c", type: "depends-on") ⎿ { "from": "i-7xqw", "to": "i-yy9c", … +3 lines⏺ Perfect! I've added all the dependency relationships between theissues. Here's the dependency graph: Dependency Structure i-7l9z (TypeScript types) ↓ ├─→ i-yy9c (EditorService)
Best for: Implementing well-defined specifications with clear requirements.
Take a large or complex issue (epic) and split it into smaller, manageable sub-issues.
1
Identify the epic
> User: Issue i-big456 is too large to tackle at once. Can you breakthis down into smaller pieces?⏺ Agent: I'll review the issue and break it into sub-issues.⏺ plugin:sudocode:sudocode - show_issue (MCP)(issue_id: "i-big456"...[Agent analyzes the scope and complexity]
2
Create child issues
⏺ Agent: I can break i-big456 into 4 focused subtasks:1. Database schema migration2. API endpoint implementation3. Frontend component updates4. Integration tests⏺ plugin:sudocode:sudocode - upsert_issue (MCP)(title: "Database schemamigration for user settings", parent: "i-big456", priority: 0...⏺ Created i-sub001 as a child of i-big456.[Agent creates remaining child issues]
3
Set up dependencies
⏺ Agent: The API work depends on the schema migration. Let me set upthat dependency.⏺ plugin:sudocode:sudocode - link (MCP)(from_id: "i-sub002",to_id: "i-sub001", type: "depends-on"...⏺ Now i-sub002 won't show as ready until i-sub001 is closed.
Best for: Complex features that need to be broken into sequential or parallel work streams.
Create new issues when you discover unexpected work during implementation.
1
Discover new work
> User: While working on i-auth789, I noticed the password validationis inconsistent across endpoints. Should we fix this?⏺ Agent: That's a good catch. Let me create an issue to track thisimprovement.⏺ plugin:sudocode:sudocode - upsert_issue (MCP)(title: "Standardizepassword validation across all endpoints", description: "Discoveredwhile implementing authentication...", priority: 2, tags: ["security","refactoring"]...
2
Link to source
⏺ Agent: I'll link this to the issue where we discovered it.⏺ plugin:sudocode:sudocode - link (MCP)(from_id: "i-new999",to_id: "i-auth789", type: "discovered-from"...⏺ Created i-new999 and linked it to i-auth789 to track provenance.
3
Decide priority
> User: This should be done before we ship authentication.⏺ Agent: I'll mark it as blocking the authentication issue.⏺ plugin:sudocode:sudocode - link (MCP)(from_id: "i-new999",to_id: "i-auth789", type: "blocks"...⏺ Now i-auth789 won't show as ready until i-new999 is closed.
Best for: Capturing emergent work, technical debt, or issues discovered during code review.
Create individual issues for bugs, quick features, or tasks that don’t relate to a spec.
1
Create the issue
> User: Create an issue to fix the broken link in the README.⏺ Agent: I'll create a quick fix issue.⏺ plugin:sudocode:sudocode - upsert_issue (MCP)(title: "Fix brokendocumentation link in README", description: "Link to contributing guidereturns 404", priority: 3, tags: ["documentation", "quick-fix"]...⏺ Created i-doc555 with low priority.
2
Agent completes immediately
⏺ Agent: This is a quick fix. Let me handle it right now.[Agent fixes the link]⏺ plugin:sudocode:sudocode - upsert_issue (MCP)(issue_id: "i-doc555",status: "closed"...⏺ Closed i-doc555. The README link is now fixed.
Best for: Small bugs, typos, quick improvements, and isolated tasks.