A minimal, strict TypeScript repository template designed for high agent effectiveness.
It scaffolds the four agent-ready principles:
- 100% line coverage workflow
- Thoughtful file structure
- End-to-end type safety
- Automated enforcement (local + CI)
- Strict TypeScript (
tsconfig.json) - Vitest with coverage thresholds locked to 100%
- ESLint + Prettier + lint-staged
- Git hooks via
simple-git-hooks - CI workflow that runs the full quality gate
- Structure checks for catch-all filenames and oversized files
- A reusable checklist in
docs/checklist.md
bun install
bun run checkbun run build- buildsrcintodistbun run typecheck- run TypeScript checks with no emitbun run lint- run ESLintbun run format- apply Prettierbun run format:check- verify formattingbun run test- run tests with coveragebun run test:watch- run tests in watch modebun run structure:check- enforce file naming and size rulesbun run opencode:append-thread- append latest Opencode session transcript to a PR commentbun run check- run structure, format, lint, typecheck, and tests
- Rename
package.jsonfields for your project. - Replace the sample domain in
src/domainandsrc/services. - Keep coverage at 100% as you build features.