Logo: Hatch3r Board Groom

Hatch3r Board Groom

Organisatioun
hatch3r
hatch3r-board-groom

Ongoing backlog refinement for existing board items. Re-prioritize, reclassify, re-scope, archive stale items, decompose oversized issues, merge duplicates, refresh dependencies, and remediate board health findings.

Iwwersiicht

Editeurhatch3r
Repositoryhatch3r
Skill-Nummhatch3r-board-groom
Stären
26
Forks
7
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    hatch3r huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hatch3r Board Groom an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-board-groom
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-board-groom .claude/skills/hatch3r-board-groom
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hatch3r Board Groom an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hatch3r Board Groom automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hatch3r Board Groom net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

§0 Detect Ambiguity (P8 B1)

Before any action, scan the user's request and provided context for unresolved questions in scope, acceptance criteria, irreversibility, or constraint conflicts (contradictory inputs, missing target, unknown convention). If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md — do not proceed under silent assumption. This is the default path, not an exception. Acceptable to proceed without asking ONLY when scope is single-target, single-concern, and the brief alone is testable. Any residual ambiguity discovered mid-workflow invokes the same protocol.

Invoked by

Run directly for backlog refinement, or dispatched from skills/hatch3r-cleanup/SKILL.md (Step 2) scoped to stale-item archival (Step 4e) after that skill's consolidated cleanup ASK — this skill's own per-issue ASK checkpoints still apply on dispatch.

Integration with Platform Agentic Workflows

hatch3r's board commands are the implementation orchestration layer above platform agentic workflows (GitHub Agentic Workflows, Azure DevOps automations, GitLab Auto DevOps): the platform workflows run continuous background automation (triage, testing, docs) while the board commands orchestrate the delivery pipeline. board-groom is the refinement stage — it re-prioritizes, reclassifies, re-scopes, archives, decomposes, merges, and remediates dependency/health issues on existing work items as priorities and scope evolve. Complementary, not overlapping: platform workflows for background automation, board commands for structured delivery.


Shared Context

Read the hatch3r-board-shared skill at the start of the run. It contains Board Configuration, Platform Detection, Platform Context, Board Sync Procedure, and tooling directives. Cache all values for the duration of this run.

Token-Saving Directives

Follow the Token-Saving Directives in hatch3r-board-shared.


Workflow

Execute these steps in order. Do not skip any step. Ask the user at every checkpoint marked with ASK.

Step 1: Read Configuration

  1. Read .hatch3r/hatch.json and cache the full config (top-level owner/repo, platform, and board section).
  2. Read platform from .hatch3r/hatch.json. Default to github if missing.
  3. Resolve owner/repo per hatch3r-board-shared: use top-level owner/repo first, fall back to board.owner/board.repo if top-level values are empty.
  4. If both are missing, abort with: "Cannot groom board -- owner and repo are not configured in .hatch3r/hatch.json. Run board-init first."
  5. Note board.projectNumber -- if null, board sync will be skipped later.

Step 2: Full Board Scan

Perform ONE comprehensive scan and cache everything for subsequent steps.

2a. Fetch Open Issues / Work Items

Platform-specific: Fetch all open items

If platform is github:

  1. Fetch ALL open issues: gh issue list -R {owner}/{repo} --state open --limit 500 --json number,title,labels,state,createdAt,updatedAt,body. Paginate if necessary. Fall back to list_issues MCP if gh CLI fails.

If platform is azure-devops:

  1. Fetch ALL active work items: az boards query --org https://dev.azure.com/{namespace} --project {project} --wiql "SELECT [System.Id], [System.Title], [System.State], [System.Tags], [System.CreatedDate], [System.ChangedDate], [System.Description] FROM WorkItems WHERE [System.State] <> 'Closed' AND [System.State] <> 'Removed'". Fall back to list_work_items MCP.

If platform is gitlab:

  1. Fetch ALL open issues: glab issue list -R {namespace}/{project} --state opened --per-page 100. Paginate if necessary.

  2. For each issue/work item, extract labels/tags from the response.

  3. Check for sub-issues/child work items:

    • GitHub: issue_read with method: get_sub_issues.
    • Azure DevOps: az boards work-item relation list --id N to find parent-child relations.
    • GitLab: glab api projects/{project_id}/issues/{N}/links for related issues. Cache parent-child relationships.
  4. Parse ## Dependencies sections from issue bodies for dependency references. Recognize both hard (Blocked by #N, Depends on #N) and soft (Recommended after #N) dependency types. Track the type for each edge in the dependency graph -- only hard dependencies block pickup.

  5. Exclude any issue labeled meta:board-overview from all analysis and listings.

