Extend a stub workflow (< 6 files) to full Pattern A structure (12-15 files) following the G5.META SOP at 01-systems/workflows/workflow-creation-sop.md. Use when [OWNER] says "workflow-extend-pattern-a", "extend this workflow to Pattern A", "complete this workflow", "apply Pattern A to [workflow]", or "this workflow is a stub, fill it out". Reads the SOP, audits existing files, creates all missing files with correct YAML + content, verifies file count, and updates CKIS CHANGELOG.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Extend a stub workflow (< 6 files) to full Pattern A structure (12-15 files) following the G5.META SOP at 01-systems/workflows/workflow-creation-sop.md. Use when [OWNER] says "workflow-extend-pattern-a", "extend this workflow to Pattern A", "complete this workflow", "apply Pattern A to [workflow]", or "this workflow is a stub, fill it out". Reads the SOP, audits existing files, creates all missing files with correct YAML + content, verifies file count, and updates CKIS CHANGELOG.
argument-hint
path to the workflow folder (e.g. 01-systems/workflows/founders-playbook/)
Converts a stub workflow folder into a complete Pattern A multi-file workflow following the G5.META SOP. Created after G5.A and G5.NEW showed that Pattern A conversion is [OWNER]'s most-executed recurring workflow (applied to Founders Playbook, AI Builder's Handbook, Building Effective AI Agents, Claude Skill Building — all in the same sprint).
━━━
Scope
This skill operates on a single workflow folder under: 01-systems/workflows/{workflow-name}/
Do NOT touch:
00-inbox/ contents
.obsidian/ folder
Files in other workflows
Any file with status: archived in frontmatter
━━━
Pre-conditions
Before running, verify:
[OWNER] has named the target workflow folder (e.g., 01-systems/workflows/founders-playbook/)
The source material (book, PDF, or document) has already been read — this skill does NOT read source content
01-systems/workflows/workflow-creation-sop.md exists and is readable
If [OWNER] has NOT yet read the source material, stop and say: "I need the source content to fill Pattern A files. Please read the PDF/book first, or paste the key frameworks you want captured."
━━━
Phase 1: Read SOP and Audit
Read 01-systems/workflows/workflow-creation-sop.md — extract Pattern A file structure and required sections.
Glob the target workflow folder:
Glob "01-systems/workflows/{workflow-name}/**"
Build an audit manifest:
Files present: list each file with its current line count
Files missing: compare against Pattern A required structure (see below)
YAML issues: check each present file for type, status, related fields
Report the audit to [OWNER] before making any changes:
Every Pattern A workflow MUST have these files (adapt names to the specific domain):
File
Required?
Purpose
_workflow.md
YES
Index + navigation
00-{name}-system.md
YES
System prompt / Project Instructions for an agent
01-{context}.md
YES
[OWNER]'s current context for this domain
02-{core-framework}.md
YES
Primary framework (often the G2/G3 foundation file)
03-{domain-A}.md
YES
Domain module 1
04-{domain-B}.md
YES
Domain module 2
05-{domain-C}.md
YES
Domain module 3
06-{operations}.md
Recommended
Operational rules / checklists
07-{advanced}.md
Optional
Advanced topics
08-active-slot.md
YES
Mutable working state (resets each session)
09-reusable-cards.md
YES
Reusable templates / cards for recurring tasks
10-first-message-guide.md
YES
How to start a session with this workflow
11-maintenance-protocol.md
YES
When and how to update this workflow
Minimum viable Pattern A: _workflow.md + 00- + 01- + at least 3 domain files + 08-active-slot.md + 11-maintenance-protocol.md = 8 files.
Full Pattern A: 12-15 files.
━━━
Phase 2: Create Missing Files
Confirm with [OWNER] before creating >5 files: "I'm about to create {N} files. Proceed?"
For each missing file, create it using the appropriate template below. Use the domain content [OWNER] has provided (from the source material reading session).
00-{name}-system.md template (Project Instructions / System Prompt):
---type:systemsubtype:workflow-moduleworkflow: {workflow-name}
created: {YYYY-MM-DD}
modified: {YYYY-MM-DD}
status:activetags: [workflow, systems, ckis, {domain-tag}]
role:system-prompt---
# {Workflow} — System PromptYouare {roledescription}. [OWNER] is {[OWNER]'s context for this domain}.
## Core Principles
{3-5 principles that govern how the agent in this workflow thinks}
## [OWNER]'sCurrentContext
{[OWNER]'s current state relevant to this workflow — stage, active projects, blockers}
## Workflow Files
{Brief description of each file in the workflow}
Content synthesized from [OWNER]'s source material (frameworks, tables, examples — not raw extracts)
related: links to _workflow.md and the most connected sibling files
━━━ separators between major sections
━━━
Phase 3: Fix YAML in Existing Files
For each existing file that has YAML issues:
Add type: system if missing
Add subtype: workflow-module if missing
Add status: active if missing
Add workflow: {workflow-name} if missing
Add related: with link to _workflow.md if missing
Update modified: to today's date
Preserve all existing content — never rewrite body unless it's an active-slot file
━━━
Phase 4: Verify
After all files created/fixed, verify:
Glob the folder — count files. Minimum 8 for viable Pattern A.
Each file has type: and status: active in frontmatter
_workflow.md file index table lists all current files
08-active-slot.md exists and has current task populated (or is blank if no active task)
No files deleted
No .obsidian/ modifications
Update _workflow.md file index table if new files were added.
Update CKIS CHANGELOG (01-systems/ckis/CHANGELOG.md) with a new version entry:
## v{version} — {YYYY-MM-DD}
**{workflow-name} Pattern A extension**
- Created {N} new files: [list]
- Fixed YAML in {M} existing files: [list]
- Workflow now at {total} files (Pattern A complete)
━━━
Examples
Example 1 — [OWNER] says "workflow-extend-pattern-a 01-systems/workflows/founders-playbook/" with Founders Playbook content already read:
Phase 2: Confirms with [OWNER] before creating 8 files
[OWNER] confirms → creates all 8 with domain content from WSB + Naval synthesis
Phase 4: 10 files. CHANGELOG updated.
━━━
Troubleshooting
Source material not yet read: Do not hallucinate domain content. Stop and tell [OWNER]: "I need the source content to fill the domain files. Please provide the frameworks from the source material."
File already exists at target path: Read it first. If it's a stub (< 10 lines), replace. If it has real content, merge — never overwrite.
More than 15 files already: This is Pattern A+ (advanced). Do not delete existing files. Focus on YAML fixes and ensuring required files exist.
_workflow.md index table out of sync: Always update the table to match actual files on disk. Do not leave phantom entries or missing rows.
━━━
QA Checklist
Before completing:
Minimum 8 files in the workflow folder
Every file has type:, status:, workflow: in YAML frontmatter