{"slug":"issue-triage-4","title":"issue-triage","summary":"Use when triaging GitHub issues by assigning labels, priority, effort estimates, or detecting duplicates. Covers triage methodology, label taxonomy, priority frameworks, effort sizing, and sprint proposal construction.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:42:35.575323Z","repo":{"url":"https://github.com/SebastienDegodez/skraft-plugin","stars":17,"forks":3,"license":"GPL-3.0","updatedAt":"2026-11-29T00:18:21Z"},"bodyHtml":"<hr>\n<h2>name: issue-triage\ndescription: \"Use when triaging GitHub issues by assigning labels, priority, effort estimates, or detecting duplicates. Covers triage methodology, label taxonomy, priority frameworks, effort sizing, and sprint proposal construction.\"</h2>\n<h1>Issue Triage</h1>\n<h2>Overview</h2>\n<p>Triage assigns structured metadata to issues so DISCUSS can refine them in priority order. Every triaged issue must have a <strong>type</strong>, <strong>priority</strong>, and <strong>effort estimate</strong> before it is eligible for DISCUSS.</p>\n<p>Core principle: <strong>triage is classification, not refinement</strong>. You are not writing acceptance criteria here — you are labeling, prioritizing, and estimating to enable the next phase.</p>\n<hr>\n<h2>Label Taxonomy</h2>\n<p>All GitHub issues passing through DISCOVER must receive labels from the following taxonomy.</p>\n<h3>Type Labels</h3>\n<table>\n<thead>\n<tr>\n<th>Label</th>\n<th>When to Apply</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type/feature</code></td>\n<td>New user-facing capability that does not currently exist</td>\n</tr>\n<tr>\n<td><code>type/bug</code></td>\n<td>Behavior that is incorrect relative to expected behavior</td>\n</tr>\n<tr>\n<td><code>type/tech-debt</code></td>\n<td>Internal quality improvement — no change in user-facing behavior</td>\n</tr>\n<tr>\n<td><code>type/docs</code></td>\n<td>Documentation — README, API docs, in-code comments</td>\n</tr>\n<tr>\n<td><code>type/question</code></td>\n<td>Needs clarification before it can be triaged properly</td>\n</tr>\n</tbody>\n</table>\n<h3>Priority Labels</h3>\n<table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Definition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>priority/P0</code></td>\n<td>Blocking users or a legal/compliance/data-loss risk. Must be addressed immediately. Requires written justification.</td>\n</tr>\n<tr>\n<td><code>priority/P1</code></td>\n<td>High business value. Should be in the next sprint.</td>\n</tr>\n<tr>\n<td><code>priority/P2</code></td>\n<td>Medium value. Target the next 2–3 sprints.</td>\n</tr>\n<tr>\n<td><code>priority/P3</code></td>\n<td>Nice-to-have. Not in the current roadmap. Backlog item.</td>\n</tr>\n</tbody>\n</table>\n<h3>Effort Labels</h3>\n<p>Story points on the Fibonacci scale: <strong>1, 2, 3, 5, 8, 13, 21</strong>. No intermediate values.</p>\n<table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Duration</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>effort/1</code></td>\n<td>&lt; 2 hours — a one-liner, config change, or text correction (1 AC)</td>\n</tr>\n<tr>\n<td><code>effort/2</code></td>\n<td>2–4 hours — a small validation, DTO field, or targeted bug fix (2 ACs)</td>\n</tr>\n<tr>\n<td><code>effort/3</code></td>\n<td>~1 day — a new use case, new endpoint, or feature with 3–4 ACs</td>\n</tr>\n<tr>\n<td><code>effort/5</code></td>\n<td>2 days — a new aggregate, complex business rule, subsystem refactor (4–5 ACs)</td>\n</tr>\n<tr>\n<td><code>effort/8</code></td>\n<td>3 days — a large aggregate or cross-cutting change (5–6 ACs). Ceiling of the right-sized 1–3 days band.</td>\n</tr>\n<tr>\n<td><code>effort/13</code></td>\n<td>&gt; 3 days — a new bounded context or major architectural change (6+ ACs). <strong>Must be split before DISCUSS.</strong></td>\n</tr>\n<tr>\n<td><code>effort/21</code></td>\n<td>&gt; 3 days — an epic spanning several subsystems (6+ ACs). <strong>Must be split before DISCUSS.</strong></td>\n</tr>\n</tbody>\n</table>\n<h3>Status Labels</h3>\n<table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status/needs-triage</code></td>\n<td>Newly created, not yet classified</td>\n</tr>\n<tr>\n<td><code>status/ready</code></td>\n<td>Triaged — has type, priority, and effort. Ready for DISCUSS.</td>\n</tr>\n<tr>\n<td><code>status/duplicate</code></td>\n<td>Confirmed duplicate of another issue. Original linked in comment.</td>\n</tr>\n<tr>\n<td><code>status/wontfix</code></td>\n<td>Explicitly out of scope. Decision documented.</td>\n</tr>\n</tbody>\n</table>\n<h3>Area Labels (Optional)</h3>\n<table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Coverage</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>area/domain</code></td>\n<td>Domain logic — entities, value objects, domain services</td>\n</tr>\n<tr>\n<td><code>area/api</code></td>\n<td>API layer — controllers, DTOs, request/response contracts</td>\n</tr>\n<tr>\n<td><code>area/infra</code></td>\n<td>Infrastructure — persistence, external integrations</td>\n</tr>\n<tr>\n<td><code>area/ui</code></td>\n<td>Frontend / client-facing surfaces</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<h2>Priority Framework (P0–P3)</h2>\n<h3>P0 — Critical</h3>\n<p><strong>Definition</strong>: The system is broken in a way that blocks users from completing a core flow, or there is a legal, compliance, or data-loss risk.</p>\n<p><strong>Qualifying criteria</strong>:</p>\n<ul>\n<li>A user cannot complete their primary job-to-be-done (e.g., cannot submit an insurance application)</li>\n<li>Data loss or data corruption is occurring or imminent</li>\n<li>Legal or regulatory compliance is violated (e.g., GDPR, IFRS, provincial insurance regulations)</li>\n<li>Security vulnerability that exposes user data</li>\n</ul>\n<p><strong>Auto-insurance examples</strong>:</p>\n<ul>\n<li>Driver age validation is throwing an unhandled exception → application submission blocked → P0</li>\n<li>Eligibility calculation overcharging a protected category due to a bug → P0 (compliance)</li>\n<li>User session tokens not expiring → P0 (security)</li>\n</ul>\n<p><strong>Disqualifying criteria</strong> (NOT P0):</p>\n<ul>\n<li>Feature is missing but users can work around it</li>\n<li>Performance degradation (unless causing timeouts that block submission)</li>\n<li>A P1 feature is incomplete</li>\n</ul>\n<p><strong>Mandatory</strong>: Every P0 label must include a written justification in the \"Notes\" field:</p>\n<blockquote>\n<p>\"P0: Driver age validation crashes — blocks all application submissions (reported by 3 users, 2026-05-14)\"</p>\n</blockquote>\n<hr>\n<h3>P1 — High Value</h3>\n<p><strong>Definition</strong>: High business value. Should be in the next sprint. Does not block today's users but is on the critical path for the next release.</p>\n<p><strong>Qualifying criteria</strong>:</p>\n<ul>\n<li>Core feature required for the next milestone or sprint goal</li>\n<li>Bug that significantly degrades user experience without fully blocking them</li>\n<li>Required for a near-term compliance deadline (&gt; 1 week away)</li>\n</ul>\n<p><strong>Auto-insurance examples</strong>:</p>\n<ul>\n<li>Add eligibility check for young drivers (core flow, next sprint goal)</li>\n<li>Fix incorrect premium calculation for multi-vehicle policies (wrong output, not crash)</li>\n<li>Implement secondary driver support (needed for v0.2 milestone)</li>\n</ul>\n<p><strong>Disqualifying criteria</strong>:</p>\n<ul>\n<li>The feature has no defined delivery target</li>\n<li>\"Would be nice\" but not on the product roadmap</li>\n</ul>\n<hr>\n<h3>P2 — Medium Value</h3>\n<p><strong>Definition</strong>: Meaningful improvement, but not urgent. Target the next 2–3 sprints.</p>\n<p><strong>Qualifying criteria</strong>:</p>\n<ul>\n<li>Enhances an existing feature without it being broken</li>\n<li>Performance improvement that is noticeable but not blocking</li>\n<li>Developer experience improvement</li>\n</ul>\n<p><strong>Auto-insurance examples</strong>:</p>\n<ul>\n<li>Add eligibility reason codes to the API response (enhancement)</li>\n<li>Improve error messages in the eligibility check (UX improvement)</li>\n<li>Add pagination to the driver list endpoint (performance improvement)</li>\n</ul>\n<hr>\n<h3>P3 — Nice-to-Have</h3>\n<p><strong>Definition</strong>: Low business value or unclear ROI. Not in the current product roadmap.</p>\n<p><strong>Qualifying criteria</strong>:</p>\n<ul>\n<li>Cosmetic, aesthetic, or minor convenience</li>\n<li>Feature requested once with no validation</li>\n<li>Already has an acceptable workaround</li>\n</ul>\n<p><strong>Auto-insurance examples</strong>:</p>\n<ul>\n<li>Add tooltips to the eligibility form</li>\n<li>Support dark mode in the customer portal</li>\n<li>Add CSV export of audit logs</li>\n</ul>\n<p><strong>Disqualifying criteria</strong>:</p>\n<ul>\n<li>Do NOT use P3 for things that are genuinely not worth doing — use <code>status/wontfix</code> instead</li>\n</ul>\n<hr>\n<h3>Priority Decision Tree</h3>\n<pre><code>Q1: Is a user completely blocked from completing a core flow right now?\n  YES → P0\n\nQ2: Is there a legal, compliance, or data-loss risk?\n  YES → P0\n\nQ3: Is this in the sprint goal or next milestone?\n  YES → P1\n\nQ4: Is this a significant UX improvement or important enhancement?\n  YES → P2\n\nDefault → P3\n</code></pre>\n<hr>\n<h2>Effort Estimation Heuristics</h2>\n<h3>Signals That Affect Estimation</h3>\n<table>\n<thead>\n<tr>\n<th>Signal</th>\n<th>Implication</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Number of acceptance criteria (ACs)</td>\n<td>1 AC = 1, 2 ACs = 2, 3-4 ACs = 3, 4-5 ACs = 5, 5-6 ACs = 8, 6+ ACs = 13 or 21</td>\n</tr>\n<tr>\n<td>Number of architecture layers touched</td>\n<td>1 layer = 2 or 3, 2-3 layers = 3 or 5, 4+ layers = 8 or above</td>\n</tr>\n<tr>\n<td>External dependencies changed</td>\n<td>+1 step up the scale per external dependency</td>\n</tr>\n<tr>\n<td>New concept or aggregate introduced</td>\n<td>5 points minimum</td>\n</tr>\n<tr>\n<td>Refactoring existing code</td>\n<td>Depends on scope — targeted = 2, cross-cutting = 13 or 21</td>\n</tr>\n</tbody>\n</table>\n<h3>Estimation by Label</h3>\n<table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Example tasks in auto-insurance domain</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>effort/1</code></td>\n<td>Fix a typo in a validation message, update a config value, add a missing null check</td>\n</tr>\n<tr>\n<td><code>effort/2</code></td>\n<td>Add a <code>driverAge</code> field validation, fix a bug in a single use case, add a DTO property</td>\n</tr>\n<tr>\n<td><code>effort/3</code></td>\n<td>Implement <code>CheckEligibilityUseCase</code>, add a new API endpoint with request/response, fix a multi-step bug</td>\n</tr>\n<tr>\n<td><code>effort/5</code></td>\n<td>Build the <code>DriverProfile</code> aggregate with value objects, refactor the eligibility module, add audit logging across the domain</td>\n</tr>\n<tr>\n<td><code>effort/8</code></td>\n<td>Extend the driver subsystem end-to-end (domain + API + persistence), migrate a module to a new contract</td>\n</tr>\n<tr>\n<td><code>effort/13</code></td>\n<td>Introduce a new bounded context (Claims), major architectural change (CQRS migration)</td>\n</tr>\n<tr>\n<td><code>effort/21</code></td>\n<td>Full subsystem rebuild, multi-context re-platforming</td>\n</tr>\n</tbody>\n</table>\n<h3>Oversize Warning</h3>\n<p>Any issue estimated <strong>above 8 points</strong> — that is, <code>effort/13</code> or <code>effort/21</code> — <strong>must be flagged before entering DISCUSS</strong>. Estimates above 8 points are too large to write meaningful ACs for without splitting. The triage report must include a \"must split\" note for every 13- or 21-point issue.</p>\n<p>8 points (3 days) is the ceiling of the right-sized 1–3 days band: anything larger is not an issue, it is a batch of issues.</p>\n<hr>\n<h2>Duplicate Detection</h2>\n<h3>Similarity Levels</h3>\n<table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Title Similarity</th>\n<th>Action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EXACT</td>\n<td>&gt; 95%</td>\n<td>Mark the newer issue as <code>status/duplicate</code>. Add comment linking to the original.</td>\n</tr>\n<tr>\n<td>NEAR</td>\n<td>80–95%</td>\n<td>Recommend merge. Add <code>related-to:#{original}</code> comment on both. Flag in triage report.</td>\n</tr>\n<tr>\n<td>RELATED</td>\n<td>40–80%</td>\n<td>Note as related. No merge. Add in the \"Duplicates\" section of the triage report.</td>\n</tr>\n<tr>\n<td>DIFFERENT</td>\n<td>&lt; 40%</td>\n<td>Separate issues. No action needed.</td>\n</tr>\n</tbody>\n</table>\n<h3>Normalization for Comparison</h3>\n<p>Before comparing titles:</p>\n<ol>\n<li>Lowercase all words</li>\n<li>Remove stop words: <code>the</code>, <code>a</code>, <code>an</code>, <code>is</code>, <code>in</code>, <code>for</code>, <code>of</code>, <code>to</code>, <code>with</code>, <code>and</code>, <code>or</code>, <code>not</code>, <code>on</code>, <code>at</code></li>\n<li>Remove punctuation</li>\n<li>Sort remaining words alphabetically</li>\n<li>Compare using word overlap ratio: <code>|intersection| / |union|</code></li>\n</ol>\n<p><strong>Example</strong>:</p>\n<ul>\n<li>Issue A: \"Fix validation error on driver age field\"</li>\n<li>Issue B: \"Driver age field validation fails\"</li>\n<li>Normalized A: <code>[age, driver, error, field, fix, validation]</code></li>\n<li>Normalized B: <code>[age, driver, fail, field, validation]</code></li>\n<li>Overlap: <code>{age, driver, field, validation}</code> = 4 words</li>\n<li>Union: 7 words</li>\n<li>Similarity: 4/7 = 57% → RELATED</li>\n</ul>\n<h3>When in Doubt</h3>\n<p>Link rather than merge. Merging issues loses context. If similarity is ambiguous (50–70%), add a <code>related-to</code> comment and flag in the report — let the team decide.</p>\n<hr>\n<h2>Triage Output Format</h2>\n<h3>Issue Triage Table</h3>\n<pre><code>| # | Title | Type | Priority | Effort | Notes |\n|---|---|---|---|---|---|\n| 42 | Add eligibility check for young drivers | feature | P1 | 3 | Core feature for v0.2 |\n| 43 | Fix validation error on driver age field | bug | P0 | 2 | Blocking form submission — crashes on age &lt; 0 |\n| 58 | Driver profile missing secondary driver | feature | P1 | 5 | Required for multi-driver policies |\n| 71 | Add pagination to driver list endpoint | feature | P2 | 2 | UX improvement, not blocking |\n| 89 | Add tooltip to eligibility form | feature | P3 | 1 | Cosmetic, low priority |\n</code></pre>\n<h3>Sprint Proposal Capacity Calculation</h3>\n<p>Effort-to-days conversion:</p>\n<ul>\n<li>1 = 0.25 day</li>\n<li>2 = 0.5 day</li>\n<li>3 = 0.75 day</li>\n<li>5 = 1.5 days</li>\n<li>8 = 3 days</li>\n<li>13 = excluded (must split)</li>\n<li>21 = excluded (must split)</li>\n</ul>\n<p>Effective capacity = team-days × 0.7 (accounts for meetings, reviews, incidents)</p>\n<hr>\n<h2>Sprint Proposal Construction</h2>\n<ol>\n<li><strong>Sort</strong> all triaged issues by priority: P0 first, then P1, then P2, then P3</li>\n<li><strong>Apply capacity constraint</strong>: effective capacity = declared team-days × 0.7</li>\n<li><strong>Fill greedily</strong>: add issues until effective capacity is reached</li>\n<li><strong>Override for P0</strong>: all P0 issues enter the sprint regardless of capacity (mark \"over capacity\" if needed)</li>\n<li><strong>Enforce the above-8 exclusion</strong>: no 13- or 21-point issue enters the sprint — must be split first</li>\n<li><strong>Note over-capacity</strong>: if total effort &gt; effective capacity, mark sprint as \"over capacity\" with explanation</li>\n</ol>\n<h3>Sprint Proposal Table</h3>\n<pre><code>| # | Title | Priority | Effort | Days | Justification |\n|---|---|---|---|---|---|\n| 43 | Fix validation error on driver age field | P0 | 2 | 0.5 | Blocking — must fix |\n| 42 | Add eligibility check for young drivers | P1 | 3 | 0.75 | Sprint goal |\n| 58 | Driver profile missing secondary driver | P1 | 5 | 1.5 | Sprint goal |\n| 71 | Add pagination to driver list endpoint | P2 | 2 | 0.5 | Capacity available |\n\nTotal: 3.25 days | Effective capacity: 4.9 days (7 team-days × 0.7)\nStatus: within capacity\n</code></pre>\n<hr>\n<h2>References</h2>\n<ul>\n<li><a href=\"references/label-taxonomy.md\">label-taxonomy.md</a> — full label definitions, color codes, conflict rules</li>\n<li><a href=\"references/priority-criteria.md\">priority-criteria.md</a> — P0–P3 decision framework with domain examples</li>\n<li><a href=\"references/triage-template.md\">triage-template.md</a> — blank template and filled auto-insurance example</li>\n</ul>\n","files":[{"path":"references/label-taxonomy.md","sizeBytes":6664,"isText":true},{"path":"references/priority-criteria.md","sizeBytes":8058,"isText":true},{"path":"references/triage-template.md","sizeBytes":5911,"isText":true},{"path":"SKILL.md","sizeBytes":12228,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:44:38.772282Z","sha256":"1FFF237F05A9F44790626541D5D0F59E5C1985AEACAF0F4D192A344EDACFF846","sizeBytes":13454},"review":null,"source":{"repositoryUrl":"https://github.com/SebastienDegodez/skraft-plugin","path":"plugins/skraft-backlog/skills/issue-triage","license":"GPL-3.0","commit":"c6117c6236a25490bf1916b131866069740c9b22","subtreeSha":"5BCC5A38FDE5078FFF00376CA0AA8C2C7A4CEE5A46B074C21F65F168692D3087","lastSyncedAt":"2026-11-29T00:42:27.348488Z"},"reviewedAt":"2026-11-29T00:49:15.869593Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/SebastienDegodez/skraft-plugin/tree/main/plugins/skraft-backlog/skills/issue-triage"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install sebastiendegodez-skraft-plugin@llmmart"},{"target":"git","command":"git clone https://github.com/SebastienDegodez/skraft-plugin.git"}]}