From create-workflow
Generate a project CLAUDE.md file — the shared memory layer of the workflow system. Produces minimal, high-signal instructions that every other primitive (rules, skills, hooks, agents, workflows) references. Invoked by scaffold or standalone via /generate-claudemd.
How this skill is triggered — by the user, by Claude, or both
Slash command
/create-workflow:generate-claudemdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce a CLAUDE.md at the project root. Every line must pass: "Would removing this cause Claude to make mistakes?" If no, cut it.
Produce a CLAUDE.md at the project root. Every line must pass: "Would removing this cause Claude to make mistakes?" If no, cut it.
CLAUDE.md is the shared memory — the system's wiki that every primitive references. Rules enforce what CLAUDE.md declares. Skills assume the context it provides. Agents inherit its conventions. Workflows rely on it for consistent behavior across all participants.
CLAUDE.md (shared memory)
← Rules reference for enforcement targets
← Skills assume for context
← Agents inherit for conventions
← Hooks enforce implicitly
← Workflows depend on for consistency
Scan results, grill decisions, and the workflow design that determines what shared context all primitives need. Read .claude/scaffold-decisions.md if it exists — this is the primary source for resolved grill decisions. If invoked standalone, scan the repo first.
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Build & Test
[Non-obvious commands only. Skip standard `npm test`, `cargo test`, `pytest`.]
## Code Style
[Rules that DIFFER from language defaults. Skip obvious conventions.]
## Architecture
[Key abstractions, boundaries, non-obvious patterns. Keep to 5-10 lines max.]
## Workflow
[Branch naming, PR conventions, commit style, deployment process.]
## Gotchas
[Things Claude gets wrong. Required env vars. Non-obvious dependencies.]
@path/to/import insteadnpm test, cargo test, pytest)@path/to/import for content that changes or is long.claude/rules/ for shared rules and subdirectory CLAUDE.md files for module-specific instructionsIf the scan found multiple distinct modules/packages:
.claude/rules/ for cross-cutting standardsIf existing AI tool configs were found (AGENTS.md, .cursor/rules, etc.):
/generate-claudemd — scan the repo first, then generate. Use --quick-grill for abbreviated interrogation.
$ARGUMENTS:
--local — Generate CLAUDE.local.md (personal, gitignored) instead of project CLAUDE.md--quick-grill — Abbreviated interrogation (3-5 questions)--append — Add to existing CLAUDE.md instead of replacingnpx claudepluginhub zpankz/create-workflow --plugin create-workflowCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.