senior-dev-kit
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 10 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in .claude/settings.json
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Agents, skills, rules and guardrails that make Claude Code, Codex and Antigravity behave like a senior engineering team instead of an eager junior.
Senior Dev Kit
A Claude Code configuration kit that makes the assistant behave like a senior engineering team
instead of an eager junior: 8 agents, 30 skills, 12 rules, 7 commands, 28 presets. The same
kit also runs in Codex and Antigravity, generated from these sources.
The problem it solves
Out of the box, Claude Code will happily rewrite your auth middleware, drop a column, and
refactor three unrelated files on the way to fixing a CSS bug. It has no sense of blast radius,
no house style, and no memory of what it decided yesterday.
This kit adds the three things a senior teammate has and a fresh model does not:
- Blast-radius awareness. Work that touches auth, payments, database schema, CI/CD, or
secrets is routed to a read-only guard agent first. The guard writes a plan and stops. No
code is written until you approve it. - A procedure per task shape. "Fix this bug," "add a page," "review this migration" each
have a written discipline the model follows instead of improvising. 30 of them. - A context budget. Only three files load on every turn (capped at 500 lines, enforced by a
script). Everything else — 12 rule files, 18 reference docs — loads lazily when a matching
file is read or a skill actually needs it.
Everything the kit claims about itself is verified by npm run check, not by hand.
Install
| Tool | What you run | Then |
|---|---|---|
| Claude Code | three lines, below | /kit-doctor |
| Codex | two commands, in Codex | one setup step |
| Antigravity | one command, in Antigravity | nothing |
Three lines, all typed inside Claude Code:
/plugin marketplace add mtvrkan/senior-dev-kit
/plugin install senior-dev-kit@senior-dev-kit
/kit-setup
The third line is a one-time step, and it exists for a structural reason: Claude Code loads
path-scoped rules and permission rules only from your settings directory, and a plugin is not
allowed to write there. /kit-setup shows you exactly what it will do, waits for a yes, and
backs up anything it touches. Then restart Claude Code and run /kit-doctor to confirm. The
plugin's hooks run node, so it too needs Node.js 18+ on your PATH.
That's the whole install. Updates come from /plugin marketplace update; run /kit-setup again
afterwards, because the rules and settings it copied do not update with the plugin.
Prefer the files in your own settings directory, or want to edit them? Requires Node.js 18+,
no dependencies. The --dry-run line shows exactly what would change; the last line does it:
git clone https://github.com/mtvrkan/senior-dev-kit.git
cd senior-dev-kit
node claude/scripts/install.mjs --dry-run
node claude/scripts/install.mjs
Nothing you already had is destroyed: your ~/.claude/CLAUDE.md gets the protocol inside
markers, your settings.json gets the deny rules merged in, and anything overwritten is backed
up first. Don't do both — docs/install.md covers that, the flags,
per-project installs, and uninstalling.
Codex
The same kit ships as a Codex plugin, generated from these sources into codex/:
codex plugin marketplace add mtvrkan/senior-dev-kit
codex plugin add senior-dev-kit@senior-dev-kit
Two one-time steps follow in a new Codex session — trusting the plugin's hooks, and installing the
custom agents, command rules and protocol block a Codex plugin cannot carry. Both, plus what maps
to what and what does not carry over, are in codex/README.md. Skills and
former slash commands are invoked as $name there. To update, run codex plugin marketplace upgrade senior-dev-kit, then the plugin add line again.
Antigravity
The same kit also ships as an Antigravity plugin, generated into antigravity/.
One command, no clone — agy fetches the plugin folder straight from GitHub:
agy plugin install https://github.com/mtvrkan/senior-dev-kit/tree/main/antigravity
Start a new session afterwards. There is no setup step: the rules, custom agents, skills and the
deny-list guard hook all load from the plugin. Running the same command again updates it. Give it
the antigravity folder, not the repository root — the root URL makes agy convert the Claude Code
plugin instead, which loads without the protocol or a working guard. Antigravity's /plugin
marketplace lists only Google's curated catalog, which is why the kit installs by URL. What maps to
what is in antigravity/README.md. Skills and former slash commands are
invoked with a slash, e.g. /bug-fix.
Usage
Nothing to remember after install. You describe the task; routing is automatic:
"fix the broken link on the login page" → bug-hunter
"add a settings page" → senior-engineer
"redesign the checkout flow" → feature-plan (plan mode) + security-guard
"add SBOM generation to the Docker CI" → devops-guard
"add a column to the users table" → db-guard — writes a plan, no migration without approval
The full decision tree, including the tie-breaks between competing signals, isagents/ROUTING.md. From inside a session, /agents-guide and/skills-guide list what is installed, and /kit-doctor diagnoses a broken install.
What actually changes about a working day — blast-radius tiers, why the guards can be trusted,
what you can type — is docs/usage.md.
What you get
| Count | Notes | |
|---|---|---|
| Agent | 8 | 4 are read-only guards (db, security, devops, performance) |
| Skill | 30 | Most auto-trigger on task shape; a few are slash-command only |
| Rule | 12 | 000/001 load every session; the other 10 load on a paths: glob match |
| Command | 7 | /agents-guide, /skills-guide, /seo-check, /design-check, /arch-check, /a11y-check, /context-audit |
| Preset | 28 | web: nextjs-saas, react-vite, nuxt, sveltekit, astro, angular · backend: node-express, nestjs, fastapi, django, laravel, rails, spring-boot, dotnet, go-api, rust-axum · mobile: flutter, react-native, swiftui · orm: prisma, drizzle · db: postgres, mongodb, supabase · infra: docker, kubernetes, terraform · generic: fallback |
| agent_docs | 18 | Deep reference pages, read on demand |
In short: 8 agents, 30 skills, 12 rules, 7 commands, 28 presets.
Plus a guardrail layer: several hundred deny rules in settings-template.json that block reads of secret
files, destructive shell commands, and zero-prompt remote package runners. Coverage and its
known gaps are documented honestly in SECURITY.md — including what it does
not block.
The installer (or /kit-setup) also merges two settings, never overwriting a value you set:attribution is hidden, so commits and PRs carry no Co-Authored-By: Claude trailer and Claude
never shows up in your GitHub contributors; and a PreToolUse hook sends any subagent call of a
built-in type (general-purpose, Explore, Plan, claude, or untyped) that omits model back with the
haiku/sonnet/opus table, so a lookup never silently runs at your main
model’s price. An opt-in status line (--only statusline) shows model, folder, branch and context
use.
How it works
- Every session loads only
global-CLAUDE.md,rules/000-security.md, andrules/001-conventions.md. Their combined line count is capped and script-enforced, because
this is the cost you pay on every single turn, in every project, forever. - As files are read, the rules matching their type activate — open a
.tsxand100-web
loads; open a migration and500-databaseloads. - When a task shape matches, the corresponding skill fires. If the request touches a
guarded area, it escalates to a guard agent. Guards have no Edit or Write tool; their Bash is
limited by the deny rules and by the agent's own read-only instruction.
Verifying it
Every number in this README, every cross-file reference, and every count claim is re-derived
from disk by the test suite. One command:
npm run check
Currently: 504/504 tests passing (79 suites). routing-eval pins 37 realistic requests against
the routing table, check-consistency re-derives every hand-written number in this file, andcheck-plugin verifies the plugin manifests still match the components on disk.
What that does and does not prove. Be clear-eyed about it: those 468 tests are internal
consistency tests. They prove the documentation matches the files on disk — that no count is
stale, no path is dead, no rule is claimed in one place and missing in another. They do not
measure whether the kit improves the model's output. Nothing that ships green in CI does.
Two steps measure behavior instead, and both are opt-in because they cost API credits. The first
line is the bash form; the second is PowerShell, which has no inline prefix form:
RUN_ROUTING_EVAL=1 npm run routing-eval
$env:RUN_ROUTING_EVAL=1; npm run routing-eval
It runs an A/B over the golden prompts — two CLI calls each: a control arm
with only the agent frontmatter descriptions (what Claude Code has without this kit's routing
doc) and a treatment arm with agents/ROUTING.md added, then reports the accuracy
difference between them. Three ways it fails: the treatment arm below the absolute threshold;ROUTING.md fixing less than half of the routes the descriptions alone get wrong (it is loaded
into context every session, so it has to earn that); or any prompt that plain descriptions route
correctly and ROUTING.md breaks — checked separately, since an aggregate would let breakage
cancel against improvement.
Ten of the prompts expect none — handle it directly, delegate to nobody. They exist because
without them the suite could not fail the way a routing document actually fails. Every prompt
used to expect some agent, which means a ROUTING.md that delegated absolutely everything
would have scored 100%: the eval could see the wrong agent and the missing one, and was blind to
the unnecessary one. That is the expensive failure — a subagent is a fresh context window that
re-reads the project to change one word — and it is the failure a document arguing for
delegation is most likely to cause.
The measured result, 2026-10-28: control 31/37 (84%), treatment 37/37 (100%) — all six
routes the descriptions get wrong, fixed, and none that they get right, broken. Adding the negative cases
is what widened the gap: plain agent descriptions have nothing to say about when not to delegate,
so src/pages/About.tsx'te 'Kurumsal' başlığını 'Hakkımızda' yap goes to ui-fixer on the strength
of the word "copy", while the treatment arm reaches ROUTING.md's Step 3.5 and answers none.
The other routes it moves are the ones where a sentence's noun has to outrank its verb in both
directions (fix CSS in the login form → security-guard, not ui-fixer; but tests for payment
code → senior-engineer, not the guard). fix the padding on the pricing cards, they look cramped on mobile, the one miss of the 2026-10-05 run, routed none this time: one component's spacing is
Tier 1 and Step 3.5 keeps it in the main loop. Prompts on the Tier 1/2 line sample, and the control
arm samples most, which is why the bar is error reduction rather than points of lift. Those integers live in eval/golden-prompts.json, and check-consistency fails if
this paragraph states a score that file does not — or if the recorded run stops describing the
suite on disk, which is how a previous number went stale: it was measured before a prompt was
added, and the re-run that caught up found two routes the updated table had broken. One run on one
model version; re-run it yourself if you want it fresh.
The second measurement covers the rules themselves. behavior-eval puts twenty decisions in
forced-choice form — escalate or edit a JWT lifetime, log the email or an opaque id, ask for a
design direction or ship the default, delete the failing test or fix the code — and runs the same
A/B: control with no kit context, treatment with the rule files that are supposed to
produce the right answer. Every rule file must be named by at least one prompt, and the gate fails
if one is not: four of them shipped unmeasured for two rounds while the suite reported a clean
score, because "the prompts that exist all pass" and "the rules that ship are all measured" are
different claims and only the first had a check.
Again bash first, PowerShell second:
RUN_BEHAVIOR_EVAL=1 npm run behavior-eval
$env:RUN_BEHAVIOR_EVAL=1; npm run behavior-eval
The measured result, 2026-10-28: control 20/23 (87%), treatment 22/23 (96%) — the rules fix two
of the base model's three errors (a spinner where the content shape calls for a skeleton, section
comments in browser-served files) and break nothing. Both arms miss the commit-trailer prompt: its
wording ("add it by default") has the user asking, which NO AI ATTRIBUTION explicitly allows, so it
cannot tell the rule from its absence. Read the rest as what it is: this suite is mostly a
regression detector, not evidence that the rules help. When the answer space is two tokens and one of them names a discipline, the base model
picks it unaided; eight further candidate prompts were piloted and control got all eight right
before they were written. Both suites are therefore gated on the share of the base model's errors
the kit fixes rather than on absolute points of lift — a difference between two sampled arms shrinks
toward zero as base models improve, which turns a points bar into one nothing can clear while the
kit is still working.
What this suite can prove it has now proved twice, and the second time is the more useful one.global-CLAUDE.md and rules/500-database.md each produce the correct escalation alone; loaded
together they told the model to write a DROP COLUMN migration it refuses with no kit context at
all. That was found once and patched in the always-loaded protocol — and it came back, 3 of 3
samples, because the fix was in the wrong file. When both are in context the procedural one is
the more specific, and 500-database.md shipped a zero-downtime pattern, a backup protocol and
example DROP SQL with nothing scoping them to after the approval. A model reading "escalate" in one
file and "here is how the migration is written" in the other follows the one that answers the
request. The qualifier now sits beside the procedures, in that file and in 600-devops.md, which
had the same shape and had never been measured for it; check-consistency derives the obligation
from ESCALATE TO: appearing in a rule file at all. The recording above is a later re-run still, forced when the always-loaded protocol gained a rule this suite reads.
Both recordings carry a context_digest — a fingerprint of exactly what the treatment arm read,ROUTING.md and the agent descriptions for one suite, the prompts and their rule files for the
other. Change any of it and check-consistency fails until the A/B is re-run, because a score
measured against a document that has since been rewritten is not a weaker number, it is a wrong
one. Both suites also run live on a weekly schedule
(.github/workflows/live-evals.yml), so a regression surfaces
without anyone remembering to look for it.
Still no A/B behind the skills or the presets, and no before/after on code quality. If you are
deciding whether to adopt this kit, weigh it accordingly.
Documentation
docs/install.md— every install path, all the flags, uninstallingdocs/usage.md— routing, tiers, the context budget, what you can typedocs/reference.md— every agent, skill, rule and command, generated from diskdocs/troubleshooting.md— it installed but isn't behaving
More
SECURITY.md— threat model, deny-rule coverage, known gaps, disclosure processCONTRIBUTING.md— the gate, the budgets, how to add a componentCHANGELOG.md— what changed and whenCLAUDE.md— conventions for working on the kit itselfpresets/README.md— preset structure and stack compositionPROJECT-BOOTSTRAP.md— a separate, standalone template: hand it to Claude
Code in an empty repo and it generates a project-specific.claude/setup with its own lean agent
roster. It installs none of this kit and this kit does not install it; the two coexist if you want
both. Not covered by the gate's executable-claim check, because the commands in it describe the
project it generates rather than this repo.
License
MIT © Mehmet Türkan
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found