2b. Categorize Issues

Classify every open issue (excluding meta:board-overview):

  • Epic -- has sub-issues
  • Sub-issue -- is a child of an epic
  • Standalone -- neither parent nor child

Step 3: Compute Board Health & Surface Refinement Opportunities

Analyze cached data to produce actionable refinement suggestions. This step combines diagnostic detection (same as board-refresh) with grooming-specific analysis.

3a. Status Distribution

Count issues per status label:

StatusSource
Backlog / TriageIssues with status:triage
ReadyIssues with status:ready
In ProgressIssues with status:in-progress
In ReviewIssues with status:in-review
Externally BlockedIssues with status:blocked
3b. Missing Metadata Detection

For each open issue, check for required labels. Flag issues missing any of:

  • type:* (at least one type label)
  • priority:* (at least one priority label)
  • executor:* (at least one executor label)

Optional but noted: missing area:*, missing risk:*.

3c. Stale Issue Detection

Flag open issues that are potentially stale by applying criterion S6 (inactivity) from the Staleness Detection Criteria in hatch3r-board-shared — per-status updatedAt age thresholds. S6 hits become the archive candidates for Step 4e. Detection only; no mutation in this step.

3d. Dependency Health
  1. Build a dependency graph from parsed ## Dependencies sections.
  2. Identify stale dependency references: issues referencing closed blockers in ## Dependencies that should be cleaned up (the Blocked by #N is satisfied but the text remains).
  3. Identify orphaned blockers: issues with has-dependencies label but no ## Dependencies section, or an empty section.
  4. Identify blocked chains: open issues with unsatisfied blockers where the blocker is also blocked, creating a chain.
  5. Epic ordering consistency: For each epic, compare its ## Implementation Order levels against the DAG derived from its sub-issues' ## Dependencies sections. Flag epics where the two diverge.
  6. Cross-epic dependencies: Scan hard dependencies where the blocking issue and the dependent issue belong to different epics.
3e. Priority Imbalance Detection

Analyze the distribution of priority labels across the board:

  • Flag if >50% of issues are priority:p0 or priority:p1 (priority inflation).
  • Flag if all issues share the same priority (undifferentiated backlog).
  • Flag issues where priority does not align with risk (e.g., priority:p3 + risk:high).
3f. Grouping Opportunities & Standalone Audit

Scan existing standalone issues for epic grouping. Apply the Epic Grouping Policy from hatch3r-board-shared:

  • 2+ standalone issues sharing the same area:* labels.
  • 2+ standalone issues with semantically similar titles or overlapping scope.
  • 2+ standalone issues sharing the same type:* label (e.g., all type:refactor items).
  • 2+ standalone issues in the same broader domain (e.g., area:api + area:middleware = "backend").
  • Single standalone issues that could be absorbed into an existing epic (shared area, subsystem, or theme).
  • Single standalone issues that could become a themed 1-item epic (singleton promotion).

Compute standalone ratio: standalone_count / (epic_count + standalone_count). Flag if ratio exceeds 10%.

3g. Decomposition Candidates

Flag issues that may be oversized:

  • Issues with 5+ acceptance criteria.
  • Issues touching 3+ distinct area:* labels.
  • Issues whose body exceeds ~2000 characters (heuristic for scope sprawl).
3h. Duplicate Detection

Compare existing open issues pairwise for semantic overlap:

  • Same area:* + similar title keywords.
  • Overlapping acceptance criteria.
  • Cross-reference ## Scope sections for boundary collisions.
3j. Unlinked Sub-Issue Detection

For each epic, compare the sub-issue references in the epic body (checklist items, > Parent: references) against the native sub-issue list from issue_read with method: get_sub_issues (GitHub) or equivalent platform call. Flag sub-issues that appear in the body but are not natively linked.

3k. Board Sync Drift Detection

If board.projectNumber is configured, apply criterion S5 (label/column drift) from the Staleness Detection Criteria in hatch3r-board-shared, using the detection call in its table row. Flag every issue where the label status and board column status diverge; remediation runs in Step 4j (labels are the source of truth).

3l. Orphaned In-Review Detection

