Claude
Skills
Sign in
โ† Back

create-ticket

Included with Lifetime
$97 forever

Turns bug reports, feature requests, technical debt, and ideas into well-structured tickets with acceptance criteria, estimates, subtasks, and labels. Use when the user says "create a ticket", "write a ticket", "file a bug", "log this issue", "create a story", "make a task", "write a Jira ticket", "create an issue", or describes a bug or feature that needs tracking.

Productivity

What this skill does


# Create Ticket Skill

When creating a ticket, follow this structured process. A good ticket gives the assignee everything they need to understand, implement, and verify the work without back-and-forth questions.

## 1. Classify the Ticket Type

Determine what kind of ticket this is:

| Type | When | Icon |
|------|------|------|
| **Bug** | Something is broken or behaving incorrectly | ๐Ÿ› |
| **Feature** | New functionality or capability | โœจ |
| **Improvement** | Enhancing existing functionality | ๐Ÿ’ก |
| **Tech Debt** | Refactoring, cleanup, or infrastructure improvement | ๐Ÿ”ง |
| **Security** | Vulnerability fix or security hardening | ๐Ÿ”’ |
| **Performance** | Speed, memory, or scalability improvement | โšก |
| **Documentation** | Missing or outdated docs | ๐Ÿ“ |
| **Infrastructure** | CI/CD, deployment, monitoring, DevOps | ๐Ÿ—๏ธ |
| **Design** | UI/UX changes, visual updates | ๐ŸŽจ |
| **Research / Spike** | Investigation before implementation | ๐Ÿ” |
| **Test** | Adding or fixing tests | โœ… |
| **Dependency** | Library updates, version bumps | ๐Ÿ“ฆ |

## 2. Gather Context

Before writing the ticket, gather relevant information:

### For Bugs
```bash
# Check recent commits that might be related
git log --oneline -20

# Check for related error handling
grep -rn "catch\|throw\|Error\|Exception" --include="*.ts" --include="*.js" --include="*.py" src/ | grep -i "[relevant keyword]"

# Check related files
find src -name "*[relevant keyword]*" -type f

# Check for existing related issues
gh issue list --search "[keyword]" --state all 2>/dev/null
```

### For Features
```bash
# Check if any related code or patterns exist
grep -rn "[related pattern]" --include="*.ts" --include="*.js" --include="*.py" src/

# Check existing models/services that would be affected
find src -name "*[related area]*" -type f

# Check for related tickets already filed
gh issue list --search "[keyword]" --state all 2>/dev/null
```

## 3. Ticket Templates

### ๐Ÿ› Bug Report
```markdown
## Title
[Component/Area]: [Clear description of the bug]

Examples:
- "Auth: Users get logged out after password change on other devices"
- "Checkout: Duplicate charges when clicking Pay button twice quickly"
- "Search: Results return 0 items for queries containing special characters"

## Type
Bug

## Priority
[Critical / High / Medium / Low]

## Description

### What Happens
[Describe the actual behavior โ€” what the user sees or experiences]

### What Should Happen
[Describe the expected behavior โ€” what the correct outcome should be]

### Steps to Reproduce
1. [First step โ€” be specific about starting state]
2. [Second step โ€” include exact inputs, clicks, actions]
3. [Third step โ€” include any timing or sequence requirements]
4. **Observe**: [What goes wrong]

### Reproduction Rate
[Always / Intermittent (~X% of the time) / Only under specific conditions]

### Environment
- **Browser/Client**: [Chrome 120, Safari 17, iOS app v3.2, etc.]
- **OS**: [macOS 14.2, Windows 11, iOS 17, Android 14]
- **Environment**: [Production / Staging / Local]
- **User role**: [Admin / Editor / Viewer]
- **Account**: [[email protected] or account ID if relevant]

### Error Details
[Include any of the following if available:]
- Error message (exact text)
- Console errors
- Network request/response (status code, body)
- Stack trace
- Log entries
- Screenshot or recording

### Impact
- **Users affected**: [All users / Specific group / Edge case]
- **Severity**: [Data loss / Broken feature / Degraded experience / Visual only]
- **Workaround available**: [Yes โ€” describe / No]
- **Revenue impact**: [Yes โ€” describe / No / Unknown]

### Root Cause (if known)
[If you've investigated and have a hypothesis, include it here]

### Suggested Fix (if known)
[If you have an idea of how to fix it, describe the approach]

## Acceptance Criteria
- [ ] Bug no longer occurs when following the reproduction steps
- [ ] Existing related tests still pass
- [ ] New test added covering this specific scenario
- [ ] Fix doesn't introduce regressions in [related area]
- [ ] [Any specific verification criteria]

## Related
- Related to: #[issue-number]
- Introduced in: [commit/PR if known]
- Affected files: [list key files if known]

## Labels
bug, [component], [priority]
```

