# Show HN: Shark-Skills v0.4.0 has got some major upgrade

> Source: <https://github.com/tusharsrivastava/shark-skills>
> Published: 2026-12-05 06:55:18+00:00

**Key takeaway:** Shark-Skills v0.4.0 gates Claude Code agent output with scripts and hooks rather than prompts: rca-gate.mjs rejects debug reports with open questions, review-gate.mjs rejects verdicts unsupported by findings, and Lizard cyclomatic complexity above 10 warns while above 20 blocks the merge.

**Running Claude Code like an engineering team: one operator, parallel lanes, audited merges.**

[**Getting started**](#getting-started-2-minute-setup) •
  [Shark Overdrive](#see-it-in-action) •
  [Why **shark**](#why-shark-exists) •
  [Reference](#reference) •
  [Contributing](#contributing)

**shark** is what I ended up with after building a production system this way. Every rule in here
exists because breaking it cost me hours. Steal them. Change them. Make them stricter for your project.

**Turn your Claude Code into a lean, mean coding machine.**

One Claude Code session is sufficient for a small fix. For a feature that changes many modules, more agents do not solve the problem. Parallel agents overwrite each other's files. An agent makes a failing test pass because it deletes the test. An agent reports a bug as fixed, but the bug is still there. Parallel agents with no shared plan just make code messier, faster.

Most agent kits control the agent with prompts. **shark** (18 skills, 8 agents, 6 hooks) adds scripts and hooks that
check the result. A statement in the chat does not pass these checks. shark is also for the work after the
first release: debugging, review and maintenance of production code. What shark adds:

| Feature | What it does | Enforced by | 
|---|---|---|
| **Agentic debugging** | Runs your program in a step-through debugger (Python, JS/TS, Go, Rust, Java, .NET, C/C++) and records the values at each breakpoint. A bug with two or more symptoms gets one debugger for each part of the code, in parallel. Each report gives the root cause, a failing regression test and a fix spec. | [`shark:code-debugger`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/code-debugger.md) with the`mcp-debugger` MCP server.`rca-gate.mjs` refuses a report that has an open question. | 
| **A history that `git bisect` can search** | Conventional commits, with one reason for each commit. A refactor and a behaviour change never share a commit. When a defect gets to production, `git bisect` finds the commit that caused it. | [`/shark:commit-blocks`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/commit-blocks/SKILL.md) .`verify-staged.mjs` runs the tests on each commit in a temporary worktree.`split-check.mjs` makes sure that the split lost no line. | 
| **Review with proof** | A new agent that did not write the change reviews it. Each Blocker must have a proof, and a second reviewer tries to refute each Blocker. The reviewer approves a change only when it makes the code health better. A calibration log records your decisions on past findings, and the next review uses them. | [`/shark:review`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/review/SKILL.md) .`review-gate.mjs` refuses a verdict that the findings do not support. | 
| **Senior roles** | The lead engineer merges the parallel branches. It checks each branch against the round contract: a short plan, written before the work splits, that gives each shared name one owner file. It corrects the errors of each branch and runs the fast gate ( `gate:fast` ) one time. The architect does a read-only review of a design and its math. It runs on Opus and costs more, so the operator starts it only for a design question that blocks the work. | [`shark:lead-engineer`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/lead-engineer.md) ,[`shark:architect`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/architect.md) . | 
| **Readable code** | Names, small functions and types give the meaning of the code, and explanation comments are not permitted. Each doc comment has one short format, with a usage example. When the same logic fits in fewer lines, the writer uses fewer lines, if the complexity and the reading time do not increase. | [`/shark:code-authoring`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/code-authoring/SKILL.md) . The code-health review measures the cyclomatic complexity (CCN) of each new or changed function with Lizard: above 10 gives a warning, above 20 blocks the merge. Security analyzers (Opengrep, gosec, bandit) and your architecture tool (dependency-cruiser, import-linter or depguard) run in the same review. | 
| **A commit gate** | The first `git commit` is refused when a source file changed after the last code-health review, or when no test ran on this code. The refusal gives the command to run. A statement such as "all tests pass" in the chat does not satisfy the gate. | The `stale-checks` hook. The`test-results` hook records each test run. | 
| **A workspace for many repositories** | Run `/shark:init` in a folder that is not a git repository. It makes a workspace with one`AGENTS.md` for the rules of all repositories. Each repository keeps its own`AGENTS.md` for its commands, gates and secrets, and it also works when you open it alone. | [`/shark:init`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/init/SKILL.md) . The`deny-secrets` hook applies the secret list of the workspace and of each repository. | 
| **Tested skills** | 20 eval cases test the text of the skills and agents. | `evals/attest.mjs verify` in CI fails when a skill, an agent or a hook changed after the last eval run. | 

**shark-overdrive** (Claude Code only) adds a side pane next to the chat. The pane shows the code-health grade, the
last test run and the changed files. A failing test, a security error or a check that did not run caps the grade at
C. The pane, the CLI and CI calculate the grade with the same script (`health.mjs grade`). The Project tab shows the
open questions for the owner, the next tasks and the backlog. A Markdown reader draws your design documents in the
terminal, with their diagrams, and you can comment on each section. [See it in action](#see-it-in-action).

**Who it is for**

| Reader | Problem | What shark does | 
|---|---|---|
| Engineer | Parallel agents overwrite each other's files, and the merge takes hours. | It writes a contract before the split. One lead engineer merges the branches and runs the gate one time. | 
| Tech lead or CTO | Pull requests of thousands of lines that nobody can review. | It makes small commits that each pass the tests, and a review with proof. It records each decision in `.shark/decisions.jsonl` . One`.claude/settings.json` enables shark for the whole team. | 
| Vibe coder | The fix for one bug causes two new bugs. | It writes a failing test before each fix. The commit gate refuses code that no test ran on. | 

**Limit.** shark does not improve a small fix. I measured an early version (0.2.0) on 22 bugs from open-source
projects, with one run for each bug. The maintainers' regression tests graded each fix. shark fixed the same number
of bugs as plain Claude Code (9 of 22) and cost 71 % more. My bench notes call it "plain Claude with extra steps".
Because of this, the operator now does a small fix in the main session and starts agents only for larger work.

What is new in 0.4.0, what changed and the known limits: see the
[release notes](https://github.com/tusharsrivastava/shark-skills/releases/tag/v0.4.0).

<sub>A real session, recorded with [asciinema](https://asciinema.org).</sub>

What happens in those 67 seconds:

1. **`/shark-pane` docks the board.** Code health grades the project (quality, architecture, security, known
issues, tests). Project has three tabs: Questions lists the decisions that only you can make, Todo
the next tasks, Backlog the wishes. Session shows tool activity, the last gate, the changed files and the ship
status of the next release.
2. **"show me docs/design.md" opens the reader.** The flowchart, the tables, a rule board and a timeline are drawn
in the terminal, and a band lets you comment section by section.
3. **"run the tests": 2 of 6 fail.** shark records the run, and the grade drops to C. A
security error, an architecture break, an over-complex function or a check that did not run caps the grade in the
same way.
4. **Claude fixes the bug and runs the tests again: 6 of 6.** The grade goes back to A+. The demo project has a
row for each check (`analyze:full` and`arch:check` ), so no check is missing.
5. **Press `1` in Questions.** The prompt now asks Claude to explain that decision: the options, the trade-offs, and
a recommendation. Press`a` instead to answer it.
6. **Click the ship row.** It says "next 0.1.1 · not ready: not bench tested". The click puts a question in the
prompt: why each factor holds, and how you can override a judgement.

The pane only shows what shark's own scripts produce: the grade, the last test run, the ship status, and the decisions
store in `.shark/decisions.jsonl`. So the pane, the command line and CI always agree.

In Claude Code:

```
/plugin marketplace add tusharsrivastava/shark-skills
/plugin install shark@shark-skills
```

You'll also need git, and Node.js with `npx`. The debugger MCP server runs through it.

```
/plugin install shark-overdrive@shark-skills
```

It needs Claude Code 2.1.333 or later. On an older build, the install refuses it.

shark-overdrive puts the state of your session beside the chat, so you see it without asking
([see it in action](#see-it-in-action)):

| Block | What it shows | Keys | 
|---|---|---|
| **Code health** | The grade (quality, architecture, security, known issues; any blocker, failing test or check that did not run caps it at C), the last test run, and the new issues in your changes since the session started (or only the uncommitted ones) | `d` details,`h` rescan,`v` session or live,`s` set up,`t` and`o` (several repositories) | 
| **Project** | Three tabs. **Questions** : the open questions and "taken by default" choices in the decisions store (`.shark/decisions.jsonl` , written by`shark:handoff` ).**Todo** : the open Next items of the task store (`.shark/tasks.jsonl` , written by`shark:handoff` ).**Backlog** : its Backlog items, which the grade never counts | `w` next tab,`1` -`9` explain a question or start an item,`e` explain all,`a` answer | 
| **Session** | Tool activity, the last gate and its time, the changed files and the branch | `r` refresh | 

The keys work while the board has the focus (`ctrl+x tab`). When the kit is older than the mod, the header of the board
says `unsupported kit version`, and so does the Code health block. Update the shark plugin to the same version.

It also adds a reader for Markdown files, with diagrams drawn in the terminal and a band to comment section by section:
ask *"show me docs/design.md"*, or run `/shark-read docs/design.md`. `/shark:init` offers the fullscreen TUI that the
side pane is made for. See [`mods/shark-overdrive`](https://github.com/tusharsrivastava/shark-skills/blob/main/mods/shark-overdrive/README.md).

## **Try it without installing**

```
git clone https://github.com/tusharsrivastava/shark-skills
claude --plugin-dir ./shark-skills
```

## **Turn it on for your whole team**

Add this to `.claude/settings.json` in your repo. Everyone who opens the repo gets the plugin.

```
{
  "extraKnownMarketplaces": {
    "shark-skills": {
      "source": { "source": "github", "repo": "tusharsrivastava/shark-skills" }
    }
  },
  "enabledPlugins": { "shark@shark-skills": true },
  "outputStyle": "shark:asd-ste100"
}
```

To add the side pane for the team, add `"shark-overdrive@shark-skills": true` next to `shark@shark-skills` in
`enabledPlugins`. Both plugins have one version, so update them together. The pane works only in Claude Code.

To update, run `/plugin marketplace update shark-skills` and start a new session.

You only need to configure it once per project. In your repo, run:

```
/shark:init
```

It will:

- Find your `AGENTS.md` or`CLAUDE.md` , or create an`AGENTS.md` if you have neither
- Add the sections **shark** needs (commands, invariants, architecture rules, test scope, secrets, docs layout,
owner rules and session harness) and the working rules, without touching what you already have
- Notice if you already run your own orchestrator, and ask which one leads, so your file never gets two start rules
- Ask for each value it can't find, with a suggested value for each
- Set the project's output style to `shark:asd-ste100` in`.claude/settings.json` , so replies are short, outcome-first
and end with a summary and action items
- Check the tools behind the hooks, the guards and the debugger for each language of the project (debug adapters, the code-health analyzers, rules and baseline), and install the missing ones at pinned versions after your yes
- Set up code health for your stack: complexity for almost every language (Lizard), security rules for Python and JS/TS, a tested security analyzer for Go (gosec) and Python (bandit), and the architecture tool you already use (dependency-cruiser, import-linter, golangci-lint depguard). A language that nothing checks shows as "not checked", never as a good grade

The skills never hardcode a command. They run a key from your `Commands` table, so the same kit works on Python,
JS/TS, Go, or anything with a test command.

<sub>A real session, recorded with [asciinema](https://asciinema.org).</sub>

## Example

```
| Key            | Command                                        | Limit or note  |
| -------------- | ---------------------------------------------- | -------------- |
| `gate:fast`    | `pnpm lint && pnpm tsc --noEmit && vitest run` | At most 5 min. |
| `test <paths>` | `vitest run <paths>`                           |                |
```

When a skill says "run `gate:fast`", this is the line it runs.

Tip

When shark leads, `/shark:init` puts `/shark:operator` in your project file as the session harness, with the line
`shark-operator-start: on`. The kit then loads it at the start of each session. You don't need to type it every
time: each session starts with the operator, which plans the work and briefs the agents. Already use your own orchestration loop? Keep it
in charge: `/shark:init` writes `shark-operator-start: off`, and **shark** stays on call.

## Several repositories? Set up a multi-repo workspace

Run `/shark:init` in a folder that isn't a git repository, and it offers to set it up as a **workspace**: one place
for the shared rules of several repositories. The repositories can live inside the workspace or next to it.

```
work/
  acme-ws/          ← run /shark:init here, start your sessions here
    AGENTS.md       ← shared rules + a Repositories table
    .claude/settings.json
  api/              ← its own AGENTS.md: commands, gates, secrets (wins for api/)
  web/
```

It will:

- `git init` the workspace (no remote), so its shared files have a history
- Ask for the repositories: in an empty workspace, give it the folder paths (like `../api` ) or git URLs to clone into
the workspace. In a folder that already holds repositories, it finds them and asks which ones to manage
- Write the workspace `AGENTS.md` : a`## Repositories` table (name, path, remote, role), the rules that cross
repositories, the session harness and the working rules
- Add each repository outside the workspace to `permissions.additionalDirectories` in`.claude/settings.json` , so a
session in the workspace can read and edit it, and add each repository inside it to`.gitignore`
- Offer to run the normal setup on each repository. A repository's own file wins for its commands and gates, so it still works when you open it alone

The hooks know the layout: `deny-secrets` applies the workspace list and the list of the repository that holds each
file, and `wide-commits` checks the repository that a `cd` before `gh pr create` names.

## Prefer to set it up by hand?

Copy [`AGENTS.md`](https://github.com/tusharsrivastava/shark-skills/blob/main/AGENTS.md) to your repo root and fill in the sections at the top. Already have a `CLAUDE.md`?
Merge the sections into it. Claude Code only reads `AGENTS.md` when there's no `CLAUDE.md`, or when the
`claude-md-and-agents-md` setting is on.

The operator loads by itself and takes your first request.

Before building **shark**, I built [baseline](https://github.com/friedbotstudio/baseline), but it became too bulky
for newer and improved coding models. **shark** skills are lean, and they scale in parallel without hurting the
code quality I yearn for.

**shark** turns your harness into a lean, mean coding machine.

"Adding manpower to a late software project makes it later."

Fred Brooks, *The Mythical Man-Month*

You run three agents in parallel. It looks three times faster. Then you merge. Two agents changed the name of the same function. A third agent made its own version of an event. The merge takes a third of your afternoon.

Write a contract before you split the work. One agent writes the round contract in 5 to 10 minutes. The contract gives each shared name one owner file. It lists each writer and each reader of each event. It sets the boundaries of each lane (one agent's share of the work). Each lane reads the contract first. When a lane finds a shared item, it stops and reports. It does not decide alone.

- [`/shark:operator`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/operator/SKILL.md) does the contract step and writes the briefs.
- [`shark:code-writer`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/code-writer.md) builds one lane in its own worktree. It writes the test first.
- [`shark:lead-engineer`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/lead-engineer.md) merges the lanes. It checks each lane against the contract.

"If you don't see the use of it, I certainly won't let you clear it away."

G.K. Chesterton, *The Thing*

Rules hide in small places: a guard clause, a branch in a helper, a check from an old incident. A rewrite or a merge removes one of them. All the tests still pass. You find the problem in production.

Write your invariants one time. Then check each diff against them. Do not remove a rule until you know why it is there.

- [`shark:invariant-guard`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/invariant-guard.md) compares a diff with your`## Invariants` . It reports each
break with`file:line` evidence. It is read-only, so it cannot change your code.
- [`/shark:merge-audit`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/merge-audit/SKILL.md) checks each merge against the patch notes. A different
agent does the audit, not the agent that did the merge.
- [`/shark:port-audit`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/port-audit/SKILL.md) finds the rules that a rewrite removed.[`/shark:patch-fanout`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/patch-fanout/SKILL.md) puts them back, in parallel.

## Example invariants

- **Tenant isolation.** Each query on tenant data runs inside a tenant context.
- **Money.** Money is an integer of minor units with a currency. Never a float.
- **Idempotency.** A retried request with the same key gives the same result. It makes one change only.
- **One unit of work.** A write, its event and its job commit in one transaction.

"Quit thinking and look."

David J. Agans, *Debugging: The 9 Indispensable Rules*

You ask an agent to fix a bug. The agent reads the code and makes a guess. It changes the code at the symptom. Two days later, the bug occurs again with a new stack trace.

Find the cause first. Fix it second. Two different agents do these two tasks.

[`shark:code-debugger`](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/code-debugger.md) runs your program in a real step-through debugger (Python,
JS/TS, Go, Rust, Java, .NET, C/C++). It records the real values. It gives you three items: the root cause, a
failing regression test, and a fix spec. Then `shark:code-writer` changes the production code.

A bug report with one symptom takes the direct path: a failing test first, then the fix. A bug with several
symptoms gets several debuggers, one for each part of the code, each in its own copy of the repository. One more
debugger combines their findings into a spec with [`/shark:solution-spec`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/solution-spec/SKILL.md): one
test for each behaviour. Then a Sonnet `shark:code-writer` builds it. A script (`rca-gate.mjs`) refuses the report
while a question is still open.

[`/shark:debug-rca`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/debug-rca/SKILL.md) contains the method. You can also use it yourself.

"Make the change easy (warning: this may be hard), then make the easy change."

Kent Beck

An agent works for a long time. It changes the structure of the code and adds three behaviours.
All of it goes into one commit of 4,000 lines. Nobody can review it. You cannot revert one part of it. `git bisect`
cannot find the bad change.

Change the structure first, in its own commit. Then change the behaviour, in a different commit.

[`/shark:commit-blocks`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/commit-blocks/SKILL.md) splits the working tree into conventional commits. Each
commit has one reason. A refactor and a behaviour change never share a commit. A script checks that each commit
passes the gate, that each `refactor:` commit keeps the tests, and that the split lost no line. So `git bisect`
works on your history. A commit that already holds many reasons can be split after the fact.

"How does a project get to be a year late? ... One day at a time."

Fred Brooks, *The Mythical Man-Month*

The agent runs the slow end-to-end flow. It finds one failure and fixes it. Then it runs the flow again and finds the next failure. Each cycle takes 20 minutes. The estimate grows by hours, and nobody sees it.

Find all the known defects first, with one static scan. Then fix them in rounds.

- [`/shark:goal-loop`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/goal-loop/SKILL.md) sorts the failing scenarios and writes the contract. It fixes
them in lanes, merges one time, and runs the flow again.
- Each agent has a timebox: 20 minutes for a lane. It gets one grace period of 20% to complete its current step.
- The costly checks run last, one time each: `gate:full` , integration tests and benchmarks.

Tip

The `Working rules` section of [`AGENTS.md`](https://github.com/tusharsrivastava/shark-skills/blob/main/AGENTS.md) lists all the rules. Each rule names the failure that it
prevents. An example: `pytest` with a folder and a file in that folder collects only the file.

AI made writing code cheap, but the engineering is still expensive. shark is for the expensive part: code that a human can read, and that is easy to debug when production is on fire. It is what a decade of building and maintaining production-scale systems taught me, in one setup.

These checks run when your project opted in to code-health: an `analyze:file` or `analyze:diff` row in `## Commands`
(`/shark:init` adds it). The setting `hook.review: off` in `## Quality budgets` turns off the review notice and the
commit gate. The setting `hook.grade: off` turns off the background grade.

- **The commit gate.** Before`git commit` , the hook`stale-checks` checks two facts. The source files of the commit
were reviewed since their last edit, and the tests ran on this code. If one is missing, it refuses the first try
and names the command to run. The same state again asks you, so a check that cannot run never locks a commit.
Failing tests and open findings ask you at once. A`git push` and a`gh pr create` ask you about files that are not
reviewed and about open findings.
- **The open tasks.** Before`git commit` ,`stale-checks` also compares the commit with the open tasks of the task
store (`.shark/tasks.jsonl` ): a path of a task that covers a committed file, or its decision id in the added lines.
When the commit touches one and the store is not in the commit, it refuses the first try and names the tasks, so a
finished task closes in the same commit. The same state again passes. This check runs also with no code-health rows.
- **The test record.** The hook`test-results` records each test command in`.git/shark-health/tests.json` . The state
of the code is red, green or stale (the code changed after the run). A green run of only some tests is partial
(`◐ part` in the pane). It clears a red run only when it covers all the paths of that run.
- **A red run with no test result.** A failed exit with no summary and no failure line (a wrong flag) stays red until
the whole gate passes. If it was no test failure, record why:`health.mjs tests dismiss <run> --reason <text>` . The
gate names the run. A run with a test result cannot be dismissed.
- **A red run in a folder that shark does not know.** Shark reads`P=/path; cd "$P"` when the same command sets the
value. When the folder is still not known (`cd "$DIR"` from outside the command), a red run there puts the record of
this repository in doubt. The commit gate then refuses the commit, with the command. Run the tests here again, or, if
that run was in another repository, dismiss the doubt with a reason.
- **Test what you commit.**`verify-staged.mjs "<test command>"` of[`/shark:commit-blocks`](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/commit-blocks/SKILL.md) runs the tests on`HEAD` plus the staged change, in a
temporary worktree. Your branch, your index and your working folder do not change. Run`git add` in its own
command, so that the gate sees what you commit.
- **The background grade.** The main session ends its turn with no notice and no pending task. Then the hook`health-review` starts`health.mjs grade` in the background if the last grade is stale. It costs no tokens, and the
turn does not wait. It never starts before the first grade of a repository.
- **Known defects, wishes and limits.** In the task store (`.shark/tasks.jsonl` ), each open**Queue** item is a known
defect, and it costs 5 points of known issues (`grade.queued` ). The**Backlog** holds wishes, and the grade never
counts them.**Left open on purpose** in`HANDOFF.md` holds accepted limits, each with the condition that opens it
again. It is never scored.

| Hook | Event | What it does | 
|---|---|---|
| [`deny-secrets`](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/deny-secrets.mjs) | Before Read, Edit, MultiEdit, Write, NotebookEdit, Grep and Bash; before each `mcp-debugger` call and`show_document` | Refuses a call on a secret file of your `## Secrets` section. | 
| [`wide-commits`](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/wide-commits.mjs) | Before Bash | Asks you before `gh pr create` when a commit changes 6 files or more. | 
| [`stale-checks`](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/stale-checks.mjs) | Before Bash | The commit gate: `git commit` ,`git push` and`gh pr create` ; before a commit, also the open tasks that it touches. | 
| [`health-review`](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/health-review.mjs) | Session start; end of a turn; end of `shark:code-writer` and`shark:lead-engineer` | Records the review base, tells what is not reviewed, starts the background grade. It never blocks. | 
| [`operator-start`](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/operator-start.mjs) | Session start | Loads `/shark:operator` when the marker line says`on` . | 
| [`test-results`](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/test-results.mjs) | After Bash, also when the command fails | Records the last test run. | 

- **[/shark:init](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/init/SKILL.md)** : Set up a project once. Brings your`AGENTS.md` or`CLAUDE.md` in line
with the**shark** template, so every session starts with the operator, or with your own orchestrator if you keep
it. Sets the`shark:asd-ste100` output style for the project. Checks and sets up the debugger and code-health tools
for each language. In a folder that isn't a repository, sets up a multi-repo workspace for the repositories you
name.
- **[/shark:doctor](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/doctor/SKILL.md)** : Check the shark tools at any time: the debugger, the debug adapters,
the code-health analyzers, rules and baseline. Installs the pinned fixes into one shark tool folder (the plugin data
folder), never into your system Python or your project environment.
- **[/shark:operator](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/operator/SKILL.md)** : Run the session. Sets the mode, writes the briefs, routes the
work to agents, and checks what comes back. Loads by itself when your`## Session harness` has the line`shark-operator-start: on` .
- **[/shark:handoff](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/handoff/SKILL.md)** : Record and prune the handoff file, so the next session picks up
where this one stopped.

**Skills**

- **[/shark:goal-loop](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/goal-loop/SKILL.md)** : Fix rounds toward one goal across N failing scenarios:
classify, contract, fix in lanes, merge, run again.
- **[/shark:patch-fanout](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/patch-fanout/SKILL.md)** : Port many independent patches in parallel, one agent
and one branch each.
- **[/shark:lead-merge](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/lead-merge/SKILL.md)** : Merge patch branches in batches from a queue file.
- **[/shark:merge-audit](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/merge-audit/SKILL.md)** : Review each merge against the patch notes and your
invariants.
- **[/shark:port-audit](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/port-audit/SKILL.md)** : Find the rules a rewrite lost, by auditing the commits that
deleted them.
- **[/shark:commit-blocks](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/commit-blocks/SKILL.md)** : Split a working tree into conventional commits that
each pass the gate.
- **[/shark:code-authoring](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/code-authoring/SKILL.md)** : The writing rules of`code-writer` and`lead-engineer` : regression safety with a test baseline, scope, test first, logging, comments.
- **[/shark:solution-spec](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/solution-spec/SKILL.md)** : Close a spec before a Sonnet writer builds it: the
guards on the path, a behaviour table with a test for each row, the decisions, an adversarial check.
- **[/shark:code-health](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/code-health/SKILL.md)** : A review of the new security, complexity and architecture
findings, from the analyzers that AGENTS.md names (Opengrep, Lizard, any SARIF tool), against a committed baseline.
At the end of a turn, a notice says what is not reviewed. A commit of work that is not reviewed or not tested is
stopped (see[What guards your commits](#what-guards-your-commits) ).

**Agents**

- **[shark:code-writer](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/code-writer.md)** : Turn a spec or a fix spec into production code, test first.
- **[shark:lead-engineer](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/lead-engineer.md)** : Merge parallel lanes, check them against the round
contract, and run`gate:fast` .

**Skills**

- **[/shark:debug-rca](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/debug-rca/SKILL.md)** : Step through the running program and write a root-cause
analysis from observed values.
- **[/shark:system-design](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/system-design/SKILL.md)** : Check a design: SOLID, typed state, one rule in one
place, pinned contracts, evaluation first.

**Agents**

- **[shark:code-debugger](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/code-debugger.md)** : Find the root cause in the debugger, then write a failing
regression test and a fix spec.
- **[shark:invariant-guard](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/invariant-guard.md)** : Audit a diff against your invariants, read-only, with`file:line` evidence.
- **[shark:architect](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/architect.md)** : Senior read-only review of the architecture, the code and its
math. Costly, so save it for big designs.

**Skills**

- **[/shark:review](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/review/SKILL.md)** : Review a diff, a branch or a pull request to one standard: approve
when the change makes the code health better, never when it makes it worse. A fresh reviewer agent, proved
Blockers, labelled Nits, one verdict that a script checks, you in the loop, and a calibration log so each review
learns how you judge. Posts through your PR pointer: by hand, a CLI such as`gh` , or a connector.

**Agents**

- **[shark:reviewer](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/reviewer.md)** : Reads the change with fresh eyes: intent, design first, every line,
a proof for each Blocker, then the verdict. In refute mode, it tries to disprove the Blockers of another review.

**Skills**

- **[/shark:cookbook-writing](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/cookbook-writing/SKILL.md)** : The method and reading-level script for
tutorial chapters.
- **[/shark:gitignore](https://github.com/tusharsrivastava/shark-skills/blob/main/skills/gitignore/SKILL.md)** : Create or refresh`.gitignore` from gitignore.io without
losing your own rules.

**Agents**

- **[shark:doc-writer](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/doc-writer.md)** : Write specs, design notes, findings reports and runbooks.
- **[shark:cookbook-writer](https://github.com/tusharsrivastava/shark-skills/blob/main/agents/cookbook-writer.md)** : Write tutorial chapters and check their reading level.

- **[deny-secrets hook](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/deny-secrets.mjs)** : Refuses Read, Edit, Write, Grep and Bash calls on the secret
files that your`## Secrets` section lists. It also covers the calls of the debugger (`mcp-debugger` ) and the reader
tool of shark-overdrive (`show_document` ). The default list has`.env` ,`*.pem` and similar files. Example files
(`.env.example` and similar) always stay readable, so agents still learn the setting names. In a workspace, the
list of the repository that holds a file applies too.
- **[operator-start hook](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/operator-start.mjs)** : At each session start (also after`/compact` ), loads`/shark:operator` when your`## Session harness` has the line`shark-operator-start: on` . The line`off` stops it.
With no line, only the kit's own sentence "Invoke`/shark:operator` first" starts it. The model does not need to
do it.
- **[wide-commits hook](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/wide-commits.mjs)** : Before`gh pr create` , asks you when a commit of the branch
changes 6 or more files (lock files and pure renames do not count). Set`SHARK_WIDE_COMMIT_FILES` to change the
limit, or to`0` to turn it off.
- **[stale-checks hook](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/stale-checks.mjs)** : The commit gate. See[What guards your commits](#what-guards-your-commits) .
- **[health-review hook](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/health-review.mjs)** : At the end of a turn, tells the agent what code-health did not
review, and starts a grade in the background.
- **[test-results hook](https://github.com/tusharsrivastava/shark-skills/blob/main/hooks/test-results.mjs)** : Records the last test run, so a failing test caps the grade at C.
- **[mcp-debugger](https://github.com/debugmcp/mcp-debugger)** : The MCP server behind`shark:code-debugger` . Real
breakpoints, stepping and variable reads for Python, JS/TS, Go, Rust, Java, .NET and C/C++. It writes its log to`.claude/mcp-debugger.log` , so add that to your`.gitignore` .
- **[shark:asd-ste100](https://github.com/tusharsrivastava/shark-skills/blob/main/output-styles/asd-ste100.md)** : An output style in Simplified Technical English. Short
sentences, outcome first, observed and inferred claims labelled. Your agents' reports stop rambling.
- **[AGENTS.md](https://github.com/tusharsrivastava/shark-skills/blob/main/AGENTS.md)** : The project template, with the working rules.`/shark:init` applies it for you.

Issues and pull requests are welcome. Read [CONTRIBUTING.md](https://github.com/tusharsrivastava/shark-skills/blob/main/CONTRIBUTING.md) first. The short version: no project
values, no stack lock-in, and commands named by their `AGENTS.md` key. Test your change with
`claude --plugin-dir <kit folder>` in a project that has a filled `AGENTS.md`.

Found a security problem? Follow [SECURITY.md](https://github.com/tusharsrivastava/shark-skills/blob/main/SECURITY.md), and don't open a public issue.

[MIT](https://github.com/tusharsrivastava/shark-skills/blob/main/LICENSE). The `AGENTS.md` template and the logo in `assets/` are
[CC0](https://creativecommons.org/publicdomain/zero/1.0/), so you can copy them with no notice at all.

ASD-STE100 and Simplified Technical English are trademarks of ASD, Brussels. **shark** isn't affiliated with ASD. The
debugger is [`@debugmcp/mcp-debugger`](https://github.com/debugmcp/mcp-debugger) (MIT). It runs through `npx` and
isn't bundled.
