/devmd:devmd-guidefrom DevMD — Development as Markdown
Interactive guide for writing DevMD files from scratch. Walks through files one by one in dependency order, asking the right questions to fill each template.
Ships in DevMD — Development as Markdown. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Interactive walkthrough for creating DevMD files from scratch for a new project.
/devmd-guide # Start from scratch (auto-detect or ask tier)
/devmd-guide app # Start with App tier (16 files)
/devmd-guide SCHEMA.md # Write a single specific file
/devmd-guide --resume # Continue where you left off (check which files exist)
for f in PRODUCT GLOSSARY BRAND ARCHITECTURE SCHEMA API ERRORS LOGGING \
DESIGN UI SCREENS FLOWS SEO TESTING SECURITY INFRA CONFIG DEVOPS \
OPERATIONS CHANGELOG CLAUDE AGENTS HARNESS RUNTIME LIFECYCLE; do
[ -f "${f}.md" ] && echo "EXISTS: ${f}.md"
done
If files already exist, show what's done and what's remaining. Offer to continue from next file.
Which tier fits your project?
| Tier | Files | Best For |
|------|-------|----------|
| Starter (8) | PRODUCT, BRAND, CLAUDE, DESIGN, UI, SCREENS, SEO, INFRA | Landing pages, static sites, portfolios |
| App (16) | + GLOSSARY, ARCHITECTURE, SCHEMA, API, ERRORS, LOGGING, FLOWS, TESTING, SECURITY | SaaS, web apps, APIs |
| AI-Native (21) | + AGENTS, HARNESS, LIFECYCLE, RUNTIME, CONFIG | AI-powered products, agent systems |
| Enterprise (25) | + DEVOPS, OPERATIONS, CHANGELOG, remaining | Full teams at scale |
Tier gives a starting list, but not every file is needed for every project. After tier selection, present the full file list with per-file relevance hints based on project characteristics, and let the user deselect files that don't apply.
Relevance hints (auto-detect from Step 0a/0b context + ask if unclear):
| Signal | Files to question |
|---|---|
| Internal tool / no public traffic | SEO — likely skip |
| No AI agent orchestration (just LLM API calls) | AGENTS, HARNESS, LIFECYCLE — likely skip |
| Solo dev / small team, no on-call | OPERATIONS — likely skip |
| No CI/CD pipeline yet / simple deploy | DEVOPS — likely skip |
| Greenfield project (no changelog yet) | CHANGELOG — likely skip |
| Background jobs described in FLOWS | RUNTIME — may be redundant |
Process:
| File | Wave | Purpose (one line) | Recommended? |If the user specifies --all, skip this step and generate every file in the tier.
Files are written to the current directory (project root). Read the corresponding template from the DevMD plugin's templates/ directory for each file.
Files are written in 7 waves. Each wave builds on the previous. Within a wave, order doesn't matter — but complete one wave before starting the next.
PRODUCT.md → BRAND.md → CLAUDE.md
These three answer: what is this, who is it for, and how do we talk about it.
GLOSSARY.md → SCHEMA.md → ERRORS.md
Domain terms first (GLOSSARY defines the vocabulary), then data structure, then what can go wrong.
ARCHITECTURE.md → API.md → LOGGING.md
System shape, interface contract, observability.
DESIGN.md → UI.md → SCREENS.md → FLOWS.md → SEO.md
Visual tokens, component structure, screen catalog, user journeys, search strategy.
SECURITY.md → TESTING.md
INFRA.md → CONFIG.md → DEVOPS.md → OPERATIONS.md → CHANGELOG.md
AGENTS.md → HARNESS.md → RUNTIME.md → LIFECYCLE.md
For each file, follow this exact sequence:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Wave {N}/{total} — {FILE_NAME}
{one-line purpose from spec}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This file answers: {core question}
It connects to:
← reads from: {previous files that inform this one}
→ feeds into: {future files that will use this one}
Each file has 3–5 key questions. Ask via AskUserQuestion. Questions are designed to extract the REQUIRED frontmatter fields and body content.
Do NOT ask all 25 files' questions upfront. Ask one file at a time.
MUST read the spec BEFORE generating. Read spec/{FILE_NAME} from the DevMD plugin directory to understand:
Then read the template from DevMD templates/{FILE_NAME}. Fill in the user's answers, ensuring all REQUIRED fields and sections from the spec are present. Write the file.
Show a 5-line summary of what was written. Ask: "Good to move on, or want to edit?"
any, always use absolute imports)When --resume is used:
When invoked as /devmd-guide SCHEMA.md:
After ALL waves are complete (or after each wave if --strict flag is set), run a spec compliance check on every generated file:
spec/{FILE_NAME} directory.@FILE.md reference marked SHOULD or MUST in the spec is present
d. Validation rules: any spec-specific rules (e.g., DESIGN.md colors must be #hex, PRODUCT.md tagline max 120 chars)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Spec Compliance Check — {N} files
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| File | Frontmatter | Sections | Cross-refs | Status |
|------|-------------|----------|------------|--------|
| PRODUCT.md | 6/6 ✓ | 5/5 ✓ | 2/3 | PASS |
| DESIGN.md | 2/5 ✗ | 1/2 ✗ | 0/3 | FAIL |
...
FAIL: {N} files need fixes. Fix now? (Y/n)
Agent-generated files frequently miss spec-mandated structure (frontmatter maps, required sections, cross-references) even when the spec is available. This check catches gaps before the developer starts building from these docs.
After all files pass spec compliance:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DevMD Complete — {tier} tier ({N} files)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Written: {list of files}
Spec compliance: {N}/{N} PASS
What's next:
/devmd-gap-analysis --consistency-only → check for conflicts between files
/pdca plan {feature} → start building a feature using these specs
/devmd-scan --overwrite → later, regenerate from code to keep specs in sync
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (ww-w-ai/devmd) — no native marketplace selected
npx claudepluginhub p/ww-w-ai-devmd3 skills in this plugin
/devmd-gap-analysisCompare DevMD files against actual source code. Measures coverage, accuracy, and consistency with deterministic counting and evidence-backed findings./devmd-scanAnalyze an existing codebase and generate DevMD spec files. Supports single-file or full-project mode. Language-aware discovery with self-verification.