# Development kit workflows

The Development kit is used by typing skills in your coding agent. Each
recipe below lists the skills in order, what each step produces and where it
lands in the project, and a prompt you can copy. The prompts use the Claude
Code form, a slash and the skill's name; other runtimes start skills their own
way.

New to ezi? Start with [Getting started](https://ezikit.dev/docs/getting-started/). When no recipe
fits, ask `/ezi-guide` which skill does.

## New feature

| Step | Skill | What you get |
|---|---|---|
| 1 | `/ezi-scope` | The outcome, constraints, non-goals and acceptance criteria, agreed with you |
| 2 | `/ezi-plan` | `plans/<timestamp>-<name>/plan.md` and one `phase-NN-<name>.md` per phase |
| 3 | `/ezi-implement` | The code changes, with the checks run and regressions repaired |
| 4 | `/ezi-test` | The test suites run, and new tests where the change needs them |
| 5 | `/ezi-code-review` | Findings with file, line and evidence, in the conversation |
| 6 | `/ezi-git` | Commits split by concern with conventional messages, pushed |

1. Agree on what done means. The agent reads the code first and asks only
   what it cannot find out:

   ```text
   /ezi-scope Add a CSV export to the reports page
   ```

2. Plan it. The plan names the files, steps and checks of each phase, and the
   skill stops before writing code. `--fast` skips the research for a small
   change; `--hard` adds research and an adversarial review:

   ```text
   /ezi-plan Add a CSV export to the reports page
   ```

3. Build it from the plan. `/ezi-implement` runs the checks it needs and
   repairs what the change broke before it finishes; `--interactive` pauses
   for your review at each major step:

   ```text
   /ezi-implement plans/<timestamp>-csv-export/plan.md
   ```

4. Test it. With a scope, `/ezi-test` runs the suites for it; `ui <url>`
   tests a page in a browser:

   ```text
   /ezi-test the reports export
   ```

5. Review the pending changes. Review only reports findings; it changes
   nothing unless you pass `--fix`:

   ```text
   /ezi-code-review --pending
   ```

6. Commit and push. `cm` commits, `cp` commits and pushes, `pr` opens a pull
   request:

   ```text
   /ezi-git cp
   ```

`/ezi-plan` and `/ezi-implement` also write a short journal entry under
`plans/journals/` when they finish; `--skip-journal` leaves it out.

## Fix a bug

| Step | Skill | What you get |
|---|---|---|
| 1 | `/ezi-fix` | The proven cause, the repair, a regression test where it helps, and the checks rerun |

`/ezi-fix` does not edit code from the symptom. It first finds the failing
path and proves the root cause with the `/ezi-diagnose` method (reproduce,
trace, test one hypothesis at a time), then repairs the cause and reruns the
failing path and the checks around it. After three failed repair attempts it
stops and asks you to reconsider the approach.

```text
/ezi-fix The invoice total is off by one cent when a discount and tax both apply
```

Paste the error, the failing test or the log line with the prompt. `--quick`
suits a small local cause; `--review` pauses for you at each step. To only
find the cause without changing anything, use `/ezi-diagnose` on its own.

## Ship a pull request

| Step | Skill | What you get |
|---|---|---|
| 1 | `/ezi-autopilot` | A worktree and branch, a validated plan, the implementation, local review and tests, then a reviewed pull request with a ready label |

`/ezi-autopilot` takes a GitHub issue, or a request in plain words, from start
to a pull request that is ready to merge. It works in its own worktree and
branch, plans under `plans/`, implements, reviews and tests locally, opens the
pull request, reviews and fixes it, and labels it ready. It runs the same
skills as the recipes above and keeps their gates: failing tests, review
blockers and branch protections stop it.

```text
/ezi-autopilot https://github.com/your-org/your-repo/issues/42
```

It needs the GitHub CLI (`gh`) signed in to the repository. Without `--ship`
it stops at the ready pull request for you to merge; with `--ship` it merges
and watches the CI run until it passes. `--unattended` asks its questions and
collects every prerequisite once at the start, then runs without check-ins.

## Prepare a long autonomous run

| Step | Skill | What you get |
|---|---|---|
| 1 | `/ezi-long-run` | An outcome contract you approved, a plan, a preflight of blockers, and a handoff packet |

Before you leave an agent working for hours, `/ezi-long-run` makes sure the
run can finish. It interviews you for an outcome contract (result, scope,
what is out of scope, the signals that prove it is done) and waits for your
approval, plans within that contract, and checks every phase for missing
credentials, services or decisions without changing anything. It ends in one
of three states: Ready with a handoff packet, Blocked with the exact actions
that unblock it, or Decision required with the options.

```text
/ezi-long-run "Migrate the API from REST handlers to the new router, all tests green"
```

It never starts the run itself. You paste the packet into a long-running
session, or into a Codex goal with `/ezi-long-run goal`, when you are ready.

## Start and end of the day

| When | Skill | What you get |
|---|---|---|
| Start | `/ezi-whats-next` | The branches, worktrees and unfinished plans in flight, with ranked next steps |
| End | `/ezi-journal` | A dated journal entry under `plans/journals/` |

`/ezi-whats-next` only reads: it scans the local branches, worktrees and plan
progress and suggests what to do next. `--impact` gives a product owner's
call on what matters most instead.

```text
/ezi-whats-next
```

`/ezi-journal` records what you tried, what you decided and what is still
open, then saves it with `ezi journal create`. `ezi journal list` shows the
entries.

```text
/ezi-journal Finished the CSV export; the large-report timeout is still open
```

## Use both kits in one project

A project can hold the Development kit and the Growth kit, for example to
build a product and market it from the same repository. Buy both kits; one
sign-in covers both licenses. Install the first kit as usual, then add the
second as a Claude Code plugin, which keeps each kit's files apart:

```bash
ezi kit install development --yes
ezi kit install growth --target claude-code --switch-to-plugin --yes
```

On an interactive terminal, `ezi setup` offers the plugin install when the
project already has the other kit. Claude Code shows the plugin's skills with
the plugin's name in front, for example `/ezi-growth:ezi-campaign`.

Marketing work that needs engineering, such as a landing page or tracking
code, goes through `/ezi-handoff`, which writes a continuation note for a
fresh session, to `/ezi-plan` and `/ezi-implement`; see
[Growth kit workflows](https://ezikit.dev/docs/growth-kit/#use-both-kits-in-one-project).
