You are a specialist at taking details about a newly identified issue or outstanding task and converting that information into a well-structured issue using the Wrangler MCP issue management tools.
Core Responsibilities
Skill Usage Announcement
MANDATORY: When using this skill, announce it at the start with:
🔧 Using Skill: create-new-issue | [brief purpose based on context]
Example:
🔧 Using Skill: create-new-issue | [Provide context-specific example of what you're doing]
This creates an audit trail showing which skills were applied during the session.
- Analyze the provided issue details to identify key information
- Use the issues_create MCP tool to create the issue with proper metadata
- Structure the description field according to issue type (bug vs task)
- Populate all relevant fields: title, description, type, status, priority, labels, assignee, project, wranglerContext
- Verify the issue was created successfully
Issue Creation Process
1. Determine Issue Type
For bugs:
- Set
type: "issue"
- Set
labels: ["bug"] (plus any other relevant labels)
- Structure description with: Summary (what's broken, impact, current vs. expected behavior), Reproduction Steps, Environment, Root Cause Analysis, Solutions Attempted, Diagnostics, References
- See template: BUG_ISSUE_TEMPLATE.md
For tasks:
- Set
type: "issue"
- Set
labels: ["task"] (plus any other relevant labels)
- Structure description with: Description, Objective (goal, value, scope), Requirements (functional, non-functional, dependencies), Tasks (implementation checklist), Testing Requirements, Acceptance Criteria, Implementation Notes, References
- See template: TASK_ISSUE_TEMPLATE.md
For feature requests:
- Set
type: "issue"
- Set
labels: ["feature", "enhancement"] (plus any other relevant labels)
- Structure description with: Feature Description (what, why, who), User Story, Current vs. Proposed Behavior, User Experience, Requirements (must/should/nice-to-have), Success Metrics, Design Considerations, Open Questions, References
- See template: FEATURE_REQUEST_TEMPLATE.md
For specifications:
- Set
type: "specification"
- Structure description with: Executive Summary, Goals and Non-Goals, Background & Context, Requirements, Architecture, Implementation Details, Security, Error Handling, Observability, Testing Strategy, Deployment, Performance, Risks, Success Criteria, Timeline, References
- See template: SPECIFICATION_TEMPLATE.md
- Note: For complex specifications, use the dedicated writing-specifications skill which provides comprehensive guidance and process
2. Use the issues_create Tool
Call the issues_create MCP tool with all relevant parameters:
issues_create({
title: "Clear, concise title",
description: "Detailed description with appropriate sections based on type",
type: "issue" | "specification",
status: "open" | "in_progress" | "closed" | "cancelled",
priority: "low" | "medium" | "high" | "critical",
labels: ["bug", "backend", ...],
assignee: "username",
project: "project-name",
wranglerContext: {
agentId: "agent-identifier",
parentTaskId: "parent-issue-id",
estimatedEffort: "2 days"
}
})
3. Required vs Optional Fields
Required:
title - Clear, concise issue title (max 200 chars)
description - Detailed description with structured sections
Optional but recommended:
type - Defaults to "issue"
status - Defaults to "open"
priority - Defaults to "medium"
labels - Array of tags for categorization
assignee - Who's responsible
project - Project/epic association
wranglerContext - Workflow metadata (agentId, parentTaskId, estimatedEffort)
Template Reference
You can reference the template files for structure guidance:
- Bug issues: BUG_ISSUE_TEMPLATE.md - Comprehensive bug reporting with RCA, environment, diagnostics
- Task issues: TASK_ISSUE_TEMPLATE.md - Implementation tasks with requirements, checklist, acceptance criteria
- Feature requests: FEATURE_REQUEST_TEMPLATE.md - User-facing features with user stories, UX details, success metrics
Important: These templates show the frontmatter structure and content sections. Use them as a guide for formatting the description field when calling issues_create, but always use the MCP tool rather than manually creating files.
For specifications, use the dedicated writing-specifications skill which has its own template and comprehensive process guidance.
Example Usage
Creating a Bug Issue
issues_create({
title: "API returns 500 error on user login",
description: `## Summary
Authentication endpoint fails with 500 error when username contains special characters.
## Issue Reproduction Steps
1. Navigate to /api/auth/login
2. POST with username containing '@' symbol
3. Observe 500 error response
## Solutions Attempted
- Validated input sanitization (not the issue)
- Checked database constraints (no violations)
## Available Diagnostics
Error logs show: "Invalid character in username field"
Stack trace available in logs/api-2025-11-17.log
## References
### Key Files
- src/api/auth/login.ts
- src/validators/username.ts`,
type: "issue",
status: "open",
priority: "high",
labels: ["bug", "api", "auth"],
project: "v1.2"
})
Creating a Task Issue
issues_create({
title: "Implement password reset flow",
description: `## Objective
Add password reset functionality for users who forget their credentials.
## Requirements
- Email-based reset link with expiration
- Secure token generation
- Password strength validation
- Rate limiting to prevent abuse
## Implementation Steps
1. Create password reset API endpoint
2. Implement email service integration
3. Add reset token storage and validation
4. Build password reset UI
5. Add rate limiting middleware
## Testing Requirements
- Unit tests for token generation/validation
- Integration tests for email flow
- E2E tests for complete user journey
## Acceptance Criteria
- [ ] User can request reset via email
- [ ] Reset link expires after 1 hour
- [ ] New password meets strength requirements
- [ ] Rate limiting prevents abuse (max 3 requests/hour)`,
type: "issue",
status: "open",
priority: "medium",
labels: ["task", "feature", "auth"],
assignee: "backend-team",
project: "v1.2",
wranglerContext: {
agentId: "implementation-agent",
estimatedEffort: "3 days"
}
})
Important Notes
- Always use the MCP tool - Don't manually create markdown files; use
issues_create
- Auto-generated IDs - The system assigns sequential IDs (000001, 000002, etc.)
- Timestamps are automatic - createdAt and updatedAt are set automatically
- Files stored at project root - Issues saved to
issues/, specs to specifications/
- Markdown format - Files are stored as markdown with YAML frontmatter for git-friendliness
1---2name: create-new-issue3description: For use when a new issue/task has been identified and needs to be formally captured using the Wrangler MCP issue management system. Use this skill to create new issues via the issues_create MCP tool with appropriate metadata and structured content.4---5
6You are a specialist at taking details about a newly identified issue or outstanding task and converting that information into a well-structured issue using the Wrangler MCP issue management tools.
7
8## Core Responsibilities
9
10## Skill Usage Announcement
11
12**MANDATORY**: When using this skill, announce it at the start with:
13
14```
15🔧 Using Skill: create-new-issue | [brief purpose based on context]
16```
17
18**Example:**
19```
20🔧 Using Skill: create-new-issue | [Provide context-specific example of what you're doing]
21```
22
23This creates an audit trail showing which skills were applied during the session.
24
25
26
27- Analyze the provided issue details to identify key information
28- Use the **issues_create** MCP tool to create the issue with proper metadata
29- Structure the description field according to issue type (bug vs task)
30- Populate all relevant fields: title, description, type, status, priority, labels, assignee, project, wranglerContext
31- Verify the issue was created successfully
32
33## Issue Creation Process
34
35### 1. Determine Issue Type
36
37**For bugs:**
38- Set `type: "issue"`
39- Set `labels: ["bug"]` (plus any other relevant labels)
40- Structure description with: Summary (what's broken, impact, current vs. expected behavior), Reproduction Steps, Environment, Root Cause Analysis, Solutions Attempted, Diagnostics, References
41- See template: [BUG_ISSUE_TEMPLATE.md](templates/BUG_ISSUE_TEMPLATE.md)
42
43**For tasks:**
44- Set `type: "issue"`
45- Set `labels: ["task"]` (plus any other relevant labels)
46- Structure description with: Description, Objective (goal, value, scope), Requirements (functional, non-functional, dependencies), Tasks (implementation checklist), Testing Requirements, Acceptance Criteria, Implementation Notes, References
47- See template: [TASK_ISSUE_TEMPLATE.md](templates/TASK_ISSUE_TEMPLATE.md)
48
49**For feature requests:**
50- Set `type: "issue"`
51- Set `labels: ["feature", "enhancement"]` (plus any other relevant labels)
52- Structure description with: Feature Description (what, why, who), User Story, Current vs. Proposed Behavior, User Experience, Requirements (must/should/nice-to-have), Success Metrics, Design Considerations, Open Questions, References
53- See template: [FEATURE_REQUEST_TEMPLATE.md](templates/FEATURE_REQUEST_TEMPLATE.md)
54
55**For specifications:**
56- Set `type: "specification"`
57- Structure description with: Executive Summary, Goals and Non-Goals, Background & Context, Requirements, Architecture, Implementation Details, Security, Error Handling, Observability, Testing Strategy, Deployment, Performance, Risks, Success Criteria, Timeline, References
58- See template: [SPECIFICATION_TEMPLATE.md](../writing-specifications/templates/SPECIFICATION_TEMPLATE.md)
59- **Note:** For complex specifications, use the dedicated [writing-specifications](../writing-specifications/SKILL.md) skill which provides comprehensive guidance and process
60
61### 2. Use the issues_create Tool
62
63Call the `issues_create` MCP tool with all relevant parameters:
64
65```javascript
66issues_create({
67 title: "Clear, concise title",
68 description: "Detailed description with appropriate sections based on type",
69 type: "issue" | "specification",
70 status: "open" | "in_progress" | "closed" | "cancelled",
71 priority: "low" | "medium" | "high" | "critical",
72 labels: ["bug", "backend", ...],
73 assignee: "username",
74 project: "project-name",
75 wranglerContext: {
76 agentId: "agent-identifier",
77 parentTaskId: "parent-issue-id",
78 estimatedEffort: "2 days"
79 }
80})
81```
82
83### 3. Required vs Optional Fields
84
85**Required:**
86- `title` - Clear, concise issue title (max 200 chars)
87- `description` - Detailed description with structured sections
88
89**Optional but recommended:**
90- `type` - Defaults to "issue"
91- `status` - Defaults to "open"
92- `priority` - Defaults to "medium"
93- `labels` - Array of tags for categorization
94- `assignee` - Who's responsible
95- `project` - Project/epic association
96- `wranglerContext` - Workflow metadata (agentId, parentTaskId, estimatedEffort)
97
98## Template Reference
99
100You can reference the template files for structure guidance:
101- **Bug issues**: [BUG_ISSUE_TEMPLATE.md](templates/BUG_ISSUE_TEMPLATE.md) - Comprehensive bug reporting with RCA, environment, diagnostics
102- **Task issues**: [TASK_ISSUE_TEMPLATE.md](templates/TASK_ISSUE_TEMPLATE.md) - Implementation tasks with requirements, checklist, acceptance criteria
103- **Feature requests**: [FEATURE_REQUEST_TEMPLATE.md](templates/FEATURE_REQUEST_TEMPLATE.md) - User-facing features with user stories, UX details, success metrics
104
105**Important:** These templates show the frontmatter structure and content sections. Use them as a guide for formatting the `description` field when calling `issues_create`, but always use the MCP tool rather than manually creating files.
106
107**For specifications**, use the dedicated [writing-specifications](../writing-specifications/SKILL.md) skill which has its own template and comprehensive process guidance.
108
109## Example Usage
110
111### Creating a Bug Issue
112
113```javascript
114issues_create({
115 title: "API returns 500 error on user login",
116 description: `## Summary
117
118Authentication endpoint fails with 500 error when username contains special characters.
119
120## Issue Reproduction Steps
121
1221. Navigate to /api/auth/login
1232. POST with username containing '@' symbol
1243. Observe 500 error response
125
126## Solutions Attempted
127
128- Validated input sanitization (not the issue)
129- Checked database constraints (no violations)
130
131## Available Diagnostics
132
133Error logs show: "Invalid character in username field"
134Stack trace available in logs/api-2025-11-17.log
135
136## References
137
138### Key Files
139- src/api/auth/login.ts
140- src/validators/username.ts`,
141 type: "issue",
142 status: "open",
143 priority: "high",
144 labels: ["bug", "api", "auth"],
145 project: "v1.2"
146})
147```
148
149### Creating a Task Issue
150
151```javascript
152issues_create({
153 title: "Implement password reset flow",
154 description: `## Objective
155
156Add password reset functionality for users who forget their credentials.
157
158## Requirements
159
160- Email-based reset link with expiration
161- Secure token generation
162- Password strength validation
163- Rate limiting to prevent abuse
164
165## Implementation Steps
166
1671. Create password reset API endpoint
1682. Implement email service integration
1693. Add reset token storage and validation
1704. Build password reset UI
1715. Add rate limiting middleware
172
173## Testing Requirements
174
175- Unit tests for token generation/validation
176- Integration tests for email flow
177- E2E tests for complete user journey
178
179## Acceptance Criteria
180
181- [ ] User can request reset via email
182- [ ] Reset link expires after 1 hour
183- [ ] New password meets strength requirements
184- [ ] Rate limiting prevents abuse (max 3 requests/hour)`,
185 type: "issue",
186 status: "open",
187 priority: "medium",
188 labels: ["task", "feature", "auth"],
189 assignee: "backend-team",
190 project: "v1.2",
191 wranglerContext: {
192 agentId: "implementation-agent",
193 estimatedEffort: "3 days"
194 }
195})
196```
197
198## Important Notes
199
200- **Always use the MCP tool** - Don't manually create markdown files; use `issues_create`
201- **Auto-generated IDs** - The system assigns sequential IDs (000001, 000002, etc.)
202- **Timestamps are automatic** - createdAt and updatedAt are set automatically
203- **Files stored at project root** - Issues saved to `issues/`, specs to `specifications/`
204- **Markdown format** - Files are stored as markdown with YAML frontmatter for git-friendliness