Apply criterion S2 (status contradicts git/PR state) from the Staleness Detection Criteria in hatch3r-board-shared to every open issue with status:in-review, and to closed issues still carrying a non-status:done status label (auto-closed on PR merge without the label/board update — see Post-Merge Terminal State in hatch3r-board-shared). Fetch PR/MR linkage:

  1. GitHub: Check if any open PR body references Closes #N for this issue: gh pr list -R {owner}/{repo} --state open --json number,body — parse for Closes #{N}.
  2. Azure DevOps: Check if any active PR is linked to this work item: az repos pr list --org https://dev.azure.com/{namespace} --project {project} --status active — check work item relations.
  3. GitLab: Check if any open MR description references Closes #N for this issue: glab mr list -R {namespace}/{project} --state opened — parse descriptions for Closes #{N}.

Flag the two S2 sub-cases:

  • Orphaned in-review (open): Open issues with status:in-review but no associated open PR/MR — likely caused by PR closure without merge.
  • Stale in-review (closed): Closed issues still labeled status:in-review — should be status:done with board status "Done".

3m. Present Refinement Summary

Present findings grouped by category:

Board Groom — Refinement Summary:

Board Health:
  Total open issues: N (X epics, Y sub-issues, Z standalone)
  Standalone ratio: Z/{X+Z} ({percentage}%) — target <=10%
  Missing metadata: M issues (details below)
  Stale issues: S issues
  Stale dependency refs: D issues
  Priority imbalance: {description or "None"}
  Epic ordering discrepancies: E epics
  Unlinked sub-issues: U issues (non-native links)
  Board sync drift: V issues (label/board status mismatch)
  Orphaned in-review: O issues (open with no PR/MR), S issues (closed but not status:done)

Grooming Opportunities:
  Re-prioritize candidates: R issues (priority/risk misalignment, priority inflation)
  Archive candidates: A issues (stale, likely obsolete)
  Decomposition candidates: C issues (oversized)
  Grouping candidates: G standalone issues → potential epics
  Duplicate/overlap candidates: O issue pairs
  Dependency cleanup: K issues (stale refs, orphaned labels)
  Link fix candidates: L issues (advisory or comment-only links)

Available actions: [reprioritize | reclassify | re-scope | demote | archive | decompose | merge | regroup | dep-refresh | health-fix | link-fix | all]

ASK: "Here is the board refinement summary. Which grooming actions do you want to perform? Select one or more: reprioritize / reclassify / re-scope / demote / archive / decompose / merge / regroup / dep-refresh / health-fix / link-fix / all. You can also specify issue numbers to target specific items (e.g., 'reprioritize #5, #12')."


Step 4: Execute Selected Grooming Actions

Execute only the actions the user selected. Each action is a self-contained sub-step with its own ASK checkpoint. If the user selected "all", execute every action in the order listed below.


4a. Re-prioritize

Change priority:* labels on existing issues based on current context.

  1. Present re-prioritize candidates from Step 3e (priority/risk misalignment, priority inflation) plus any user-specified issues.
  2. For each candidate, show current priority, risk, type, and a one-line rationale for the suggested change.
Re-prioritize Candidates:

| # | Title | Current | Suggested | Rationale |
|---|-------|---------|-----------|-----------|
| #N | {title} | P3 | P1 | risk:high but lowest priority; security-adjacent |
| #M | {title} | P0 | P2 | no longer critical after #K shipped |

ASK: "Confirm or adjust priority changes. Enter issue numbers with new priorities (e.g., '#5 → P1, #12 → P3'), or 'confirm all' / 'skip'."

  1. Apply confirmed changes using platform CLI:
    • GitHub: gh issue edit N --remove-label "priority:pN" --add-label "priority:pM" (fall back to issue_write MCP).
    • Azure DevOps: az boards work-item update --id N --fields "System.Tags=..." (update tag string).
    • GitLab: glab issue update N --unlabel "priority::pN" --label "priority::pM".

4b. Reclassify

Update type:*, executor:*, risk:*, or area:* labels on existing issues.

  1. Present reclassification candidates:
    • Issues where executor may have shifted (e.g., originally executor:agent but issue body reveals human decisions needed → suggest executor:hybrid).
    • Issues where risk assessment has changed (e.g., a dependency was removed, reducing risk).
    • Issues where type may be wrong (e.g., labeled type:feature but reads as a refactor).
  2. For each candidate, show current labels and suggested changes with rationale.

