Skip to content

chore: guard start-work skill to require an issue before coding#864

Merged
vivek7405 merged 2 commits into
mainfrom
chore/start-work-issue-guard
Jul 9, 2026
Merged

chore: guard start-work skill to require an issue before coding#864
vivek7405 merged 2 commits into
mainfrom
chore/start-work-issue-guard

Conversation

@vivek7405

Copy link
Copy Markdown
Collaborator

Closes #863

What

Adds a Precondition to webjs-start-work (.claude/skills/webjs-start-work/SKILL.md): if a task has no tracked issue yet, STOP and file one via webjs-file-issue before any branch or code. Also states the "no code before a tracked issue + a branch from it" rule in when_to_use so the skill is the funnel for ALL new work, not only when the user names an existing issue.

This closes the gap where #855 was implemented and merged before any issue existed (filed retroactively as #858 only after the user noticed).

Note: home-vs-repo skill drift

The repo copy (.claude/skills/webjs-start-work/SKILL.md, the versioned source that test/hooks/route-skills.test.mjs asserts) has drifted from a machine-local ~/.claude/skills/ copy that actually executes for this user. This PR updates the repo source only. The local copy should be re-synced separately so the guard is live.

Tests

node --test test/hooks/route-skills.test.mjs: 13/13.

https://claude.ai/code/session_016RNAZ8EfZYE8ZBpKUCzUao

@vivek7405 vivek7405 marked this pull request as ready for review July 9, 2026 07:43
vivek7405 added 2 commits July 9, 2026 13:33
Add a Precondition that routes untracked work (a conversational request,
a review finding, an idea) through webjs-file-issue before any branch or
code, and state the no-code-before-a-tracked-issue rule in when_to_use.
Closes the gap where a feature shipped in a PR with no Closes #N and never
appeared on the board.
@vivek7405 vivek7405 force-pushed the chore/start-work-issue-guard branch from 4d5a3c2 to 80706db Compare July 9, 2026 08:04
@vivek7405 vivek7405 merged commit 78f434c into main Jul 9, 2026
10 checks passed
@vivek7405 vivek7405 deleted the chore/start-work-issue-guard branch July 9, 2026 08:11
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.

Guard start-work skill: file an issue before coding untracked work

1 participant