# Pencils Down – AI agents that stop at every phase for human review

> Source: <https://github.com/jamiemitchellconsultants/pencils-down>
> Published: 2026-12-03 08:27:57+00:00

**Key takeaway:** Pencils Down gates each spec-driven phase (vision, behaviours, architecture, plan, build, acceptance) behind a GitHub CI check so an agent cannot start a phase until a human accepts the previous one, and its /init-repo skill installs the eight skills into .claude/skills/, .agents/skills/ and .kiro/s

Pencils Down is a way of delivering features with AI coding agents. The developer's pencil is down: they do not type changes themselves, they prompt an agent to make them. It is spec-driven development with a human in the loop: work moves through gated phases (vision, behaviours, architecture, plan, build, acceptance), and the agent stops at every boundary: when a phase is ready for review, and at the end of every build increment. Nothing starts until a person has accepted what came before it.

It works with Claude Code, Codex, opencode and Kiro. The gates are enforced by a CI check on GitHub, so the workflow does not depend on the agent remembering the rules.

This repository is a Claude Code plugin marketplace that ships one plugin, `pencils-down`. Its
`/init-repo` skill sets up a repository for Pencils Down. It installs the persona skills that
take a feature from idea to acceptance and the gate that enforces their order. It also adds the
pieces that support them: agent instructions, a decision history, a vocabulary check,
pull-request guards and branch protection.

```
/plugin marketplace add jamiemitchellconsultants/pencils-down
/plugin install pencils-down@pencils-down
```

Installed under the old names (`james-init-repo@james-plugins` from
`jamiemitchellconsultants/claude-plugins`)? Remove that marketplace with
`/plugin marketplace remove james-plugins`, then run the two commands above.

Needs `node` and an authenticated `gh` on the machine.

Using Pencils Down in your repository? Add the badge (`/init-repo` offers to do it for you):

```
[![Pencils Down](https://img.shields.io/badge/built%20with-Pencils%20Down-1f6feb)](https://github.com/jamiemitchellconsultants/pencils-down)
```

Run `/init-repo` in a new or existing repository, or ask for "the usual setup". It lays down:

| Piece | What it does | 
|---|---|
| `AGENTS.md` and pointer files | One canonical instruction file. `CLAUDE.md` ,`GEMINI.md` , Copilot, Cursor, Windsurf and Cline files only point at it, so there is never a stale copy. | 
| [Project Narrative](https://github.com/jamiemitchellconsultants/Narrative) | A review-first decision history: PRs labelled `narrative-required` carry three body sections, and a workflow turns them into`Narrative.md` entries on merge. | 
| [Ontology kit](https://github.com/jamiemitchellconsultants/InternalOntology) | `docs/ontology.ttl` is the vocabulary source,`docs/ontology.md` is generated from it, and a CI check stops domain terms drifting. | 
| AI-fingerprint check | Every PR body carries a hash of the branch diff, checked in CI. | 
| .NET build workflow | Optional ( `--stack none` skips it). Ignores docs-only changes and cancels superseded runs. | 
| Architecture baseline | .NET only. `docs/architecture-baseline.md` , the house deployment standard that`feature-architect` starts from. Written once; after that the repo owns it. | 
| `CODEOWNERS` | Combined with branch protection, the code owner must approve every PR. | 
| Feature lifecycle kit | The persona skills below, their gate scripts and the `feature-gate` workflow. | 
| GitHub settings (opt-in) | Labels, Actions permissions, and protection on `main` : PR required, one code-owner approval,`ai-fingerprint` and`feature-gate` required, admin override kept, no force-push or deletion. | 

Existing files are kept, not overwritten (except the lifecycle kit, which is refreshed each run),
and `--dry-run` shows what would change. `--skills-only` adds or refreshes just the lifecycle kit.
See [`skills/init-repo/SKILL.md`](https://github.com/jamiemitchellconsultants/pencils-down/blob/main/skills/init-repo/SKILL.md) for the full procedure.

Eight portable skills, copied into `.claude/skills/`, `.agents/skills/` and `.kiro/skills/` so
Claude Code, Codex, opencode and Kiro all find them. Each phase hands off through a GitHub issue,
and the `feature-gate` check stops a phase starting before the one before it is accepted.

| Skill | Use it to | 
|---|---|
| `feature` | Start a feature, see where it is, resume it, record pushback against an earlier phase, or promote a lite feature to full mode. The entry point. | 
| `feature-po` | Act as product owner: hear the idea out in the owner's own words, fill the gaps, ask for research, set out the vision. | 
| `feature-analyst` | Act as analyst: turn the accepted vision into system behaviours and drive out uncertainty. | 
| `feature-architect` | Act as architect: start from the repo's architecture baseline, ask deployment questions drawn from the behaviours, define components and structure, and record architecture decisions. | 
| `feature-dev` | Act as developer: write implementation plans from the accepted vision, behaviours and architecture, then build from the approved plan. | 
| `feature-user` | Act as user: write the runbook and user guide, and run acceptance with scripted walkthroughs and executable tests locally and in the deployed environment. | 
| `feature-park` | Record something outside the current phase (a bug, an idea, a refactor) as a side issue instead of working on it now. | 
| `feature-analyze` | Check a feature's artefacts against each other and report gaps, behaviour id mistakes, terminology drift, vague wording and contradictions. It changes nothing and blocks nothing. | 

Every persona skill also handles review feedback and pushback for its own phase. See the
[design](https://github.com/jamiemitchellconsultants/pencils-down/blob/main/docs/superpowers/specs/2026-10-29-feature-lifecycle-design.md).

Pencils Down sits alongside other ways of structuring AI agent work, and borrows from some of them.

| Approach | What Pencils Down does differently | 
|---|---|
| [Spec Kit](https://github.com/github/spec-kit) | Also spec-driven. Pencils Down adopts several Spec Kit ideas as guidance (see `feature-analyze` ), and adds enforcement of phase order: a required CI check, with GitHub issues as the record of each phase's acceptance. | 
| [BMAD Method](https://github.com/bmad-code-org/BMAD-METHOD) | Also persona-based. Pencils Down keeps the personas to five, tracks status in GitHub issues, and blocks a phase in CI until the one before it is accepted. | 
| [Superpowers](https://github.com/obra/superpowers) | Complementary. Superpowers gives an agent working habits within a session. Pencils Down governs the handoffs between phases and people, and its developer phase can use Superpowers plans as input. | 

`init-repo` runs the Narrative and ontology-kit installers so their scripts stay current. It looks
for checkouts at `~/RiderProjects/Narrative` and `~/RiderProjects/InternalOntology`; pass
`--narrative` / `--ontology-kit` to point elsewhere. Narrative falls back to `npx` from GitHub.

`main` is protected: changes land through a pull request approved by the code owner (see
[`.github/CODEOWNERS`](https://github.com/jamiemitchellconsultants/pencils-down/blob/main/.github/CODEOWNERS)). Read [`AGENTS.md`](https://github.com/jamiemitchellconsultants/pencils-down/blob/main/AGENTS.md) before opening one.