ASK: "Confirm or adjust reclassifications. Enter changes per issue (e.g., '#5 executor:hybrid, #12 risk:low'), or 'confirm all' / 'skip'."

  1. Apply confirmed changes using platform CLI:
    • GitHub: gh issue edit N --remove-label "..." --add-label "..." (fall back to issue_write MCP).
    • Azure DevOps: az boards work-item update --id N --fields "System.Tags=...".
    • GitLab: glab issue update N --unlabel "..." --label "...".

4c. Re-scope

Update acceptance criteria, ## Scope sections, and issue body content for existing issues. This uses the same triage questioning framework as board-fill Step 2.5 but applied to existing issues.

  1. Present re-scope candidates: user-specified issues, or issues flagged in Step 3g (decomposition candidates whose scope needs tightening rather than splitting).
  2. For each candidate, display the current acceptance criteria and scope section.

ASK: "Which issues need re-scoping? For each, I'll ask targeted questions to refine scope and acceptance criteria."

  1. For each confirmed issue, run triage questioning across the six dimensions (Scope/Definition, Value/Why, Unknowns/Spikes, External Blockers, Size/Decomposition, User/Stakeholder). Ask only about dimensions that appear unclear or outdated. Batch issues by theme.

  2. Update the issue/work item body with refined acceptance criteria and scope. Preserve all other body sections.

    • GitHub: gh issue edit N --body "..." (fall back to issue_write MCP).
    • Azure DevOps: az boards work-item update --id N --description "...".
    • GitLab: glab issue update N --description "...".

4d. Demote to Triage

Send status:ready issues back to status:triage when they need rework. This is the one grooming action that deliberately relaxes the "never downgrade status" guardrail from board-fill.

  1. Present demotion candidates: issues the user specified, or issues where the readiness assessment from board-fill Step 5.6 criteria would now fail (e.g., acceptance criteria are stale, scope has shifted, unresolved unknowns emerged).
  2. For each candidate, explain why demotion is recommended.
Demotion Candidates:

| # | Title | Current Status | Reason |
|---|-------|----------------|--------|
| #N | {title} | status:ready | AC reference API that was redesigned in #K |
| #M | {title} | status:ready | scope expanded beyond original estimate |

ASK: "Confirm demotion for these issues. They will return to status:triage and need re-filling via board-fill before pickup. Confirm / adjust / skip."

  1. Apply confirmed demotions using platform CLI. Sync board status to Backlog.
    • GitHub: gh issue edit N --remove-label "status:ready" --add-label "status:triage". Sync Projects V2 status.
    • Azure DevOps: az boards work-item update --id N --state "New" and update tags.
    • GitLab: glab issue update N --unlabel "status::ready" --label "status::triage".

4e. Archive Stale Items

Close issues that are no longer relevant or have been superseded.

  1. Present archive candidates from Step 3c (stale issues) plus any user-specified issues.
  2. For each candidate, show last update date, current status, and staleness reason.
Archive Candidates:

| # | Title | Status | Last Updated | Staleness |
|---|-------|--------|--------------|-----------|
| #N | {title} | triage | 45 days ago | No activity since creation |
| #M | {title} | in-progress | 21 days ago | Possibly abandoned |

ASK: "Which issues should be archived (closed)? I'll add a 'Closed as stale during board grooming' comment before closing. Enter issue numbers, 'all', or 'skip'. Issues marked in-progress will require explicit confirmation."

  1. For each confirmed archive:
    • Add a comment: Closed during board grooming — {reason}. Reopen if still relevant.
    • Close the issue/work item using platform CLI:
      • GitHub: gh issue close N (fall back to issue_write MCP with state: CLOSED).
      • Azure DevOps: az boards work-item update --id N --state "Closed".
      • GitLab: glab issue close N -R {namespace}/{project}.
    • If the issue was a sub-issue of an epic, note the change on the parent epic.

4f. Decompose

Break down oversized issues into smaller sub-issues.

  1. Present decomposition candidates from Step 3g plus any user-specified issues.

  2. For each candidate, analyze the issue body and propose specific sub-issues with one-line descriptions. Follow the same decomposition logic as board-fill Step 5c:

    • Split along area boundaries when multiple areas are touched.
    • Split along acceptance criteria clusters when criteria fall into distinct shippable groups.
    • Respect user-stated MVP slices from original triage context if available in the issue body.
  3. Present decomposition proposals:

