Assembly Instructions: Digital Talent
Assembly Instructions: Digital Talent
Author: Pablo (Production Line Architect) Version: 1.0 Date: 2026-03-18 Purpose: Step-by-step recipe for building any digital talent product
Prerequisites
- Completed solution specification (from Stage 2)
- Completed pattern selection (from Stage 3)
- Client domain documentation (methodology, frameworks, references)
- Client tool documentation (if integrating with existing tools)
- Client naming conventions
- Work order with product-specific configuration
Assembly Overview
Phase A: Repository Setup (30 min)
Phase B: Core Agent Configuration (2-4 hours)
Phase C: Skill Assembly (variable -- depends on product complexity)
Phase D: Template Library (variable -- depends on output types)
Phase E: Reference Materials (1-2 hours)
Phase F: Orchestration & Workflow (0-3 hours -- some products don't need orchestration)
Phase G: Documentation (2-3 hours)
Phase H: Verification (1-2 hours)
Phase A: Repository Setup
Create the client repository structure:
{client-repo}/
+-- .claude/commands/templates/
+-- content-in/{domain}/
+-- content-in/tools/
+-- memory/
+-- workflows/ (if orchestration needed)
+-- CLAUDE.md
+-- README.md
+-- .gitignore
Adjust subdirectories under content-in/ based on the product domain (e.g., content-in/methodology/ for EA, content-in/policies/ for compliance).
A.2 Create Request Folder Structure
If the work order defines a per-request working directory structure (e.g., demandes-ae/DAE-NNNN/), create the folder template and document the convention in CLAUDE.md.
Initialize git. Configure .claude/settings.json for permissions that ship with the product (allow reads, confirm writes, deny destructive ops). Use .claude/settings.local.json for developer-only settings during build (this file should not ship to client).
Phase B: Core Agent Configuration
B1. Write CLAUDE.md
Required sections (adapt headings to product domain):
- Role definition -- "You are a {product type} agent for {client}."
- Workspace rules -- File conventions, safety rules, working language
- Structure -- Directory layout
- Skills table -- All commands with: name, usage, input, output, model recommendation
- Workflow -- Standard workflow pipeline for this product (if applicable)
- Conventions -- Naming patterns for files, outputs, requests, decisions
- Model selection -- Cost optimization matrix per work order config
- Permissions -- Autonomous vs. confirm vs. deny
- Known issues -- Caveats and workarounds
B2. Write README.md (client-facing overview)
B3. Create workspace file (if VS Code)
Phase C: Skill Assembly
Build all skills listed in the solution specification. The skill set is defined by the work order -- it varies entirely by product type.
Skill Assembly Process (for each skill)
- Start from reference -- Use the reference implementation listed in the work order (if available)
- Extract the pattern -- Identify the reusable structure (input spec, processing logic, output format)
- Adapt for client -- Replace domain references, adjust naming conventions, translate if needed, adjust tool integration, update output format
- Add quality checks -- Input validation, output verification, error handling
- Set model recommendation -- Based on task complexity and cost optimization
- Write to
.claude/commands/{skill-name}.md
Skill Requirements
Each skill must contain:
- Frontmatter (name, description, usage)
- Input specification with path resolution rules
- Numbered processing steps
- Output specification (file name pattern, format, destination)
- Quality checks
- Model recommendation
Scope Creep Handling
If additional skills emerge during assembly beyond those specified in the solution spec, document them in the assembly checklist and update the work order. Do not add undocumented skills.
Phase D: Template Library
Build output templates as defined in the work order. Template types vary by product:
| Product Domain | Typical Templates |
|---|---|
| Enterprise Architecture | Draw.io diagrams (various TOGAF levels), document templates |
| Data Governance | Data catalog schemas, lineage diagrams, quality report templates |
| Compliance | Audit checklists, gap analysis templates, evidence collection forms |
| Project Management | Status report templates, risk matrices, stakeholder maps |
Place templates in .claude/commands/templates/. Each template must be valid for its format, use client-appropriate styling, and include placeholder elements.
Phase E: Reference Materials
Load domain-specific reference materials into content-in/:
- Domain framework documentation -- Summary of client methodology, terminology glossary, process lifecycle
- Tool documentation -- Data model, validation rules, field definitions (if tool integration)
- Quality criteria -- Verification checklists, quality standards, formatting guides
Common Domain-to-Subdirectory Mappings
| Domain | Typical content-in/ Subdirectories |
|---|---|
| EA | methodology/, meta-model/, tools/, requests/ |
| Data Governance | policies/, schemas/, lineage/, glossary/ |
| Compliance | regulations/, checklists/, evidence/, controls/ |
| Project Management | templates/, metrics/, standards/ |
Format Guidance
Prefer markdown (.md) for all reference materials -- agents read markdown natively. For binary files (.pdf, .jpg, .doc), provide a markdown summary alongside the original. Binary files may not be directly readable by the agent.
Phase F: Orchestration and Workflow
Not all products need orchestration. Simple products with independent skills may skip Phase F entirely.
For products with multi-step workflows:
F1. Orchestrator Skill
A central skill that:
- Detects current state of a work request (scans for expected output files)
- Plans remaining steps (follows the product workflow)
- Executes each step by invoking the appropriate skill
- Tracks progress
- Enforces mandatory halt points (human approval checkpoints)
F2. Workflow Documentation
Document the standard pipeline for this product: execution order, quality gates, file flow between steps.
F3. CI/CD Pipeline (optional)
Automated validation (linting, format checks, frontmatter validation) if the client uses CI/CD.
Phase G: Documentation
Remy (Technical Documentation Engineer) assists with:
- User Guide -- What the agent does, how to start requests, how to use each skill, interpreting outputs, troubleshooting
- Configuration Guide -- Updating references, adjusting conventions, modifying skills, managing templates, cost management
- Skill Reference Card -- Quick-reference table: all skills with name, usage, input, output, model
- Quick-Start Cheat Sheet -- One-page guide covering: install/setup, first request walkthrough, top 3 skills with example usage
G.5 Flow Diagram (how the talent works)
Every delivered talent ships with a visual "how it works" diagram -- the first thing the client sees to understand the talent at a glance.
- Copy
production-lines/digital-talent/templates/diagram-template.yamlto the talent repo root asdiagram.yaml. - Fill it from the talent's skills table (CLAUDE.md) and its
§Workflowsection: triggers, commands, tools, collaborators, outputs. - Run
/toolkit:agent-diagram <path-to-diagram.yaml>to generatedocs/how-it-works.html(n8n-style interactive flow) +docs/how-it-works.md. - Ensure the talent's hub
index.htmlhas a<!-- DIAGRAM -->marker so the diagram link is injected automatically.
Regenerate whenever the talent's skills change.
Phase H: Verification
H1. Structural Verification
All expected files exist: CLAUDE.md, README.md, all skills from the solution spec, all templates, reference materials, workflow docs (if applicable).
H2. Skill Smoke Tests
For each skill: provide sample input, execute, verify output format and naming, verify domain terms and language.
H3. End-to-End Test (if orchestrator exists)
Create test request. Provide sample input. Run orchestrator. Verify each step produces output. Verify halt points work. Resume after approval. Verify final outputs.
H4. CLAUDE.md Consistency Check
Skills table matches actual .claude/commands/ files. File paths correct. Naming conventions consistent. Model recommendations match.
H5. CLAUDE.md-to-Commands Consistency Check
Compare the skills table in CLAUDE.md against actual files in .claude/commands/. Verify: every listed skill has a corresponding file, every file has a table entry, no phantom references. Document any discrepancies.
H6. Strip Dev-Only Artifacts
Remove or exclude any development-only files before handoff to QA. This includes: .claude/skills/ dev tools (skill-creator, improve-agent, etc.), internal notes, TODO files, architecture analysis documents. These are build artifacts, not product deliverables.
Final Assembly Checklist
Complete the assembly checklist using the template at templates/assembly-checklist-template.md. Copy the template into the order directory and fill in all fields including file counts, skill counts, and verification results.
Post-Assembly
Submit to Quinn (QA) for Stage 5 testing. Do not deploy without QA PASS certification.
Handoff includes: complete build artifacts, completed assembly checklist, known limitations, test data from Phase H.