| name | ship |
| description | Prepare a change to the inscope repo for a PR. Use before committing or opening a PR, to refresh snapshots, sync the README and self-skill, pass the gates, and commit. |
Ship a change to inscope
Getting a change out as a PR. (Publishing an npm version is a separate manual step: bump package.json and push to main.) Work the steps in order; each is done when its check passes.
Steps
- Refresh snapshots if a snapshot-pinned generator changed. After editing
src/generators/{hook,mcp,gitconfig}.ts, run bun test --update-snapshots and review the diff. Done when the diff is intended or empty; treat a moved snapshot as a change to decide on, not noise to silence.
- Sync docs to the change. If a command, flag, field, or behavior changed, update
README.md (command table, section, config example) and the bundled self-skill skills/inscope/SKILL.md. Keep the self-skill's frontmatter valid YAML by quoting or rephrasing any value that contains a colon. Done when both match the new behavior.
- Pass the gates.
bun run format && bun run lint && bun run typecheck && bun run test. Done when all four pass and the diff adds no em-dashes.
- Commit. One Conventional Commit, scoped (
feat(skills):, fix(hook):, docs:, chore(tooling):, ci:), the title as a changelog line, no Co-authored-by trailer. Done when the working tree is clean.
- Open or update the PR. Land on a branch via a PR. Merge only on an explicit go-ahead. Done when the PR reflects the change and CI is green.
Reference
- Repo-only: this skill is not shipped in the package.
- Imports use
@/ for src and ~/ for the repo root.
- Zero runtime dependencies; hand-roll validation rather than add a library.