@deimoscloud/coreai 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,185 @@
1
+ ---
2
+ description: Use when updating a Jira ticket status, moving a ticket to a different state, marking a ticket as done, starting work on a ticket, or putting a ticket in review. Handles status transitions with proper comments.
3
+ argument-hint: TICKET-XX to <status>
4
+ requires: [jira]
5
+ ---
6
+
7
+ # Jira Ticket Transition
8
+
9
+ You are transitioning: **$ARGUMENTS**
10
+
11
+ ## Valid Status Transitions
12
+
13
+ ```
14
+ Backlog → To Do → In Progress → In Review → Done
15
+
16
+ Blocked
17
+
18
+ In Progress
19
+ ```
20
+
21
+ | From | To | When |
22
+ |------|-----|------|
23
+ | Backlog | To Do | Sprint planning, ticket prioritized |
24
+ | To Do | In Progress | Work begins on ticket |
25
+ | In Progress | In Review | PR created |
26
+ | In Progress | Blocked | Dependency or blocker identified |
27
+ | Blocked | In Progress | Blocker resolved |
28
+ | In Review | In Progress | PR feedback requires changes |
29
+ | In Review | Done | PR merged, work complete |
30
+
31
+ ## Transition via Atlassian MCP
32
+
33
+ ### Get Current Status First
34
+
35
+ ```
36
+ mcp__atlassian__getJiraIssue
37
+ Issue Key: {{JIRA_PROJECT}}-XX
38
+ ```
39
+
40
+ ### Transition Ticket
41
+
42
+ ```
43
+ mcp__atlassian__transitionJiraIssue
44
+ Issue Key: {{JIRA_PROJECT}}-XX
45
+ Transition: <target status>
46
+ ```
47
+
48
+ ### Add Transition Comment
49
+
50
+ ```
51
+ mcp__atlassian__addCommentToJiraIssue
52
+ Issue Key: {{JIRA_PROJECT}}-XX
53
+ Comment: <transition comment>
54
+ ```
55
+
56
+ ## Required Comments by Transition
57
+
58
+ ### To Do → In Progress
59
+
60
+ ```
61
+ Starting work on this ticket.
62
+ Assigned to: @[agent-name]
63
+ Branch: feature/{{JIRA_PROJECT}}-XX-[description]
64
+ ```
65
+
66
+ ### In Progress → In Review
67
+
68
+ ```
69
+ PR created: <PR URL>
70
+
71
+ Changes implemented:
72
+ - [Change 1]
73
+ - [Change 2]
74
+
75
+ Ready for code review.
76
+ ```
77
+
78
+ ### In Progress → Blocked
79
+
80
+ ```
81
+ BLOCKED: [Reason for block]
82
+
83
+ Blocking issue: [Description or ticket reference]
84
+ Required to unblock: [What needs to happen]
85
+ ```
86
+
87
+ ### Blocked → In Progress
88
+
89
+ ```
90
+ Blocker resolved: [How it was resolved]
91
+ Resuming work.
92
+ ```
93
+
94
+ ### In Review → In Progress
95
+
96
+ ```
97
+ Addressing review feedback:
98
+ - [Feedback item 1]
99
+ - [Feedback item 2]
100
+
101
+ Will update PR when changes are complete.
102
+ ```
103
+
104
+ ### In Review → Done
105
+
106
+ ```
107
+ PR merged: [Merge commit SHA or PR URL]
108
+
109
+ Acceptance criteria verified:
110
+ - [x] [Criterion 1]
111
+ - [x] [Criterion 2]
112
+
113
+ Ticket complete.
114
+ ```
115
+
116
+ ## Workflow Integration
117
+
118
+ This skill integrates with the workflow defined in `WORKFLOWS.md`:
119
+
120
+ | Workflow State | Jira Status |
121
+ |----------------|-------------|
122
+ | BACKLOG | Backlog |
123
+ | ASSIGNED | In Progress |
124
+ | BRANCH_CREATED | In Progress |
125
+ | IMPLEMENTING | In Progress |
126
+ | PR_CREATED | In Review |
127
+ | IN_REVIEW | In Review |
128
+ | APPROVED | In Review |
129
+ | MERGED | Done |
130
+ | VERIFIED | Done |
131
+ | DONE | Done |
132
+
133
+ ## Validation
134
+
135
+ Before transitioning, verify:
136
+
137
+ ### To "In Progress"
138
+ - [ ] Ticket has clear acceptance criteria
139
+ - [ ] No blocking dependencies
140
+ - [ ] Agent is ready to begin work
141
+
142
+ ### To "In Review"
143
+ - [ ] PR exists and is linked
144
+ - [ ] All commits pushed
145
+ - [ ] CI checks passing (or will pass)
146
+
147
+ ### To "Done"
148
+ - [ ] PR is merged
149
+ - [ ] Acceptance criteria met
150
+ - [ ] No open review comments
151
+
152
+ ### To "Blocked"
153
+ - [ ] Blocker is clearly documented
154
+ - [ ] Blocking ticket/issue referenced if applicable
155
+
156
+ ## Error Handling
157
+
158
+ **If transition fails:**
159
+ 1. Check current ticket status
160
+ 2. Verify the transition is valid from current status
161
+ 3. Some transitions may require specific permissions
162
+
163
+ **If MCP is unavailable:**
164
+ Report to user:
165
+ ```
166
+ Unable to transition ticket via MCP.
167
+ Please manually update {{JIRA_PROJECT}}-XX to [status] in Jira.
168
+ Add comment: [suggested comment]
169
+ ```
170
+
171
+ ## Completion
172
+
173
+ After transition, report:
174
+ ```
175
+ Jira Ticket Transitioned
176
+
177
+ Ticket: {{JIRA_PROJECT}}-XX
178
+ Previous Status: [old status]
179
+ New Status: [new status]
180
+ Comment Added: Yes
181
+
182
+ URL: {{JIRA_URL}}/browse/{{JIRA_PROJECT}}-XX
183
+ ```
184
+
185
+ Now proceed with the ticket transition.