TeamHandbook is open source, and its Claude Code plugin writes skill drafts from a repo's git history. A skill is a short instruction that tells the agent how to do a job, and TeamHandbook writes one for the jobs a team does over and over.

For example, it found a job that has been repeating for years in the git history of Django, the Python web framework. Django can keep cached data in the database, in a file, in memory or on a separate server, and there's a separate module for each. All of these modules follow the rules a shared base class sets. When one of those rules changes, like the value a method returns, the base class and nearly all of the modules get updated in the same change, often the cache documentation too. This job has been done eight times, by several different people over the years, and each of them found the way on their own. TeamHandbook pulled that repetition out of the commits and wrote a draft that explains how the job is done.

Without the draft, when someone takes on this job for the first time, their agent doesn't know the pattern and has to work out from scratch which files change together. If it skips one of the modules, the change is left half done. Whatever the people who did it before knew is inside commits spread over years.

I built TeamHandbook for jobs like this. I wanted a job that repeats to be written as a skill once. When someone approves it in review, every agent on the team should know it from the next session on.

Git history knows the work that repeats

/handbook:mine reads the repo's history and lists jobs like this, and for each one it shows which files it touches, how many times it was done and by how many different people. While listing, the only thing it reads is git, and nothing is sent anywhere at this stage. The sample draft in the README was written from the cache job at the start of this article, and it shows what the skeleton of the steps and the file map look like on a real job.

A job one person does can stay in their head for a while. But on a job several people do separately, each of them explains the same thing to their agent from scratch, and the agent is usually hearing it for the first time. A draft is most useful when the other people who repeat that job read it too.

The draft asks what git can't see

When you pick a job from the list, TeamHandbook writes a skill draft for it with your own claude CLI. The draft has a skeleton of the steps in the order past changes followed, and a file map that shows which files the job touches and how consistently. Much of a job never enters git, though. A check someone runs by hand before merge, for example, isn't in any commit. The draft lists these gaps as open questions and you write the answers in review.

I think these questions are the best part of the draft, because why that check gets run isn't in git either, and only a person knows it. Don't expect a finished skill from the draft, and answer the questions before you approve it.

No draft is installed without approval

What a model writes can look reasonable and be wrong. So everything it writes comes to the /handbook:review screen first, and you read the draft together with what it was written from.

Then pick where it goes. If you share it with the team, a merge request opens for someone on the team to review. If you add it to the project, the draft is committed to that repo's .claude/skills/ folder, but you approve the commit message first. Keeping it for yourself is an option too, and so is rejecting it.

Secrets are stripped from the text that goes to the model and the text that comes back, and so are the names of the people who did the work. Because the secret screen works by pattern matching, a secret written in a format it doesn't know can get through. Read the draft before you approve it.

The draft is written in a single model call. An answer that fails the format check or the secret screen is thrown away without being repaired. When that happens, ask again or pick another job.

There's also a feature that reads finished sessions and suggests lessons, and it's off by default. If you turn it on, every lesson it suggests goes through the same review screen.

How it reaches the team

One person on the team sets up the shared repo once, with /handbook:init. This repo is a Claude Code plugin marketplace. When a merge request is merged there, the plugin's version goes up and every teammate's copy is refreshed at their next session. You can send the team MCP servers and slash commands the same way.

For anything to arrive on your machine you have to subscribe with two /plugin commands, and nobody can do that for you. You subscribe once and it lasts. Every skill, MCP server or command merged into the repo is on your machine at your next session, without you being asked about each one.

The team's plugin shows what arrived at the start of the session, with a line like "2 new skill(s), 1 new MCP server(s), and 1 new command(s) since your last session". If you drop TeamHandbook tomorrow, the repo and the distribution keep working, because Claude Code itself does the distribution. The skills are standard SKILL.md files too, and they work in every tool that reads them.

Who it isn't for

When you work alone, TeamHandbook still does its job and approved skills go under ~/.claude/skills or into the project. But if there's nobody else to read a draft, the return is small.

If you want to see every change before it reaches you, don't subscribe. Skills are plain folders in the repo. You can read them and copy them by hand.

If you're setting up a private handbook repo, there's one step you can't automate. Every teammate needs access to the repo and git credentials on their own machine. Everyone sets this up by signing in once in their own terminal, because a plugin can't stop and ask for a password.

State is kept per machine. ~/.teamhandbook/ isn't synced with any other machine, and what carries the team's approvals is the merge request once it's merged.

A young repo has nothing to find. For a job to show up as repeated, it takes several jobs that touch the same files. If each of your commits does something different, the list comes back empty.

TeamHandbook now also has an orchestrator that hands the work in Jira, GitHub or GitLab to your own Claude Code. The install steps and the full list of commands are on the /en/teamhandbook page.