Decomposition — #N: {title}

Proposed sub-issues:
  1. {sub-issue title} — {one-line scope}
  2. {sub-issue title} — {one-line scope}
  3. {sub-issue title} — {one-line scope}

The original issue becomes the parent epic.

ASK: "Confirm decomposition for each issue, or adjust sub-issue breakdown. Confirm / modify / skip per issue."

  1. For confirmed decompositions:
    • If the original is standalone, convert it to an epic by updating its body with ## Implementation Order and adding sub-issue links.
    • Create sub-issues using platform CLI (gh issue create / az boards work-item create / glab issue create). Fall back to MCP if CLI fails.
    • Link sub-issues to the parent using the Sub-Issue Linking Procedure from hatch3r-board-shared (three-tier fallback chain).
    • Inherit labels/tags from the parent. Add ## Dependencies sections. Add has-dependencies label to sub-issues with dependency references (per rule 7 of Board Sync Enforcement).
    • Sync new sub-issues to the board via the Board Sync Procedure from hatch3r-board-shared.

4g. Merge Duplicates

Combine overlapping issues discovered after initial dedup.

  1. Present duplicate/overlap candidates from Step 3h.
  2. For each pair, show both issues side by side: title, labels, acceptance criteria overlap, scope overlap.

ASK: "For each pair: (a) merge into one (specify which survives), (b) keep both, (c) convert one to sub-issue of the other. Enter decisions per pair."

  1. For confirmed merges:
    • Transfer unique acceptance criteria from the closing issue to the surviving issue.
    • Transfer any labels the surviving issue lacks.
    • Add a comment on the closing issue: Merged into #N during board grooming.
    • Close the duplicate using platform CLI:
      • GitHub: gh issue close N.
      • Azure DevOps: az boards work-item update --id N --state "Closed".
      • GitLab: glab issue close N -R {namespace}/{project}.
    • If any other issue references the closed duplicate in ## Dependencies, update those references to point to the surviving issue.

4h. Dependency Refresh

Re-analyze and clean up dependency data based on current board state.

  1. Clean stale references: For issues referencing closed blockers, remove the satisfied Blocked by #N lines from ## Dependencies (the blocker is done, the reference is noise). Replace with None if no other dependencies remain. 1b. Normalize dependency format: Replace Depends on #N with Blocked by #N in ## Dependencies sections. This enforces the canonical format per the Dependency Data Model in hatch3r-board-shared.
  2. Fix orphaned labels: For issues with has-dependencies label but empty or missing ## Dependencies, either add the section or remove the label. Also add has-dependencies to issues that have dependency references but are missing the label (bidirectional enforcement per rule 7 of Board Sync Enforcement).
  3. Discover new dependencies: Analyze the current board for producer/consumer relationships that weren't captured in the original fill. Propose new dependency edges.
  4. Recompute epic ordering: For epics with stale ## Implementation Order sections (flagged in Step 3d), regenerate the section from sub-issues' ## Dependencies DAG.
  5. Unblock newly available items: After cleaning stale refs, identify issues that were previously dependency-waiting but are now available (all blockers closed). Note these for the user.

Present all proposed changes:

Dependency Refresh:

Stale references to remove:
  #N — remove "Blocked by #K" (K is closed)
  #M — remove "Blocked by #J" (J is closed) → section becomes "None"

Orphaned labels to fix:
  #P — has "has-dependencies" but no ## Dependencies section → remove label

New dependencies discovered:
  #Q should be "Blocked by #R" (Q consumes API that R creates)

Epic ordering to regenerate:
  Epic #S — sub-issue deps diverge from ## Implementation Order

Newly unblocked:
  #T — was waiting on #K (now closed) → available for pickup

ASK: "Confirm dependency changes. Adjust / confirm all / skip."

  1. Apply confirmed changes using platform CLI:
    • GitHub: gh issue edit N --body "...", add/remove labels via gh issue edit N --add-label / --remove-label.
    • Azure DevOps: az boards work-item update --id N --description "...", update tags.
    • GitLab: glab issue update N --description "...", update labels. Regenerate ## Implementation Order for affected epics.

4h-link. Link Fix (Sub-Issue Re-Linking)

