Repository navigation
Conversation
Adds a conditional `### Sibling-site Scan (Conditional)` subsection to `spec/SKILL.md` `## Context Gathering` (after Feature Branch Context, before Verification Method Decision Framework). Trigger mirrors the /qa mirror: focused AC + a localized fix where the same root-cause pattern likely exists at sibling sites in the same file (≥3 instances of the affected pattern in the same file — e.g. regex blocks in `pre-tool.sh`). Output options are scoped to planning-stage choices: (a) an Open Question proposing scope expansion (only when trivially co-located), or (b) a recommended follow-up issue. Unlike /qa, no `NEEDS_VERIFICATION` clause — that verdict bucket doesn't apply at spec time. Pointer to `feedback_qa_second_look.md` included. Mirrored across all three `spec/SKILL.md` copies (`.claude/skills/`, `templates/skills/`, `skills/`); `npx tsx scripts/check-skill-sync.ts` reports `synced spec/SKILL.md — 3/3 match`. CHANGELOG entry added under `[Unreleased] / ### Changed` directly above the symmetric #573 entry. Closes #580.
5 tasks
…-read fixes Second-pass review after first-pass /qa surfaced 5 actionable gaps in the new subsection. Tightens wording to remove reader-confusion risk and adds the planner-output-slot pointers the original draft was missing. - Gap 1: example phrasing now matches intra-file trigger scope. "regex blocks repeated across hook scripts like pre-tool.sh" parsed as cross-file despite the binding "in the same file" appearing twice; now reads "the regex blocks in pre-tool.sh" per the issue body's literal proposal. - Gap 3: "During plan generation" → "During planning". The former was semantically off under the "## Context Gathering" placement (Context Gathering precedes plan generation in the /spec flow). - Gap 4: dropped the meta "Why at /spec time:" paragraph; folded the front-line / safety-net framing inline into the existing feedback_qa_second_look.md citation paragraph. /qa mirror has no equivalent meta paragraph; symmetric reduction. - Gap 5: added explicit /spec output template slot pointers — option (a) cites "## Open Questions", option (b) cites "## Implementation Plan or as a separate plan step" — so the planner knows where findings go rather than leaving the slot orphaned. - Gap 7: added one-line guidance for hybrid cases: "When findings mix trivial and non-trivial sites, surface each separately." Net: 3 paragraphs (down from 4); -6 lines across the 3 mirrors. Gaps 2 (bullet vs subsection) and 6 (placement vs issue-body's "near Conflict Risk" hint) intentionally not fixed: - Gap 2: AC-1's "bullet" is colloquial; /qa precedent uses subsection too. - Gap 6: spec comment Open Question 1 explicitly resolved placement with rationale — overriding now would re-litigate the spec. 3-dir mirror sync verified (npx tsx scripts/check-skill-sync.ts → synced spec/SKILL.md — 3/3 match). All 5 AC literal grep checks still pass.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
### Sibling-site Scan (Conditional)subsection tospec/SKILL.md## Context Gathering(after### Feature Branch Context, before## Verification Method Decision Framework).pre-tool.sh)./qa, noNEEDS_VERIFICATIONclause — that verdict bucket doesn't apply at spec time.feedback_qa_second_look.mdincluded.spec/SKILL.mdcopies;npx tsx scripts/check-skill-sync.tsreportssynced spec/SKILL.md — 3/3 match.[Unreleased] / ### Changed, directly above the symmetric feat(qa): add sibling-site scan prompt to first-pass /qa verdict checklist #573/qaentry.This closes the loop deferred by #573: catching sibling sites at
/spectime is strictly cheaper than catching them at/qatime./specis the front line;/qais the safety net.AC Coverage
check-skill-sync.ts→synced spec/SKILL.md — 3/3 matchNEEDS_VERIFICATIONfeedback_qa_second_look.md[Unreleased] / ### Changed, ends(#580)Test plan
npx tsx scripts/check-skill-sync.ts→synced spec/SKILL.md — 3/3 matchSibling-site Scan,≥3,pre-tool.sh,feedback_qa_second_look.mdNEEDS_VERIFICATIONdoes NOT appear in the new subsection(#580), under[Unreleased] / ### Changeddiff -qclean across.claude/skills/,templates/skills/,skills/)Conflict watch
PR #586 (issue #571) is open against the same four files but spatially non-overlapping (different sections in
spec/SKILL.md; different[Unreleased]entries inCHANGELOG.md). Coordinate at merge time per the spec comment.Closes #580.