cd /news/ai-agents/pencils-down-how-i-stopped-typing-co… · home › topics › ai-agents › article
[ARTICLE · art-180849] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Pencils Down: How I Stopped Typing Code Without Sacrificing Discipline

A developer with a background spanning mainframes, C and application architecture built Pencils Down, an open-source spec-driven development workflow that keeps a human in the loop across five gated phases: product owner, analyst, architect, developer and user. Each phase is handled by a persona skill stored as a plain SKILL.md file compatible with Claude Code, Codex, opencode and Kiro, and a required CI check called feature-gate blocks a phase's pull request until the prior phase is accepted, with a gate-override label as the only bypass. The developer also released Narrative, which records the reasoning behind each pull request, and InternalOntology, which tracks repository concepts with a CI check against drift, motivated by concerns about losing understanding and review control when agents write the code.

key takeaway

Pencils Down enforces spec-driven agentic development by gating each phase's pull request behind a required feature-gate CI check that only passes once the previous phase is accepted, with a labeled override as the sole bypass.

by read5 min views12 publishedDec 3, 2026

I've worked as a developer, analyst, product owner and architect. My first job was on mainframes, doing something close to what we now call DevOps. Not long after, I was writing a keyboard driver, then a C-ISAM-like library, before I got anywhere near application code. My early application work was in C.

All along I wanted to type less and get more. Libraries and frameworks gave me some of that. I no longer write code to parse cursor keys or place pixels on a screen, and I can no longer implement a B+ tree without getting a headache.

I still thought of myself as a good coder. When chat-style AI arrived, I saw it as a super-macro: a faster way to type the code I would have typed anyway.

I was hesitant about agentic coding, where the agent writes and changes the code itself.

Because I hadn't written the code, I worried I wouldn't have a deep understanding of the implementation. I worried about losing control, that I might not spot errors, and I worried that, without that understanding, I couldn't review the output critically.

So I started writing skills and steering files to keep track of what I was doing. Narrative was the first step: it keeps a human-readable record of the why behind each pull request. InternalOntology came next. It tracks the concepts in a repository, and a CI check stops the code and docs drifting away from them.

Now I was racing through agentic application development, without having to remember every decision or every step.

This seemed great. Idea in, application out, without a single line of hand-written code.

But it worked for me alone. It was hard to share, and it limited collaboration with my team.

It also felt like I was a junkie chasing my next fix. I'd start a small enhancement and never let myself take a break. I never stepped back to review progress or check my direction of travel. I just followed the agent's prompt to do the next step.

Then I realised that, privately, I was following a workflow: vision, then behaviours, then architecture, then development, then acceptance. I thought I might as well build guardrails around it, with breakpoints and review to help me.

After several iterations and a rename, Pencils Down emerged. The name is about the developer: my pencil is down. I don't type changes, I prompt agents to make them. What the workflow adds:

Pencils Down is spec-driven development with a human in the loop. Each phase has a persona skill that does the work, and nothing starts until a person has accepted what came before it:

feature-po): hears the idea out in the owner's own words, fills the gaps and sets out the vision.feature-analyst): turns the vision into system behaviours and drives out uncertainty.feature-architect): starts from the repository's architecture baseline, asks deployment questions drawn from the behaviours, and records decisions.feature-dev): writes a plan sliced into increments, then builds one increment at a time, stopping at the end of each.feature-user): writes the runbook and user guide, and runs scripted walkthroughs and executable tests, locally and in the deployed environment. The gates don't depend on the agent remembering the rules. A required CI check, feature-gate, fails a phase's pull request until the phase before it is accepted. The only bypass is a gate-override label, with the reason written down.

Not every change needs a pull request for every phase. Lite mode runs a small feature as one issue, one feature.md and three pull requests.

The skills are plain SKILL.md files, installed where Claude Code, Codex, opencode and Kiro each look for them.

In a commercial environment, and especially in a regulated industry, vibe coding doesn't meet regulatory or compliance constraints. An auditor asks who asked for a change, why, who approved it and how it was tested. A chat history with an agent answers none of that.

Pencils Down gives explicit traceability, as a side effect of the workflow rather than paperwork added afterwards:

The auditor asks Where Pencils Down records it
Who asked for this, and why? The vision, captured in the owner's own words, and its accepted GitHub issue.
What must the system do? Behaviours with permanent ids (B1, B2 and so on), each with a Given/When/Then scenario.
Where is each requirement implemented? The architecture's traceability table, from every behaviour id to the components that serve it, and an ADR for each significant decision.
Was every requirement built and tested? Each behaviour id belongs to one build increment, and acceptance writes a walkthrough and an executable test for each. feature-analyze reports any id with no component, increment or test.
Who approved each step? With branch protection on, every phase lands as a pull request that a code owner must approve, and CI blocks the next phase until it is accepted.
Was any rule bypassed? Only with a gate-override label, its reason recorded in the pull request's Narrative sections and kept in the decision history.

It doesn't make you compliant on its own: your controls and your auditors decide that. But it turns "the AI wrote it" into a chain from requirement to test, with a named person accepting each link.

Pencils Down ships as a Claude Code plugin. Install it, then run /init-repo in a new or existing repository:

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

It needs node and an authenticated gh. Start your first feature with the feature skill.

The code, the docs and a comparison with Spec Kit, BMAD and Superpowers are on GitHub. It's MIT licensed.

── more in #ai-agents 4 stories · sorted by recency
── more on @pencils down 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/pencils-down-how-i-s…] indexed:0 read:5min 2026-12-03 · —