Re-run the Sub-Issue Linking Procedure from hatch3r-board-shared for sub-issues identified in Step 3j as non-natively linked.

  1. Present link-fix candidates from Step 3j:
Link Fix Candidates:

| # | Title | Parent Epic | Current Link Status |
|---|-------|-------------|---------------------|
| #N | {title} | #{epic} | advisory |
| #M | {title} | #{epic} | comment-only |

ASK: "Confirm re-linking for these sub-issues. The procedure will attempt native linking via MCP. Confirm / skip."

  1. For each confirmed candidate, run the Sub-Issue Linking Procedure fallback chain starting from the primary tier. Record updated link status in the run cache.

4i. Regroup Standalones

Group standalone issues into existing or new epics. This action executes the grouping opportunities detected in Step 3f, following the Epic Grouping Policy from hatch3r-board-shared.

  1. Present regrouping proposals from Step 3f, organized by target epic:
Regroup Proposals:

Absorb into existing epics:
  #{N} "{title}" → Epic #{E} "{epic title}" (shared area:api)
  #{M} "{title}" → Epic #{F} "{epic title}" (semantic overlap)

Form new epics:
  New epic: "Code Quality & Refactoring"
    #{P} "{title}" (type:refactor)
    #{Q} "{title}" (type:refactor)

Singleton promotions:
  #{R} "{title}" → New 1-item epic: "Performance Optimization" (no existing epic match, but themed for future absorption)

Catch-all:
  #{S} "{title}" → "General Improvements" epic (no thematic match)

Standalone ratio: before={before}%, after={projected}% (target <=10%)

ASK: "Confirm regrouping proposals. For each: accept / reject / move to different epic. Items you reject will remain standalone. Confirm / adjust / skip."

  1. For confirmed regroupings:

    Absorb into existing epic:

    • Link the standalone as a sub-issue using the Sub-Issue Linking Procedure from hatch3r-board-shared.
    • Update the epic body to include the new sub-issue in its checklist and ## Implementation Order.

    Form new epic:

    • Create a new epic issue with Overview, Sub-issues checklist, and ## Implementation Order.
    • Link all grouped items as sub-issues using the Sub-Issue Linking Procedure.
    • Apply labels: inherit the common labels from the grouped items, add status:triage (or status:ready if all sub-issues are ready).
    • Sync the new epic to the board via the Board Sync Procedure from hatch3r-board-shared.

    Singleton promotion:

    • Create a new 1-item epic with the themed title.
    • Link the standalone as its only sub-issue.
    • The epic body notes: "This epic groups related work for {theme}. Future items in this area should be added as sub-issues."

    Catch-all:

    • If a "General Improvements" epic exists, absorb into it.
    • If not, create one with all catch-all items as sub-issues.
  2. After execution, recalculate and report the standalone ratio.


4j. Health Fix (Board Health Remediation)

Fix structural gaps detected in Step 3b (missing metadata), board sync drift detected in Step 3k, and orphaned in-review issues detected in Step 3l.

  1. For each issue with missing required labels, infer the missing labels from issue content using the same classification tables as board-fill Step 3:

    • Missing type:* → infer from title/body keywords.
    • Missing priority:* → default priority:p2 unless urgency signals suggest otherwise.
    • Missing executor:* → infer from scope complexity.
    • Missing area:* → infer from file paths, modules, or subsystems mentioned.
    • Missing risk:* → infer from scope, dependencies, and architectural impact.
  2. Present inferred labels:

Health Fix — Missing Metadata:

| # | Title | Missing | Inferred |
|---|-------|---------|----------|
| #N | {title} | priority | priority:p2 (no urgency signals) |
| #M | {title} | type, executor | type:feature, executor:agent (clear scope) |

ASK: "Confirm or adjust inferred labels. Enter corrections per issue, or 'confirm all' / 'skip'."

  1. Apply confirmed labels/tags using platform CLI:

    • GitHub: gh issue edit N --add-label "..." (fall back to issue_write MCP).
    • Azure DevOps: az boards work-item update --id N --fields "System.Tags=...".
    • GitLab: glab issue update N --label "...".
  2. Board sync drift remediation: For each issue flagged in Step 3k where label status and board column status diverge:

    • Labels are source of truth. Update the board to match the label.
    • Use the platform-specific Board Sync Procedure to set the board status to the value corresponding to the issue's current status label.
    • Special case — closed issue with status:in-review: If the issue is closed (state = closed) but the label is status:in-review and the board shows "In Review":
      1. Replace status:in-review with status:done on the issue.
      2. Sync board status to "Done" using board.statusOptions.done.
    • Present drift fixes in the batch:
