1.9 KiB
1.9 KiB
name, description, disable-model-invocation, user-invocable, argument-hint, allowed-tools
| name | description | disable-model-invocation | user-invocable | argument-hint | allowed-tools | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fix-issue | Take a GitHub issue from triage through a PR on a fix/<id> branch | true | true | <issue-number> |
|
Run from inside oikos/. $1 is the issue number.
- Load context —
gh issue view $1 --repo ulsklyc/oikos --comments. Read linked PRs, commits, related issues. Stop and report if the issue is already closed or duplicated. - Triage before coding — classify: bug, enhancement, question, invalid. If reproduction steps are missing or scope is unclear, post a question via
gh issue comment $1 --body "..."and stop. Do not guess intent. - Branch + implement —
git checkout -b fix/$1. Make the minimal change that solves the reported problem. Respect the Hard Constraints from CLAUDE.md. Add or extend atest-<module>.jssuite that would have caught the bug. Runnpm test— all suites must pass before moving on. - Ship —
git addonly the files actually changed by this fix, commit with a Conventional Commit subject (fix: <short summary> (#$1)), pushgit push -u origin fix/$1, thengh pr create --fill --base mainwith a body that closes the issue (Closes #$1) and summarises root cause + fix.
Guardrails
- Never work on
maindirectly. If you're accidentally onmain, stop and switch. - Never bypass the PostToolUse innerHTML hook. If it fires, fix the DOM code — don't disable the hook.
- Never
git add -Aorgit add .. Stage files by name. - If the fix needs a DB change, it goes into a NEW entry at the end of the
migrationsarray inserver/db.js. Never edit existing entries. - Do not run the
release-prepskill here — releases happen after the PR is merged, onmain.