@igor-guari/pi-skill-to-tickets 0.0.0-stage → 1.0.0

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.
Files changed (4) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +52 -2
  3. package/SKILL.md +114 -0
  4. package/package.json +26 -4
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Matt Pocock
4
+ Copyright (c) 2025 Igor Guariroba
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,53 @@
1
- # Temporary Holding Version
1
+ # pi-skill-to-tickets
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [![Pi Package](https://img.shields.io/badge/pi--package-skill-blue)](https://github.com/IgorGuariroba/pi-skill-to-tickets)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
+
6
+ **to-tickets** skill for the **[Pi coding agent](https://pi.dev)**, adapted from Matt Pocock's Engineering Skills.
7
+
8
+ > Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).
9
+
10
+ ---
11
+
12
+ ## Installation
13
+
14
+ Install directly into Pi using `pi install`:
15
+
16
+ ```bash
17
+ pi install git:github.com/IgorGuariroba/pi-skill-to-tickets
18
+ ```
19
+
20
+ Or clone into your local/global skills directory:
21
+
22
+ ```bash
23
+ # Global Pi skills directory:
24
+ git clone https://github.com/IgorGuariroba/pi-skill-to-tickets.git ~/.pi/agent/skills/to-tickets
25
+
26
+ # Or Agent Skills standard path:
27
+ git clone https://github.com/IgorGuariroba/pi-skill-to-tickets.git ~/.agents/skills/to-tickets
28
+ ```
29
+
30
+ ---
31
+
32
+ ## Usage
33
+
34
+ Trigger it explicitly in your session:
35
+
36
+ ```text
37
+ /skill:to-tickets
38
+ ```
39
+
40
+ Or let Pi automatically route to it based on conversation context and need.
41
+
42
+ ---
43
+
44
+ ## Credits
45
+
46
+ - **Original concept & methodology**: [Matt Pocock](https://github.com/mattpocock)
47
+ - **Adapted for Pi Agent**: [Igor Guariroba](https://github.com/IgorGuariroba)
48
+
49
+ ---
50
+
51
+ ## License
52
+
53
+ [MIT](LICENSE)
package/SKILL.md ADDED
@@ -0,0 +1,114 @@
1
+ ---
2
+ name: to-tickets
3
+ description: Break a plan, spec, or the current conversation into a set of tracer-bullet
4
+ tickets, each declaring its blocking edges, published to the configured tracker
5
+ (edges as text in one file per ticket locally, or native blocking links on a real
6
+ tracker).
7
+ disable-model-invocation: true
8
+ license: MIT
9
+ metadata:
10
+ author: Matt Pocock
11
+ adapted_by: Igor Guariroba
12
+ version: 1.0.0
13
+ ---
14
+
15
+
16
+ # To Tickets
17
+
18
+ Break a plan, spec, or conversation into a set of **tickets**: tracer-bullet vertical slices, each declaring the tickets that **block** it.
19
+
20
+ The issue tracker and triage label vocabulary should have been provided to you. If not, tell the user to run `/skill:setup-matt-pocock-skills`.
21
+
22
+ ## Process
23
+
24
+ ### 1. Gather context
25
+
26
+ Work from whatever is already in the conversation context. If the user passes a reference (a spec path, an issue number or URL) as an argument, fetch it and read its full body and comments.
27
+
28
+ ### 2. Explore the codebase (optional)
29
+
30
+ If you have not already explored the codebase, do so to understand the current state of the code. Ticket titles and descriptions should use the project's domain glossary vocabulary, and respect ADRs in the area you're touching.
31
+
32
+ Look for opportunities to prefactor the code to make the implementation easier. "Make the change easy, then make the easy change."
33
+
34
+ ### 3. Draft vertical slices
35
+
36
+ Break the work into **tracer bullet** tickets.
37
+
38
+ <vertical-slice-rules>
39
+
40
+ - Each slice cuts a narrow but COMPLETE path through every layer (schema, API, UI, tests): vertical, NOT a horizontal slice of one layer
41
+ - A completed slice is demoable or verifiable on its own
42
+ - Each slice is sized to fit in a single fresh context window
43
+ - Any prefactoring should be done first
44
+
45
+ </vertical-slice-rules>
46
+
47
+ Give each ticket its **blocking edges**: the other tickets that must complete before it can start. A ticket with no blockers can start immediately.
48
+
49
+ **Wide refactors are the exception to vertical slicing.** A **wide refactor** is one mechanical change (rename a column, retype a shared symbol) whose **blast radius** fans across the whole codebase, so a single edit breaks thousands of call sites at once and no vertical slice can land green. Don't force it into a tracer bullet; sequence it as **expand–contract**. First expand: add the new form beside the old so nothing breaks. Then migrate the call sites over in batches sized by blast radius (per package, per directory), each batch its own ticket blocked by the expand, keeping CI green batch to batch because the old form still exists. Finally contract: delete the old form once no caller remains, in a ticket blocked by every migrate batch. When even the batches can't stay green alone, keep the sequence but let them share an integration branch that all block a final integrate-and-verify ticket; green is promised only there.
50
+
51
+ ### 4. Quiz the user
52
+
53
+ Present the proposed breakdown as a numbered list. For each ticket, show:
54
+
55
+ - **Title**: short descriptive name
56
+ - **Blocked by**: which other tickets (if any) must complete first
57
+ - **What it delivers**: the end-to-end behaviour this ticket makes work
58
+
59
+ Ask the user:
60
+
61
+ - Does the granularity feel right? (too coarse / too fine)
62
+ - Are the blocking edges correct: does each ticket only depend on tickets that genuinely gate it?
63
+ - Should any tickets be merged or split further?
64
+
65
+ Iterate until the user approves the breakdown.
66
+
67
+ ### 5. Publish the tickets to the configured tracker
68
+
69
+ Publish the approved tickets. **How** depends on the tracker the `setup-matt-pocock-skills` skill configured; the tickets are the same either way, only the shape of the blocking edges changes:
70
+
71
+ - **Local files** → write one file per ticket under `.scratch/<feature-slug>/issues/<NN>-<slug>.md`, numbered from `01` in dependency order (blockers first). Each file's "Blocked by" lists the numbers/titles it depends on. Use the per-ticket file template below: one ticket per file, never a single combined file.
72
+ - **A real issue tracker (GitHub, Linear, …)** → publish one issue per ticket in dependency order (blockers first) so each ticket's blocking edges can reference real identifiers. Use the platform's native blocking relationship where it has one; otherwise set each ticket's "Blocked by" to the blocking issues. If the source was an existing issue, make each ticket its sub-issue (tracker doc's operation). Apply the `ready-for-agent` triage label unless instructed otherwise; the tickets are agent-grabbable by construction.
73
+
74
+ Work the **frontier**: any ticket whose blockers are all done. For a purely linear chain that means top to bottom.
75
+
76
+ Do NOT close or modify any parent issue.
77
+
78
+ <local-ticket-template>
79
+
80
+ # <NN>: <Ticket title>
81
+
82
+ **What to build:** the end-to-end behaviour this ticket makes work, from the user's perspective, not a layer-by-layer implementation list.
83
+
84
+ **Blocked by:** the numbers/titles of the tickets that gate this one, or "None (can start immediately)".
85
+
86
+ **Status:** ready-for-agent
87
+
88
+ - [ ] Acceptance criterion 1
89
+ - [ ] Acceptance criterion 2
90
+
91
+ </local-ticket-template>
92
+
93
+ <issue-template>
94
+
95
+ ## Parent
96
+
97
+ A reference to the parent issue on the tracker (if the source was an existing issue, otherwise omit this section).
98
+
99
+ ## What to build
100
+
101
+ The end-to-end behaviour this ticket makes work, from the user's perspective, not layer-by-layer implementation.
102
+
103
+ ## Acceptance criteria
104
+
105
+ - [ ] Criterion 1
106
+ - [ ] Criterion 2
107
+
108
+ ## Blocked by
109
+
110
+ - A reference to each blocking ticket, or "None (can start immediately)". Omit this section when blockers were set as native edges.
111
+
112
+ </issue-template>
113
+
114
+ In either form, avoid specific file paths or code snippets: they go stale fast. Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it and note briefly that it came from a prototype. Trim to the decision-rich parts, not a working demo, just the important bits.
package/package.json CHANGED
@@ -1,6 +1,28 @@
1
1
  {
2
2
  "name": "@igor-guari/pi-skill-to-tickets",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, ",
5
+ "keywords": [
6
+ "pi-package",
7
+ "pi-skill",
8
+ "pi",
9
+ "to-tickets",
10
+ "engineering-skills"
11
+ ],
12
+ "author": "Igor Guariroba",
13
+ "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/IgorGuariroba/pi-skill-to-tickets.git"
17
+ },
18
+ "homepage": "https://github.com/IgorGuariroba/pi-skill-to-tickets#readme",
19
+ "pi": {
20
+ "skills": [
21
+ "."
22
+ ]
23
+ },
24
+ "files": [
25
+ "SKILL.md",
26
+ "*.md"
27
+ ]
28
+ }