Every change follows: Issue → Branch → Commit → PR → Review → Merge → Cleanup
- Create an issue — describe the bug, feature, or refactor
- Branch —
feat/<issue>-short-desc|fix/<issue>-short-desc|refactor/<issue>-short-desc - Implement — follow conventions in GUIDELINES.md
- Commit — conventional commits:
feat:,fix:,refactor:,docs:,test: - PR — fill template, reference issue with
Closes #N - Review — architect reviews, CI passes
- Merge — squash merge, delete branch
- Cleanup —
git checkout main && git pull --ff-only && git branch -D <branch>
- Source file:
src/four-opencode-supertools.ts(notsrc/index.ts) - npm name:
@four-bytes/four-opencode-supertools - Language: TypeScript, strict mode, ESM
- Target: Bun
- Format: Prettier (single quotes, 100 width, 2 tab, semicolons)
feat: short description #42
fix: short description #42
docs: short description #50
Always reference the issue number.
mise run build # Bun.build to dist/
mise run test # bun test
mise run typecheck # tsc --noEmitEvery code change must end with a successful build. Dist is gitignored.
Plugin registers token-efficient tools for opencode agents:
- apply_patch — Unified diff patch application (~90% token savings)
- batch_edit — Grep and replace across multiple files (~80%)
- lint_file — Run linter, return errors only (~60%)
- run_tests — Run tests, return failures only (~50%)
See ROADMAP.md for the evolution plan.
By contributing, you agree that your contributions will be licensed under Apache-2.0.