All projects
~/topthammanun
++
02

Personal

project 2 of 7

Developer tooling

Workflow tooling for coding agents

May 2026 – Present · 7m · Author

Skills, hooks and guardrails that make coding agents follow an established engineering process.

Highlights

  • –A workflow pack for one project: a rules file with the order every task follows (worktree, intake, root cause, implement, verify, ship, clean up) and seven slash-command skills for the steps that repeat.
  • –Skills for the repeated work: fix a list of issues and sweep the sibling forms, trace a screen value to its API and table, write SQL with a rollback and a dry run, verify against a baseline, ship a branch with merge-request text and run end-to-end checks.
  • –A guard hook that reads every shell command and file edit first. It denies a push onto the main branches or without an explicit refspec, denies edits to generated API clients and asks before a command that changes a shared checkout.
  • –Install and uninstall scripts link the skills into the agent's folder and register the hook, with a plan mode that changes nothing.
  • –Contributed to a shared agent toolkit for the team on the border-control project.
  • 7

    skills

  • 1

    guard hook

Entry points
Rules fileSlash-command skills
Guard
Pre-tool-use hook
Checks
Baseline-aware verifyPlaywright E2E
Setup
Install scriptUninstall script
  • Claude Code (skills, hooks)
  • JavaScript
  • Git
  • Playwright
++

A process the agent cannot skip

The pack was written for a project with four repositories that share forms and data. Its rules file is loaded for every session and sets one order for every task, starting with a separate worktree and ending with that worktree removed.

Each step that repeats has a skill, so the agent runs the same procedure every time instead of improvising it. The verify skill runs the type check, lint and format on the base branch and on the change, and fails only on what the change adds.

The guard hook covers the mistakes that cost the most: pushing to a shared branch, hand-editing generated code and changing a checkout that other sessions are using. It fails open, so an error inside the hook never blocks work.

The pictures here are diagrams, because the pack itself is text files and scripts written for a client project.

  • Diagram: the order every task follows and the skill for each step.
  • Diagram: what the guard hook denies and what it asks about.
  • Diagram: only problems a change adds fail the check.
++
PreviousTCG SimulatorNexttopthammanun.dev v1

build 57acf9d · 2026-11-23 · next 16.4.6 · 0 cookies · source

topthammanun