claude-dev-workflow CLAUDE.md

A seven-phase workflow for building full-stack features with Claude Code. It includes commands, specialist agents, technical guidance, and a starter monorepo—a single repository containing a web app, an API, and shared code.

In plain words
What is it for?
Use it to write product requirements, create user stories and behavior scenarios, plan and implement features phase by phase, and work from the included Next.js frontend and NestJS backend template.
Why use it?
It replaces ad-hoc prompts with a repeatable path from requirements to implementation and review. The phases and quality checks make the work easier to organize.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/touheedcode/claude-dev-workflow/claude-md
Clone the repo
git clone --depth 1 https://github.com/TouheedCode/claude-dev-workflow
Per session 461 This file is loaded in full into every session.
When invoked 461 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00461 $0.00461
Opus 5 $0.00230 $0.00230
Sonnet 5 $0.00092 $0.00092
Haiku 4.5 $0.00046 $0.00046

Measured 2d ago against content hash a237f8437331, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-dev-workflow CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 59 lines

What it actually says

claude-dev-workflow

A structured 7-phase AI-assisted development workflow for Claude Code.

What This Is

An open-source starter kit that gives developers a repeatable, phased workflow for building full-stack features with Claude Code. Instead of ad-hoc prompting, you get a structured pipeline with quality gates at every step.

Getting Started

cd starter
npm install
docker compose up -d

Then open Claude Code and run /prd to start your first feature.

Project Structure

claude-dev-workflow/
├── .claude/
│   ├── commands/       # 9 slash commands (your workflow interface)
│   ├── agents/         # 7 phase-specific agents
│   └── skills/         # 9 tech-specific knowledge bases
├── starter/            # Monorepo template (Next.js + NestJS)
│   ├── apps/web/       # Next.js 14 frontend
│   ├── apps/api/       # NestJS backend
│   └── libs/shared/    # Shared TypeScript types
├── docs/               # Workflow documentation
└── README.md

Commands

Command Purpose
/prd Generate a Product Requirements Document
/story Create user story with BDD scenarios
/phased-plan Map story to 7-phase plan
/implement Phase N Execute a specific phase
/validate Phase N Quality gate check
/commit Conventional commit for the phase
/pr Create PR with phase breakdown
/progress Check progress
/retro Retrospective from git history

Tech Stack

Layer Technology
Frontend Next.js 14, TanStack Query, Zustand, Tailwind CSS
Mocking MSW (Mock Service Worker)
Backend NestJS, Drizzle ORM
Database PostgreSQL 16 (Docker Compose)
Testing Vitest, Testing Library, Testcontainers, Supertest
Build Turborepo, TypeScript
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 461 tokens per session scan A a237f8437331

Subscribe to this mod's changes

claude-dev-workflow CLAUDE.md is an instructions file published in the GitHub repository TouheedCode/claude-dev-workflow (2 stars, last pushed 3d ago), licensed MIT. It adds 461 tokens to every session, about $0.0023 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.