@londontypescript/temple-bar
v0.2.2
Published
The London TypeScript workflow, enforced on AI coding agents via git hooks, a quality gate and GitHub rules.
Maintainers
Readme
@londontypescript/temple-bar
The London TypeScript workflow, enforced on AI coding agents via git hooks, a quality gate and GitHub rules.
A rule that exists only as prose is a rule that will eventually be violated.
Pre-release (
0.x). Expect changes.
Set it up in a project with the launcher:
pnpm create @londontypescript/temple-bar@latesttemple-bar works with pnpm only: install it first. Installing this package on its own doesn't set anything up; if you already have, finish with pnpm exec temple-bar init.
Once the repo has files of its own, beyond the ones it starts with, temple-bar gate needs typecheck, lint, format:check and test scripts in package.json, and fails one that does nothing. It runs every one that exists, then the file-length cap and the AGENTS.md size limit (200 lines, 32 KiB), and lists each check with its result. Setup adds gate, ready and merge scripts, so the commands run through pnpm, which a workspace needs: pnpm merge <N> merges a pull request, run from the default-branch checkout and never inside a pull request's worktree, since pnpm runs whatever the current folder's package.json says. Every command takes --help.
What setup does, and how to use it with an AI agent: the full README.
MIT licence.
