Design a new blueprint from scratch (greenfield)
Creates a specification for a new artifact type from scratch with preset support.
/plugin marketplace add rcrsr/repmat/plugin install repmat@rcrsr<blueprint-name> [--preset <preset-name>] [description]Creates a specification for a new blueprint when no existing files exist yet. For projects with existing files, use /repmat:discover-blueprint instead.
If --preset <name> provided:
${CLAUDE_PLUGIN_ROOT}/presets/<name>.mdIf preset not found, list available presets and ask user to confirm or proceed without.
Ask user to describe the artifact. If preset loaded, show defaults and ask to confirm or override:
docs/specs/*.md, apps/api/**/*.py)
typical_patterns from presetauthor_role from presetIf preset loaded, suggest meta_type from preset defaults. Otherwise ask user about state tracking:
| Meta-Type | When to Use | Example |
|---|---|---|
| stateless | Code files, no lifecycle | *.py, *.tsx |
| status | Documents with approval flow | specs, requirements |
| tasklist | Progress tracking with checkboxes | plans, checklists |
If status: What states? (suggest: Draft, In Review, Approved, Rejected) If tasklist: Single phase or multiphase?
Task(@repmat-architect, "Design an artifact type specification for: $1
Based on user requirements:
- Name: $1
- Patterns: [from Step 1]
- Policies: [from Step 1]
- Meta-type: [from Step 2]
- Author role: [from Step 1]
Create spec at: docs/specs/blueprint-$1.md
Include:
- Registry entry (YAML)
- Author subagent outline
- Reviewer subagent outline
- Command outline
- Design decisions with rationale")
Task(@repmat-spec-reviewer, "Review the blueprint specification at docs/specs/blueprint-$1.md
Validate:
- Blueprint completeness (type, author, reviewer, policies)
- Naming conventions (§WFT.3.2)
- Meta-type configuration is complete
- Policies referenced exist or flagged as new")
Summarize:
Next commands:
If new policies needed:
/repmat:create-policies <prefix> docs/specs/blueprint-$1.md # seeded from spec
/repmat:implement-blueprint docs/specs/blueprint-$1.md
If all policies exist:
/repmat:implement-blueprint docs/specs/blueprint-$1.md
/repmat:discover-blueprint instead--preset specified, use preset defaults as suggestions (user can override)