Board Sync Drift Remediation:

| # | Title | Label Status | Board Status | Action |
|---|-------|-------------|--------------|--------|
| #N | {title} | status:ready | In Progress | Sync board -> Ready |
| #M | {title} | status:in-review (closed) | In Review | Label -> status:done, board -> Done |

No separate ASK — drift fixes are presented alongside the metadata fixes in the same Health Fix confirmation prompt.

  1. Orphaned in-review remediation: For each issue flagged in Step 3l:

    a. Closed issue with status:in-review (stale in-review): Suggest replacing status:in-review with status:done and syncing board to "Done". This is the post-merge terminal state that was not reached (see Post-Merge Terminal State in hatch3r-board-shared). b. Open issue with status:in-review but no open PR/MR (orphaned in-review): Present the issue with context (last PR if any, time since last update). Suggest status:ready (if work appears abandoned) or status:in-progress (if rework is likely).

Orphaned In-Review Remediation:

| # | Title | State | Last PR | Suggested Status | Reason |
|---|-------|-------|---------|------------------|--------|
| #N | {title} | closed | PR #M (merged) | status:done | Closed issue still labeled in-review |
| #K | {title} | open | PR #J (closed, not merged) | status:ready | PR closed 14 days ago, no replacement |

ASK: "Confirm or adjust status changes for in-review issues. Enter per-issue decisions (e.g., '#N -> done, #K -> in-progress'), or 'confirm all' / 'skip'."


Step 5: Readiness Re-evaluation