### โœจ Feature Request
```markdown
## Title
[Area]: [Clear description of the feature]

Examples:
- "Auth: Add SSO login via SAML for enterprise customers"
- "Dashboard: Add date range filter to analytics charts"
- "API: Add bulk create endpoint for products"

## Type
Feature

## Priority
[Critical / High / Medium / Low]

## Description

### User Story
As a [role/persona],
I want to [action/capability],
so that [benefit/value].

### Background / Context
[Why is this feature needed? What problem does it solve?
Link to customer feedback, support tickets, or product brief.]

### Detailed Requirements

#### Functional Requirements
1. [Specific requirement โ€” what the system must do]
2. [Specific requirement]
3. [Specific requirement]

#### Non-Functional Requirements
- **Performance**: [Response time, throughput expectations]
- **Scale**: [Expected data volume, concurrent users]
- **Security**: [Auth requirements, data sensitivity]
- **Accessibility**: [WCAG level, screen reader support]
- **Internationalization**: [Languages, locales, RTL support]

### User Flow
1. User navigates to [page/section]
2. User clicks [element]
3. System displays [response]
4. User enters [input]
5. System processes and shows [result]

### UI/UX
[Link to Figma/design mockups if available]

[If no designs yet, describe the expected interface:]
- Where does this feature appear in the UI?
- What does the user see?
- What interactions are available?
- What feedback does the user get?

### API Changes (if applicable)

#### New Endpoints
```
POST /api/v1/[resource]
Request: { field1: string, field2: number }
Response: 201 { id: string, field1: string, field2: number, createdAt: string }
```

#### Modified Endpoints
```
GET /api/v1/[resource]
New query params: ?dateFrom=ISO&dateTo=ISO
```

### Database Changes (if applicable)
- New table: `[table_name]` with columns: [list]
- Modified table: `[table_name]` โ€” add column: [column] ([type])
- New index: `[index_name]` on [table].[columns]

### Notifications / Emails (if applicable)
- When: [trigger condition]
- To: [recipient]
- Channel: [email / push / in-app / SMS]
- Content: [brief description]

### Configuration (if applicable)
- New env var: `[VAR_NAME]` โ€” [purpose]
- New feature flag: `[flag_name]` โ€” [purpose]
- New admin setting: [description]

## Acceptance Criteria
- [ ] [Specific, testable criterion โ€” "User can ___"]
- [ ] [Specific, testable criterion]
- [ ] [Specific, testable criterion]
- [ ] [Edge case handled โ€” "System handles ___ by ___"]
- [ ] [Error case handled โ€” "When ___ fails, user sees ___"]
- [ ] [Performance criterion โ€” "Response time under ___ms"]
- [ ] Unit tests added for new business logic
- [ ] Integration tests added for new endpoints
- [ ] Documentation updated
- [ ] Feature flag controls rollout (if applicable)

## Out of Scope
[Explicitly list what this ticket does NOT include.
This prevents scope creep and sets clear boundaries.]
- Not including [related but separate feature]
- Not supporting [specific edge case โ€” future ticket]
- Not changing [related area that stays as-is]

## Dependencies
- Blocked by: #[issue-number] โ€” [why]
- Depends on: [external service / team / decision]
- Blocks: #[issue-number] โ€” [why]

## Design / Technical Approach (optional)
[If the approach has been discussed or decided, document it here.
Include alternatives considered and why this approach was chosen.]

### Option A: [Approach name]
- Pros: ...
- Cons: ...

### Option B: [Approach name] โœ… Recommended
- Pros: ...
- Cons: ...

## Subtasks
- [ ] [Subtask 1 โ€” e.g., "Create database migration"]
- [ ] [Subtask 2 โ€” e.g., "Implement API endpoint"]
- [ ] [Subtask 3 โ€” e.g., "Build UI component"]
- [ ] [Subtask 4 โ€” e.g., "Add tests"]
- [ ] [Subtask 5 โ€” e.g., "Upda

Related in Productivity