AI writes the code.
Pocketto makes the process accountable.

Pocketto adds engineering discipline to Claude Code and Pi: plan before code, delegate with contracts, review independently, and close on your word. You go from a rough idea to reviewed, shipped code without the agent improvising.

shellnode ≥ 18
pi install git:github.com/rfxlamia/pocketto

install from the Git repository

npx pocketto-pi setup-extensions

required Pi extensions: advisor, context7, subagents

An orange AI agent walking along a winding painted map with six checkpoints, illustrating Pocketto's guided engineering workflow.
An illustration of Pocketto's six-stage workflow, not a live execution map.

Coding agents are great at writing code and bad at not skipping steps.

Left unconstrained, an agent starts implementing before the problem is defined, delegates without contracts, reviews its own work, and drifts on. Pocketto does not make the model smarter. It puts the process in a harness: explicit stages, explicit artifacts, explicit gates, and a hard close that nothing slips past.

How Pocketto handles this

FAILURE 01

Implementation before requirements are clear

Grinding turns a vague ask into a BDD spec (scope, boundaries, and Given/When/Then acceptance criteria), and an independent edge-case-hunter reviews it before any design is proposed.

FAILURE 02

Ambiguous delegation

Every subagent dispatch is a Pocket Packet: objective, references, deliverables, quality bar, stop conditions. Six iron laws enforce it: no packet, no spawn.

FAILURE 03

Missing or ineffective reviews

Review is independent by construction: the implementer reports DONE, a mechanical gate runs, and a read-only auditor subagent judges spec compliance and code quality. The coordinator never grades its own work.

FAILURE 04

Untraceable decisions

Specs, plans, task files, verdicts, and corrections live under docs/pocket/ and log.json, durable and inspectable files you can read months later, not chat scrollback.

FAILURE 05

Incomplete phase closeout

Closing refuses stale or missing verdicts, advances only passing phases, appends closeout.md, and runs log close only when every phase is DONE, because you explicitly asked for closeout.

Start where your project is.

You don't have to start at stage one. Choose what you already have, find your next step, and see what that stage turns your input into. Your approval still controls what happens next.

What do you have?

Choose the closest match.

Your next step: PitchingSmall change or a bug? Find a focused workflow.

Pitching

Stage 01 of 06

Turn a rough idea into a clear problem statement and a few directions worth exploring.

Bring a rough idea, no clear problem statement yet.

Read the Pitching guide

Input to output

Illustrative drag-and-drop example

InputPitchingOutput

Input for Pitching
I want drag and drop that works well for reordering a list.

The Pitching output arrives here.

Where you decide
You choose what happens next.

Continue to Grinding, explore the idea further, or stop here. Pitching never starts Grinding on its own.

Next stage: Grinding. Grinding can read the pitch as context for discovering requirements. The pitch is not an approved spec.

Illustrative only. No skills run and no project approvals are recorded.

Enter where you are.
Keep the whole picture.

  1. 01Pitching
  2. 02Grinding
  3. 03Planning
  4. 04Structuring
  5. 05Development
  6. 06Closing

15 skills. One discipline.

Six pipeline stages for features that deserve the ceremony, nine standalone skills for everything else, all built on the same principle: verification over confidence.

Structured planning and specifications

BDD specs with acceptance criteria, TDD execution plans, file-level task mapping. Test intent travels in the plan; implementation never starts from vibes.

docs

Delegation through Pocket Packets

Seven-field contracts with objective, verification criteria, and stop conditions. Parallel groups run in git worktrees, merged and audited one task at a time.

docs

Independent review and quality gates

Edge-case hunters, spec reviewers, in-loop auditors, and a phase-level pass, all read-only, all separate from the agent that wrote the code.

docs

Durable lifecycle state

log.json tracks tasks and phases across sessions; lifecycle events record spec approval, phase completion, and closure. Recovery and repair are CLI commands, not hand edits.

docs

Local-first Core

The full pipeline works with zero GitHub credentials. Core commits state and events locally first and never calls gh. No remote required, ever.

docs

Optional Enterprise adapter

Opt in, and an additive adapter consumes Core’s events and reconciles GitHub: issues, phase PRs, tasklists. It never merges a PR or closes an issue; humans keep those gates.

docs

Pocket Education

You write the code; the agent teaches. Per-skill depth (foundation / guided / independent), a hint ladder instead of answers, reviews phrased as traces. The learner owns progression.

docs

Standalone workflows

Bug hunting with confirmed root causes, hotfixes with plan review, brand-aware design systems, research with graded verdicts, with no pipeline ceremony required.

docs

Two hosts. One install each.

Pocketto ships as a Pi package and a Claude Code plugin, built from the same local-first Core. Pick your host. Everything else (pipeline, standalone skills, Education) behaves the same.

  • Pi users: after installing, pull in the required extensions (advisor, context7, subagents) with npx pocketto-pi setup-extensions, then check with npx pocketto-pi doctor.
  • Claude Code users: skills register as /pocketto:* commands after the marketplace install and a reload.
  • Node.js ≥ 18. Enterprise is a separate, explicit install. Core never requires it. See Enterprise setup.

New here? Run /pocketto:pocket-help, a compact router that explains the system without loading every skill.

shellnode ≥ 18
pi install git:github.com/rfxlamia/pocketto

install from the Git repository

pi install npm:pocketto-pi

or install from npm

npx pocketto-pi setup-extensions

required Pi extensions: advisor, context7, subagents

npx pocketto-pi doctor

verify what is installed and what is missing

Your next feature deserves a trail.

Install Pocketto, run one command, and watch a rough ask become a spec, a plan, reviewed code, and a closed plan, with every step on the record.

your first feature
$/pocketto:pocket-grinding "add dark mode toggle"