AIFeed

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

Original text(via HN AI)

Repository files navigation

题图
题图

Pencils Down

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.

Install


        /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)
      

Skills

init-repo (provided by the plugin)

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

PieceWhat it does
AGENTS.md and pointer filesOne 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 NarrativeA review-first decision history: PRs labelled narrative-required carry three body sections, and a workflow turns them into Narrative.md entries on merge.
Ontology kitdocs/ontology.ttl is the vocabulary source, docs/ontology.md is generated from it, and a CI check stops domain terms drifting.
AI-fingerprint checkEvery PR body carries a hash of the branch diff, checked in CI.
.NET build workflowOptional ( --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.
CODEOWNERSCombined with branch protection, the code owner must approve every PR.
Feature lifecycle kitThe 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 for the full procedure.

Feature lifecycle skills (installed into your repo by init-repo)

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.

SkillUse it to
featureStart 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-poAct as product owner: hear the idea out in the owner's own words, fill the gaps, ask for research, set out the vision.
feature-analystAct as analyst: turn the accepted vision into system behaviours and drive out uncertainty.
feature-architectAct 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-devAct as developer: write implementation plans from the accepted vision, behaviours and architecture, then build from the approved plan.
feature-userAct as user: write the runbook and user guide, and run acceptance with scripted walkthroughs and executable tests locally and in the deployed environment.
feature-parkRecord something outside the current phase (a bug, an idea, a refactor) as a side issue instead of working on it now.
feature-analyzeCheck 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.

How it compares

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

ApproachWhat Pencils Down does differently
Spec KitAlso 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 MethodAlso 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.
SuperpowersComplementary. 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.

Dependencies

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.

Contributing

main is protected: changes land through a pull request approved by the code owner (see .github/CODEOWNERS). Read AGENTS.md before opening one.

License

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