Skip to content
itw-creative-worksPublic

Repository files navigation

An issue card moves across a board from Inbox through Specced, Building and QA to Complete, ending on a Shipped v1.4.0 note

workkit

One plugin turns your GitHub Issues into an automated SDLC pipeline. Each issue is specced, built, reviewed & tested by an agent crew.

  • workkit is a plugin for Claude Code, Anthropic's coding agent for the terminal.

Install

claude plugin marketplace add ITW-Creative-Works/workkit
claude plugin install workkit@workkit
  • Then start Claude Code (claude) in any folder.
  • The first session sees that setup has not run yet and Claude runs it for you, handing you only what you must do yourself.
  • Setup prints one line per step, so you can see what it did.
  • It asks before anything big:
    • creating your home repo (a private GitHub repo for work that belongs to no single project);
    • minting a Claude token;
    • publishing the dashboard;
    • and turning workkit on for the repo you are standing in.
  • It is safe to run again: every step checks first and only fixes what is missing.
  • When it finishes, the workkit command is in ~/.local/bin (setup prints the PATH line to add if that folder is not on it).
  • Setup also links a gh shim there:
    • inside a Claude session on your machine it posts the agent's issue bookkeeping as workkit-agent[bot];
    • in a cloud session it runs the kit's verbs through REST as the signed-in account;
    • and everywhere else gh is yours as before.
  • For that you sign in once per machine.
    • Setup asks, opens GitHub in your browser and finishes the sign-in itself.
    • workkit setup --login does it again, and a bookkeeping call at a terminal signs you in itself.
  • And the App must be installed once per account or org on the repos workkit works in, from https://github.com/apps/workkit-agent.
    • Setup offers that page for the repo you are standing in, with its owner already selected, even after the owner was renamed.
    • workkit setup --bot offers it alone.
  • Without either, the agent's bookkeeping stops and tells you which (docs/setup.md § The bot identity).
  • workkit doctor shows what is set up, and workkit help lists every command.
  • Start a new Claude Code session so the plugin loads.
  • Setup keeps the kit's allow and ask rules in your ~/.claude/settings.json, made from the kit's one list of its commands, and Claude Code asks at every workkit ship deploy.
  • The skills also run gh issue ... often; to skip most of those prompts, add Bash(gh issue *) there yourself.
  • To work on workkit itself, install from a clone instead; the clone then outranks the plugin copy:
git clone https://github.com/ITW-Creative-Works/workkit.git
cd workkit
node workflow/workkit.js setup
  • Every setup step, and how to turn workkit on in another repo: docs/setup.md.

First use

  • Turn workkit on in a project of yours, then open Claude Code there:
cd <your-project> && workkit enable
claude
  • workkit enable commits { "enabled": true } to the project's .workkit/settings.json.
    • That line is the only thing that turns workkit on.
  • Every other setting has its default in the kit's defaults/settings.json.
    • Your ~/.workkit/settings.json and then the project's own file override it, key by key.
  • workkit also keeps the project's .github/workflows/checks.yml.
    • It is a few lines the kit owns and rewrites on every heal, so any edit there is lost.
    • They call the kit's CI, which runs npm test on every pull request and every push to the default branch, plus the changelog check.
  • The project's own CI needs (a tool to install, a variable to set) go under hooks.ciSetup in its .workkit/settings.json, run before the dependency install.
    • A command that needs the installed packages goes under hooks.ciPostInstall, run after the install and before the tests.
    • The entries are shaped like the ship's ({ "command": "<shell command>" }), and each list runs in order.
    • The kit's CI takes no uses: step: do an action's work as a command in one of the two lists.
    • A variable reaches the later steps by appending NAME=value to $GITHUB_ENV.
    • An entry marked "local": true is skipped there.
  • Type /workkit:status for a plain-language list of the open issues and what each one is waiting on.
  • No issues yet? Tell Claude what you want built, and it files the first one.
  • Then type work on #12, with a real issue number.
    • Claude checks the issue has an accepted spec, and interviews you to write one if not.
    • Then it builds the change with tests, has it reviewed, and leaves it in your working tree for you to try.
  • When you are happy, say ship.

