Skip to content

chore(skills): spec-session, triage-bug, and deliver skills for the delivery rule - #137

Merged
V3RON merged 4 commits into
delivery/modelfrom
delivery/skills
Sep 10, 2026
Merged

V3RON merged 4 commits into
delivery/modelfrom
delivery/skills

Conversation

@V3RON

@V3RON V3RON commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Second of three stacked PRs. Each procedure in docs/internal/agent-rules/delivery.md becomes one project skill under .claude/skills/, so an agent runs it as a single command instead of retyping the steps.

  • spec-session — loads the issue and its linked request over GraphQL, reconciles every comment created after the body's lastEditedAt (one accept/reject question per proposed change), then runs the interview for the requested mode: create a feature from a request:new, write or amend the business section, add the technical section (drafting ADRs at Proposed where a decision is expensive to reverse), or split into task:draft sub-issues via the addSubIssue mutation. Ends with the body edit and a one-line "Spec updated" comment. Refuses to touch request:new and bug:* bodies.
  • triage-bug — claims a bug:triage issue, reproduces it as a failing test whose title is the claim, finds the root cause, pushes only the test to bug/<n>-repro, posts the five-section report (Reproduction, Root cause, Simplest fix, Alternatives rejected, Risk), unassigns. Cannot reproduce → bug:needs-info with what is missing. Asks before running the slow e2e lane.
  • deliver — claims a *:ready issue, branches (from the repro branch for bugs), builds from the body only, runs pnpm check, opens the PR with Closes #n and walks Done when or Completion conditions in the body. Stops and reports if the spec is wrong rather than working around it.

Both deliver and triage-bug look for the latest ## Handoff comment and the deterministic branch (<kind>/<n>, bug/<n>-repro) before starting, and leave a handoff when stopping early.

Named triage-bug rather than triage to avoid shadowing the globally installed triage skill.

Stack

  1. model, forms, templates, labels
  2. this PR — skills
  3. issue-state.yml automation

@V3RON
V3RON added this pull request to stack #139 September 9, 2026 23:31
@V3RON
V3RON force-pushed the delivery/skills branch 2 times, most recently from 72969be to 9949cad Compare September 10, 2026 01:25
@V3RON
V3RON marked this pull request as ready for review September 10, 2026 01:36
…elivery rule

Each skill encodes one procedure from docs/agent-rules/delivery.md so an
agent runs it as a single command: spec-session reconciles comments since
the body's lastEditedAt and then writes a feature or task body, creates a
feature from a request, or splits a feature into sub-issues; triage-bug
reproduces a bug:triage issue as a failing test and posts the report;
deliver claims a *:ready issue and opens the PR that closes it.
@V3RON
V3RON merged commit c2b55bc into main Sep 10, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant