Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
Process Builder
Create new process definitions for the babysitter event-sourced orchestration framework.
README.md - Overview, roles, goals, use cases, common flows
references.md - External references, best practices, links to sources
Phase 2: Identify Processes
Create processes-backlog.md with identified processes:
# Processes Backlog - [Specialization Name]## Identified Processes- [ ] - Short description of what this process accomplishes
Reference: [Link to methodology or standard]
Inputs: list key inputs
Outputs: list key outputs
[ ] - Description
...
**process-name**
-
-
-
-
**another-process**
Phase 3: Create Process Files
Create .js process files following SDK patterns (see below).
# Create a new run
babysitter run:create \
--process-id methodologies/my-process \
--entry ./library/methodologies/my-process.js#process \
--inputs ./test-inputs.json \
--json
# Iterate the run
babysitter run:iterate .a5c/runs/<runId> --json
# List pending tasks
babysitter task:list .a5c/runs/<runId> --pending --json
# Post a task result
babysitter task:post .a5c/runs/<runId> <effectId> \
--status ok \
--value ./result.json
# Check run status
babysitter run:status .a5c/runs/<runId>
# View events
babysitter run:events .a5c/runs/<runId> --limit 20 --reverse
Sample Test Input File
{"feature":"User authentication with JWT","acceptanceCriteria":["Users can register with email and password","Users can login and receive a JWT token","Invalid credentials are rejected"],"testFramework":"jest","targetQuality":85,"maxIterations":5}
Process Builder Workflow
1. Gather Requirements
Ask the user:
Question
Purpose
Domain/Category
Determines directory location
Process Name
kebab-case identifier
Goal
What should the process accomplish?
Inputs
What data does the process need?
Outputs
What artifacts/results does it produce?
Phases
What are the major steps?
Quality Gates
Where should humans review?
Iteration Strategy
Fixed phases vs. convergence loop?
2. Research Similar Processes
# Find similar processesls library/methodologies/
ls library/specializations/
# Read similar process for patternscat library/methodologies/atdd-tdd/atdd-tdd.js | head -200
# Check methodology README structurecat library/methodologies/atdd-tdd/README.md
Every generated process file MUST include a @graph JSDoc block in its file header comment alongside the standard @process, @description, @inputs, and @outputs tags.
roles/ — role nodes (engineers, practitioners, researchers)
workflows/ — workflow nodes
Pick 2–4 edges that genuinely relate to the process. Do not guess IDs — read the actual YAML files to find valid ones. At minimum, every process must reference at least one domain: node.
Why this matters
This metadata connects the process to the atlas knowledge graph. A pre-build generator script parses the @graph block and creates graph nodes and edges for discoverability. Processes without this block will not appear in graph-based search results or recommendations.