How it works

  • Every piece of work travels one road, and each stop is a label on its GitHub issue (status:inbox, status:specced, and so on).
  1. Capture. An idea becomes an issue: from an issue form, a chat note, or workkit note "the thought" in any shell. It lands in the inbox.
  2. Triage. /workkit:triage routes each new issue: shape it now, keep it for later, or close it.
  3. Spec. You and Claude write down what done looks like. Accepting the spec is the go-ahead to build.
  4. Build. Your chat acts as a manager. It hands the work to helper agents: one writes the code, one writes the tests, and a third checks both without seeing how they were made.
  5. Check. The finished work waits, uncommitted, until you have tried it and said it is good.
  6. Ship. Say ship. Claude writes the changelog entry, commits, releases, and closes the issue.
    • In a cloud session, or when you say pr, the work and release commits go through one pull request that merges once its checks pass.
    • CI makes the GitHub release once the release commit reaches the default branch, and the ship waits for it.
      • It works the same from a cloud session as from your machine.
    • A repo can list commands to run after the release, the npm publish or the deploy.
      • They go under hooks in its .workkit/settings.json (afterRelease, afterPublish, afterDeploy).
      • The ship runs them once that step succeeds, if the file says "enabled": true.
      • An entry marked "local": true needs your machine, so a cloud session skips it and says so.
  • Hooks guard each step on their own.
  • A repo that has not turned workkit on gets none of its hooks.
  • The commit checks run in git's own commit hooks and the issue checks in workkit's gh shim.
    • So they judge the real commit and the real gh call.
    • And only in a Claude session in a repo that turned workkit on.
  • The shim's secrets check runs on every gh call, yours included.
  • The shared-tree check runs in a git shim the plugin puts first on each Claude session's PATH, so it judges git's real arguments however a command spells them.
  • After each command Claude runs, the files it changed on disk get the same checks an edit does.
  • No hook reads the command Claude typed, but for one look at whether it names the capture file.
  • The rules for every stop: docs/project-state.md.

Seeing your board

  • The dashboard shows the board of every repo in one place, and it comes in three tiers.

  • Use whichever suits you, and switch any time.

  • The central copy, out of the box. Open https://itw-creative-works.github.io/workkit/ and paste a GitHub token once.

    • That address is the kit's own GitHub Pages site for now, so it may move.
    • The token stays in that browser.
    • The site holds no data: it reads GitHub live, and finds your home repo (<login>/workkit) from the token.
  • The local tower. workkit tower runs it on your own machine, where it also shows the running agents, token spend and repo health.

  • Your own published copy. workkit publish puts it on your home repo's GitHub Pages, for a custom domain or full control.

  • The token, and what each tier needs: docs/setup.md.

What is inside

Part Count What it does
Hooks 33 Run by themselves: at session start, before edits, commits and pushes, and when a reply ends. Twenty-three run inside Claude Code as one module; ten guards run in the gh shim, the git shim and git's own commit and push hooks
Agents 5 The crew your chat delegates to, each briefed from a role template in briefs/
Skills 9 Procedures Claude follows when your words match, or when you type /workkit:<name>
Dashboard 7 pages workkit tower opens a local view of every board, the running agents, token spend, and repo health
Daily brief 1 job A 9am summary of every repo, posted as a GitHub Discussion on your home repo
Test runner 1 package workkit-core on npm: install it with npm i -D workkit-core, set your test script to workkit test, and npm test runs every suite in parallel and ends on one totals line

Skills

  • workkit:feature · workkit:interview · workkit:diagnose · workkit:review · workkit:triage · workkit:status · workkit:checkpoint · workkit:migrate · workkit:ship.
  • Each is one SKILL.md of bullets.

Requirements

  • git

  • the GitHub CLI (gh), signed in with gh auth login

  • Node.js with npm, 22.22 or newer, first on your PATH (the root package.json names the floor); workkit, the gh shim and the commit checks run on that node, and an older one gets one line saying so

  • the Claude Code CLI (claude); the hooks are proved from Claude Code 2.1.328, and an older one gets one line saying so at session start in a project workkit is on in

  • It runs on macOS, on Linux, and on Windows.

    • On Windows workkit starts from cmd, PowerShell and Git Bash; git's hooks, the git shim and npm's script shell run through the bash Git for Windows ships.
    • The 9am schedule on your own machine runs on macOS (launchd) and on Windows (Task Scheduler).
    • Everywhere else the same brief runs in the cloud from your home repo.

Docs

  • docs/setup.md: every install option, what setup does step by step, and the folder layout
  • docs/project-state.md: the rules: labels, capture and triage, specs, the proof, shipping
  • docs/agents.md: the crew, how big a crew each job gets, and how work is handed to it
  • docs/hooks.md: what each hook does, when it fires, and where it stands down
  • docs/tests.md: what a test must be worth and may cost, and the shape every repo's test runner keeps
  • workflow/README.md: the engine behind the workkit command
  • AGENTS.md: the architecture, for agent sessions

License

Releases

Packages

Contributors

Languages