Claymore Plugins — Role-Based AI Tooling Design Doc
Status: Draft v2 — all review round decisions integrated, ready for Phase 1 build Owner: Dan (Human), Clay (AI Partner) Date: 2026-04-10
TL;DR — Decompose the CSDLC process into a complete, testable skill/command system bundled as plugins. Foundry is the required knowledge layer. /standup is the entry point that activates the full process. The first target role is "Software Developer using CSDLC." If we nail this, any role can get a curated AI workflow by installing a plugin bundle.
Problem Statement
Dan's CIO wants to roll out AI tools like Claude Code to developers. But giving someone CC without a workflow is like giving someone a compiler without a language — technically powerful, practically useless. The tooling needs to come with opinions about how to use it.
CSDLC is that opinion. The goal: turn it from a methodology document into a complete plugin system where every pipeline step has a corresponding skill or command. A developer installs the plugin, runs /standup, and the full workflow is active.
Scale goal: The CSDLC core is domain-agnostic (thesis Insight #6: "Beyond Code"). Code-specific skills live in the role bundle. The same pattern applies to any role — data engineer, QA lead, product manager, even non-technical roles like HR. Possible future rebrand to "Claymore Process" since CSDLC has "Software" in the name.
Foundry as the Knowledge Layer
Foundry is required, not optional. This is a load-bearing architectural decision grounded in the CSDLC thesis (Insight #4: "Documentation as an Intelligence Layer").
Why Required
- Solves the cold start problem. Every AI session starts from zero. Foundry holds institutional memory — design docs, session state, stories, reviews.
- Shared surface for CC and Cowork. Both tools speak Foundry MCP. It bridges refinement (iPad/Cowork) and execution (Mac/CC).
- Cross-project visibility. Developer A's docs are visible to developer B's AI Lead. Organizational knowledge infrastructure.
- Skills are Foundry-native. Skill outputs write TO Foundry (sections, annotations, reviews). Skills read FROM Foundry (design docs, NEXT.md, stories).
- The Dispatch workflow depends on it. Foundry is the async queue between iPad and Mac.
Multi-User Knowledge Base
Per-user state is separated while project docs are shared:
status/
dan/next.md ← Dan's session state
sarah/next.md ← Sarah's session state
projects/
foundry/design.md ← Shared project design doc
routr/design.md ← Different project, same Foundry
Each developer's AI Lead reads THEIR status/{username}/next.md for standup. Cross-project visibility works — read anyone's NEXT.md to see what they're up to.
NEXT.md: Foundry is Canonical, Local is Fallback
- Cowork can only see Foundry (can't read local files)
- CC can see both (local files AND Foundry via MCP)
- If Foundry is unreachable, standup falls back to local NEXT.md
- But Foundry is the source of truth
Foundry Instances
v1: One Foundry instance per team, split by domain (software team's KB, HR's KB, etc.). Multi-instance architecture deferred.
How the Process Activates
/standup is the Entry Point
The CSDLC process does NOT auto-activate. This is deliberate:
- Dev starts CC with the CSDLC plugin installed
- Agent sees skill list but doesn't auto-load anything
- Dev says
/standup(or/standup clayfor persona) - Standup skill loads → reads process reference → reads NEXT.md from Foundry → delivers 5-part standup
- Agent now has full CSDLC context and is operating under the methodology
Why this matters: It enables A/B testing — use CC normally for quick tasks, /standup when you want the full workflow. No forced overhead. Clean separation.
/standup [persona] — Persona as Argument
Commands support arguments via $ARGUMENTS / $0 placeholders in SKILL.md (string-substituted before the agent sees the prompt):
/standup= start CSDLC, neutral AI Lead/standup clay= start CSDLC as Clay/standup [custom]= start CSDLC as any team-defined persona
One entry point. Don't touch CLAUDE.md — /standup is all you need.
What Exists Today
Current Plugin Structure
claymore-plugins/
├── csdlc/
│ ├── commands/
│ │ ├── standup.md # /standup → csdlc-standup
│ │ ├── retro.md # /retro → csdlc-retro
│ │ ├── doc.md # /doc → csdlc-doc
│ │ └── refine.md # /refine → csdlc-refine
│ └── skills/
│ ├── csdlc-process/ # Methodology reference
│ ├── csdlc-standup/ # Standup ritual (renamed)
│ ├── csdlc-retro/ # Session handoff (renamed)
│ └── csdlc-craft-agent-prompt/
└── foundry/
└── skills/
└── foundry-mcp-reference/
Coverage Gaps
| Pipeline Step | Covered? | Gap |
|---|---|---|
| Refinement | Partial | No Foundry-native review conventions |
| Step 0: Design Doc | Partial | No templates bundled, no level selection |
| Step 1: Story Breakdown | No | Biggest gap — core AI Lead activity |
| Step 2: Agent Prompt Crafting | Yes | Could bundle agent-base-template |
| Step 3: Sub-agent Execution | No | No /intern skill yet |
| Step 4: AI Lead Review | No | No structured review checklist |
| Step 5: QA | No | No QA skill |
| Step 6: Human Review/Ship | No | No async-friendly presentation |
| Bootstrapping | No | No onboarding for existing projects |
5 of 7 pipeline steps have no skill support.
Design Principles
- Skills support the process. PROCESS.md is the source of truth. Every skill maps to a step, role, or ritual.
- Templates live IN the skills. Plugin repo is the source of truth for templates. Self-contained and portable.
- Commands are shortcuts, skills are capabilities. Commands invoke skills; they don't contain logic.
- Skills are testable. Clear input → output contracts.
- Skills are Foundry-native. Outputs write to Foundry. Inputs read from Foundry.
- CSDLC core is domain-agnostic. Code-specific skills go in the role bundle.
- Composition through prompting. Skills reference other skills by name. The agent chains via reasoning.
Commands vs. Skills
| Command | Skill | |
|---|---|---|
| What it is | Slash shortcut | Reusable capability with embedded knowledge |
| Complexity | One action | Multi-step with judgment |
| Contains logic? | No — invokes a skill | Yes — procedures, templates, checklists |
| Testing | "Does it invoke the right skill?" | "Correct output given these inputs?" |
Command Map
Session:
/standup [persona] — Start CSDLC, load context, deliver standup
Optional persona: /standup clay
/retro — End session, write handoff to Foundry NEXT.md
Design:
/doc — Generate a Step 0 design doc
/refine — Challenge and refine any artifact
/bootstrap — Set up CSDLC for an existing project
Execution:
/intern — Hand off a single story to a sub-agent
/shipit — Run all stories in an epic autonomously (Hurricane Pattern)
Quality:
/review — Structured review of agent output
/qa — QA checklist against acceptance criteria
/present — Package work for async human review
The Complete Skill Map
Tier 1: Already Built
| Skill | Maps To | Status |
|---|---|---|
csdlc-process | Process reference | Done |
csdlc-standup | Standup + process entry point | Done (renamed) |
csdlc-retro | Session handoff | Done (renamed) |
csdlc-craft-agent-prompt | Step 2 | Done |
foundry-mcp-reference | Foundry tooling | Done |
Tier 2: Core Gaps (build these to complete the pipeline)
| Skill | Maps To | What It Does |
|---|---|---|
csdlc-bootstrap | Onboarding | Set up CSDLC for a project: WORKFLOW.md, Foundry project space, design doc scaffold, naming conventions. |
csdlc-doc | Step 0 | Design doc with bundled templates (project, epic, subsystem). Level selection. Writes to Foundry. |
csdlc-breakdown | Step 1 | Decompose design doc into stories. Outputs as Foundry sections on the epic doc. |
csdlc-intern | Step 3 | Hand off a single story. Reads from Foundry, invokes craft-agent-prompt via prompt-based composition, spawns intern in worktree, writes result annotation back. |
csdlc-review | Step 4 | Structured review checklist. Pass/fail as Foundry annotation. |
csdlc-qa | Step 5 | QA against acceptance criteria. Evidence as Foundry QA annotation. |
csdlc-present | Step 6 | Package for async human review (iPad-optimized). Writes Foundry review. |
foundry-review | Refinement conventions | Annotation conventions: highlight text, short comments, threads, resolve when agreed. Invoked by /refine for Foundry docs. |
Tier 3: Process Support
| Skill | Maps To | What It Does |
|---|---|---|
csdlc-shipit | Hurricane Pattern | Run ALL stories in an epic autonomously: read dependency graph, dispatch in order, review PRs, merge, report back. The Lightning Strike button. |
csdlc-dispatch | Foundry Dispatch | Read story from Foundry, write dispatch annotation for auto-execution by the Mac-side runner. Blocked on E12. |
csdlc-retrospective | Retro ritual | True retrospective (distinct from /retro session-end). Pattern analysis, process updates. |
csdlc-naming | Naming conventions | Generate/validate {PROJECT}-{EPIC#}-{STORY#}. |
csdlc-context | Context management | On-demand project context loader. Reports token cost. |
Tier 4: Role-Specific Extensions
| Skill | What It Does |
|---|---|
csdlc-debug | Structured root-cause analysis |
csdlc-test-strategy | What to test and how |
csdlc-tech-debt | Flag and track without fixing mid-task |
csdlc-code-review | Structured PR review |
Template Bundling
Templates live IN the skills. Plugin repo is the source of truth.
| Template | Bundle Into |
|---|---|
project-design-template.md | csdlc-doc |
epic-design-template.md | csdlc-doc |
subsystem-design-template.md | csdlc-doc |
workflow-template.md | csdlc-bootstrap |
agent-base-template.md | csdlc-craft-agent-prompt |
doc-agent-template.md | csdlc-craft-agent-prompt |
csdlc-doc/
├── SKILL.md
└── templates/
├── project-design.md
├── epic-design.md
└── subsystem-design.md
Skill Versioning
- Tag PROCESS.md with
process_version: X.Y - Each SKILL.md declares which version it targets
- Lint step flags skills behind current process version
- Updates require human/AI judgment (not auto-rebuild — skills encode HOW, not just WHAT)
Skill Composition — How It Works
CC's plugin system has no native skill-to-skill dependencies. Here's what works:
Arguments: $ARGUMENTS / $0 / $1 placeholders. String-substituted before the agent sees the prompt. /standup clay just works.
Skill chaining: A skill's SKILL.md can instruct the agent to invoke another skill by name. The agent sees all installed skills and follows the instruction. Example: /intern says "use csdlc-craft-agent-prompt to assemble the prompt."
Hooks: Shell commands on events (e.g., UserPromptSubmit). Regex matchers for tighter orchestration if prompt-based chaining isn't enough.
Not supported: No dependencies in plugin.json. No guaranteed invocation. No skill-to-skill message passing.
Testing
Four Levels
- Structural (automated): SKILL.md parses? Command references real skill? Templates exist?
process_versiondeclared? - Contract (semi-automated): Known input → output matches schema. "Does
/standupproduce all 5 parts?" - Integration (manual): Full pipeline:
/bootstrap→/doc→/refine→/breakdown→/intern→/review→/qa→/present - User acceptance (real usage): Deploy to Dan, then colleagues. Iterate on feedback.
Plugin Composition Model
Base Layer — Methodology. CSDLC process, values, rituals. Domain-agnostic.
Tool Layer — MCP Platforms. Foundry (knowledge layer), GitHub, etc. Capabilities that skills consume via MCP tools.
Role Layer — Role Bundle. Base + tools + role-specific skills. "Software Developer" = CSDLC + Foundry + dev skills.
Project Layer — Per-Project. WORKFLOW.md + CLAUDE.md in the project repo. Adapts the bundle to a specific codebase.
Project Layer: WORKFLOW.md + CLAUDE.md
↑
Role Layer: "software-developer" (CSDLC + Foundry + dev skills)
↑
Tool Layer: Foundry MCP, GitHub MCP
↑
Base Layer: CSDLC core (process, values, rituals)
Future Role Bundles
| Role | Additional Skills |
|---|---|
| Software Developer | debug, test-strategy, code-review, tech-debt |
| Data Engineer | data-pipeline, data-quality, schema-design |
| QA Lead | test-planning, bug-triage, regression-tracking |
| DevOps | incident-response, deploy-checklist, infra-review |
| Non-Technical | domain-specific (CSDLC core transfers) |
The "Software Developer" Role Bundle
What's In It
Software Developer Role
├── csdlc plugin
│ ├── /standup [persona] (entry point)
│ ├── /retro, /bootstrap, /doc, /refine
│ ├── /breakdown, /intern, /shipit
│ ├── /review, /qa, /present
│ └── /process (reference)
├── foundry plugin
│ ├── MCP reference + patterns
│ └── foundry-review
└── project WORKFLOW.md (generated by /bootstrap)
First Session
Developer: /standup
Agent: No NEXT.md found — fresh setup.
1. What project are you working on?
2. Existing design doc or starting fresh?
3. What's your Foundry instance URL?
Run /bootstrap to set up WORKFLOW.md and Foundry project space.
Distribution (v1)
Private GitHub repo. git clone + point CC at it. Updates via git pull.
Build Plan
Phase 1: Complete the Core Pipeline
csdlc-bootstrap— project onboardingcsdlc-doc— Step 0 with bundled templatescsdlc-breakdown— Step 1 story decompositioncsdlc-intern— Step 3 sub-agent handoffcsdlc-review— Step 4 structured reviewcsdlc-qa— Step 5 QAcsdlc-present— Step 6 async presentationfoundry-review— annotation conventions- Rename existing skills, bundle templates
Phase 2: Testing Infrastructure
- Structural lint for SKILL.md files
- Contract test framework
- Process version tagging + staleness lint
Phase 3: Role Bundle + Onboarding
- "Software Developer" bundle manifest
- First-session onboarding flow
- Test with Dan, then colleagues
Phase 4: Scale
- "How to build a role plugin" documentation
- One non-dev role bundle as proof of portability
- Internal rollout plan
Decisions Log
| Date | Decision | Rationale |
|---|---|---|
| 2026-04-10 | Skills map 1:1 to PROCESS.md steps | Process is the source of truth |
| 2026-04-10 | Foundry is required (knowledge layer) | Solves cold start, cross-project visibility, skills are Foundry-native |
| 2026-04-10 | /standup is the CSDLC entry point | Activates on demand, not automatically. Enables A/B testing. |
| 2026-04-10 | /standup [persona] accepts persona arg | $ARGUMENTS substitution. One entry point to rule them all. |
| 2026-04-10 | NEXT.md in Foundry (local fallback) | Per-user paths. Shared surface for CC + Cowork. |
| 2026-04-10 | Templates bundled in skills | Plugin repo is source of truth. Self-contained. |
| 2026-04-10 | Commands = shortcuts, Skills = capabilities | Clean separation of concerns. |
| 2026-04-10 | CSDLC core is domain-agnostic | Thesis Insight #6. Possible rebrand to "Claymore Process." |
| 2026-04-10 | Skills renamed: csdlc-standup, csdlc-retro | Match natural language. |
| 2026-04-10 | /bootstrap added (Tier 2) | First-5-minutes onboarding. |
| 2026-04-10 | foundry-review skill added | Annotation conventions for refinement. |
| 2026-04-10 | Personas via standup arg, not separate section | /standup clay not /clay then /standup. |
| 2026-04-10 | Skill versioning via process version tags | Lint flags staleness. Updates require judgment. |
| 2026-04-10 | Distribution via private GitHub repo | Team knows git. Marketplace later if available. |
| 2026-04-10 | Composition through prompting | Skills reference others by name. Agent chains via reasoning. |
| 2026-04-10 | Skill outputs write to Foundry | Foundry-native skills. |
| 2026-04-10 | Don't touch CLAUDE.md | /standup is sufficient. |
| 2026-04-10 | /intern replaces /dispatch | Fits the lore. Single story handoff. |
| 2026-04-10 | /shipit added (Tier 3) | Hurricane Pattern command. Full epic execution. |
| 2026-04-10 | One Foundry instance per team (v1) | Multi-instance deferred. |
All open questions resolved across 2 review rounds (23 annotations). Ready for Phase 1 build.