After all grooming actions are applied, re-evaluate readiness for all affected issues.

  1. Collect all issues modified during Step 4.
  2. For each modified issue currently at status:triage, check all readiness criteria from board-fill Step 5.6 (structural + substantive). If all criteria are met, propose promoting to status:ready.
  3. For each modified issue currently at status:ready, verify readiness criteria still hold after the changes. If criteria no longer hold (e.g., scope was expanded but acceptance criteria weren't updated), flag but do not auto-demote -- demotion requires explicit user action via Step 4d.

Present readiness changes:

Readiness Re-evaluation:

Promote to ready:
  #N — all structural + substantive criteria met after health fix

Readiness warnings (still ready, but verify):
  #M — priority changed from P3 to P1; confirm AC still reflect the higher urgency

ASK: "Confirm readiness promotions and acknowledge warnings. Confirm / adjust / skip."

  1. Apply confirmed promotions: remove status:triage, add status:ready. Sync Projects v2 status.

Step 6: Apply Changes & Sync Board

For every issue/work item whose labels or status changed during Steps 4-5:

  1. Sync board status: Run the full Board Sync Procedure from hatch3r-board-shared for each issue with a status label change. Map the new status label to the corresponding board status.
  2. Sync other board fields: If priority, area, or other mapped fields changed, update those fields on the board as well (per the enforcement rules in hatch3r-board-shared).
  3. Track item IDs: Cache board item IDs for all synced issues to avoid re-resolution within this run.

Step 7: Refresh Board Dashboard

This step is mandatory. Do not skip.

  1. Search the cached board inventory for an open issue labeled meta:board-overview.
  2. Compute Implementation Lanes using the Lane Computation Algorithm (steps 1-12) from hatch3r-board-shared. Use the dependency graph from Step 3d, updated with mutations from Step 4, as input. This includes inter-lane dependency computation, lane phasing, and the Lane Dependency Map.
  3. Assign models to all open issues using the Model Selection Heuristic (Quality-First) from hatch3r-board-shared.
  4. If found: Regenerate the dashboard body using the Board Overview Issue Format template from hatch3r-board-shared, populated with cached board data updated with all mutations from Steps 4-6. Update using platform CLI:
    • GitHub: gh issue edit {N} --body "..." (fall back to issue_write MCP).
    • Azure DevOps: az boards work-item update --id {N} --description "...".
    • GitLab: glab issue update {N} --description "...".
  5. If not found: Create a new board overview issue using the Board Overview Issue Format template, populated with current board data. Label/tag it meta:board-overview and sync to the board.

Do NOT re-fetch all issues; use cached data updated with this run's mutations.


Step 7.5: End-of-Run Reconciliation

This step is mandatory. Do not skip.

Run the End-of-Run Reconciliation Procedure from hatch3r-board-shared. This verifies board sync, sub-issue links, label consistency, and PR linkage for all issues created or updated during this grooming session. Output the reconciliation report before proceeding to Step 8.


Step 8: Groom Summary

Present a summary of all changes made during this grooming session:

Board Groom Complete:
  Project:            {owner}/{repo}
  Overview issue:     #{number} (updated / created)

  Actions performed:
    Re-prioritized:     {count} issues
    Reclassified:       {count} issues
    Re-scoped:          {count} issues
    Demoted to triage:  {count} issues
    Archived (closed):  {count} issues
    Decomposed:         {count} issues → {count} new sub-issues
    Merged:             {count} duplicate pairs
    Regrouped:          {count} standalones → {count} epics ({count} new epics created)
    Dependencies:       {count} refs cleaned, {count} new deps added, {count} epics reordered
    Health fixed:       {count} issues (missing metadata resolved)
    Readiness promoted: {count} issues (triage → ready)

  Board State:
    Total open:   {count} ({epics} epics, {sub} sub-issues, {standalone} standalone)
    Standalone ratio: {percentage}% (target <=10%)
    Ready:        {count} ({available} available, {depWaiting} waiting on deps)
    In Progress:  {count}
    In Review:    {count}
    Triage:       {count}
    Blocked:      {count}
    Lanes:        {laneCount} parallel lanes

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Tier boundaries for THIS skill:

  • Tier 1 (single-issue re-scope): inline.
  • Tier 2 (multi-issue grooming with reclassification across lanes): spawn parallel sub-agents per lane via the Task tool.
  • Tier 3 (full-board re-grooming): one fresh sub-agent per lane or epic; orchestrator integrates only.

Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Error Handling

  • Issue listing failure: Retry once, then fall back to MCP. If both fail, abort with platform-specific auth guidance:
    • GitHub: "Cannot scan board -- check gh auth login status and repository access."
    • Azure DevOps: "Cannot scan board -- check az login status and project access."
    • GitLab: "Cannot scan board -- check glab auth login status and project access."
  • Issue edit/close failure: Retry once, then fall back to MCP. If both fail, warn and skip that specific mutation. Summarize failures at end.
  • Sub-issue/relation read failure: Warn and continue. Epic/sub-issue relationships will be incomplete; note in the summary.
  • Sub-issue linking failure (decomposition): Report but do not delete the created sub-issue. Note the failed link in the summary.
  • Board sync failure: Follow the resilience rules from hatch3r-board-shared. Warn and continue.

Guardrails

  • Never modify the meta:board-overview issue outside of Step 7. Steps 4-6 operate on work items only.
  • Never skip ASK checkpoints. Every grooming action requires explicit user confirmation before mutation.
  • Demotion requires double confirmation. Step 4d is the only place where status downgrade is permitted, and it requires the user to explicitly confirm each demotion.
  • Never auto-close issues. Archiving (Step 4e) always requires user selection. Issues marked status:in-progress require individual explicit confirmation even when the user selects "all".
  • Preserve issue body structure. When updating ## Dependencies, ## Scope, or acceptance criteria, preserve all other sections of the issue body. Read the full body before editing, apply targeted replacements.
  • No dependency cycles. When adding new dependencies in Step 4h, validate that the addition does not create a cycle. Flag and reject any cycle-forming edge.
  • Follow the Platform CLI-first approach from hatch3r-board-shared. Use platform CLI as primary; MCP as fallback.
  • Board Overview is auto-maintained. Exclude from all analysis. One board overview issue at a time.
  • Single board scan. Perform ONE full board scan per run. Cache all issue data. Reuse for all subsequent steps. Only re-fetch an issue if you mutated it and need the updated body for a subsequent step.

Heefeg gestallte Froen

Wat mécht de KI-Skill Hatch3r Board Groom?

Ongoing backlog refinement for existing board items. Re-prioritize, reclassify, re-scope, archive stale items, decompose oversized issues, merge duplicates, refresh dependencies, and remediate board health findings.

Firwat Hatch3r Board Groom op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hatch3r Board Groom besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hatch3r Board Groom an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-board-groom an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hatch3r Board Groom benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hatch3r Board Groom benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hatch3r Board Groom domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hatch3r Board Groom gratis?

Jo. hatch3r huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