Skip to content

Baonguyen/sprint refinement - #21

Merged
baonguyenNava merged 8 commits into
mainfrom
baonguyen/sprint-refinement
Jul 10, 2026
Merged

Baonguyen/sprint refinement#21
baonguyenNava merged 8 commits into
mainfrom
baonguyen/sprint-refinement

Conversation

@baonguyenNava

@baonguyenNava baonguyenNava commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

What

Adds the refine-issue skill: pressure-tests an existing GitHub issue for sprint readiness
via an adjudicated product-owner-vs-senior-engineer debate, reconciling human comments before
any change is written back.

Relates to #15, #29

How

See skills/refine-issue/SKILL.md for the full flow: debate → reconcile comments → adjudicate
every proposed change → update the issue via gh only after human approval. Also includes
supporting updates to issue templates, AGENTS.md, CONTRIBUTING.md, and a new
rules/subagent-model-tiers.md.

Test plan

Notes for reviewers

Compare #15 and #29 directly to see what the skill changed and why; that diff is the intended
review artifact for this PR, in addition to the skill code itself.

Base automatically changed from jeffhorn/agent-contributor-docs to main July 8, 2026 18:21
@baonguyenNava
baonguyenNava force-pushed the baonguyen/sprint-refinement branch from 4bf910e to 62900a6 Compare July 8, 2026 19:33
@baonguyenNava

baonguyenNava commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

@jeffhorn-nava looking for your feedback with regards to having a sprint refinement skill.

Here is the original issue: Issue 15

Refined issued: Issue 22

A couple of thoughts on my end. I thought that the Sprint refinement skill brought up some pretty good points, and I liked it overall. It just needs some refinements. I was, however, looking at Joe's Rebar project. Specifically, I looked at a presentation that he did and the changes that he made for Rebar over DSO. One thought that came up is that he had skills with these processes in DSO, and it did not work out in the way that he liked. With Rebar, he used Python to help make the skill more deterministic.

Originally, I suggested that maybe, with these skills, they aren't complicated enough to require a more deterministic workflow. However, with thinking about Joe's changes in the way that he has built projects, I am thinking that maybe any time that you acquire a process that has a multi-agent skill, it may be advisable to make it more deterministic in order to maintain the quality gates that we are looking for.

That said, I would be totally okay with keeping this as a skill only and moving it to a more deterministic process if we find it lacking after many uses.

Note: it's a lot easier to compare both issues if you open them in a split view within Chrome.

@baonguyenNava
baonguyenNava force-pushed the baonguyen/sprint-refinement branch from 62900a6 to 7689f2a Compare July 9, 2026 16:15
@baonguyenNava
baonguyenNava marked this pull request as ready for review July 9, 2026 18:20

@jeffhorn-nava jeffhorn-nava left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this quite a lot! One suggested change, because I ought to have caught it myself when I committed it: there's no need to keep a count of the rules.

I think it's ready to go. Based on #22 you can make further refinements here or do them on new PRs, either way. My comments over there are mostly about the refinement comment trail. Maybe comments should be reviewed like commit message drafts, PR drafts, and issue drafts by the review-draft skill?

Comment thread AGENTS.md Outdated
## Architecture and CI

Deep reference lives in two rule files under `rules/` at the repo root. Claude Code auto-loads each
Deep reference lives in three rule files under `rules/` at the repo root. Claude Code auto-loads each

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Deep reference lives in three rule files under `rules/` at the repo root. Claude Code auto-loads each
Deep reference lives in rule files under `rules/` at the repo root. Claude Code auto-loads each

@jeffhorn-nava

jeffhorn-nava commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

That said, I would be totally okay with keeping this as a skill only and moving it to a more deterministic process if we find it lacking after many uses.

I'm ok with keeping it a skill for now. It might be good for us to lightly retread some of Joe's ground.

Comment thread CONTRIBUTING.md
wording it for its audience, reviewing it, labeling it, and filing it. Every template opens with
an "Issue readiness state" checklist that tracks the issue's lifecycle: reviewed by a human
engineer, refinement complete, all open questions answered, post-refinement changes reviewed by
a human, and ready for work. Tick the boxes as the issue advances; the `refine-issue` skill

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see refine-issue wired into the lifecycle here. One gap: it's named in CONTRIBUTING.md but not in AGENTS.md, where create-issue, create-pr, and review-draft each get a mention (the Issue templates and Workflow sections). Worth adding a one-line pointer there too so the skill is discoverable from the agent guide, per the doc-maintenance table's "CONTRIBUTING.md and Workflow above."

Comment thread rules/subagent-model-tiers.md Outdated
Comment on lines +20 to +21
In practice: `review-draft` keeps its parallel reviewers on a cheap tier and its adjudication on
Opus; `refine-issue` runs its debate, review, and adjudication roles on Opus and its planner on

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pins review-draft's adjudication to "Opus," but review-draft/SKILL.md deliberately says "a more capable model" and never names a specific one. Full disclosure: I kept review-draft's wording generic on purpose, but I never talked that through with you, so it isn't a settled convention. A decision either way is genuinely useful: make this rule generic to match review-draft ("adjudication on a more capable tier"), or update review-draft to name Opus so the two agree. As written, they drift. No strong preference from me, let's just pick one.

baonguyenNava and others added 8 commits July 10, 2026 09:17
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Route the Reviewer's human-comment conflicts through the Adjudicator
and the approval gate so none are collected then dropped, per the
never-silently-drop invariant.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@baonguyenNava
baonguyenNava force-pushed the baonguyen/sprint-refinement branch from e2a34cb to 5645758 Compare July 10, 2026 15:19
@baonguyenNava
baonguyenNava merged commit 52a9004 into main Jul 10, 2026
2 checks passed
@baonguyenNava
baonguyenNava deleted the baonguyen/sprint-refinement branch July 10, 2026 15:20
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.

2 participants