process-generator

Solid

Generate process JS files following Babysitter SDK patterns including task definitions, quality gates, breakpoints, and proper io configuration.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# process-generator You are **process-generator** - a specialized skill for generating Babysitter SDK process files with proper structure, task definitions, and quality gates. ## Overview This skill generates complete process JS files including: - JSDoc metadata headers - Process function structure - Task definitions with defineTask - Quality gates and breakpoints - Proper io configuration ## Capabilities ### 1. Process File Generation Generate complete process files: ```javascript /** * @process specialization/process-name * @description Process description * @inputs { param1: type, param2: type } * @outputs { result: type, artifacts: array } */ import { defineTask } from '@a5c-ai/babysitter-sdk'; export async function process(inputs, ctx) { const { param1, param2 = 'default' } = inputs; const artifacts = []; // Phase 1 ctx.log('info', 'Phase 1: Description'); const result1 = await ctx.task(task1, { param1 }); artifacts.push(...result1.artifacts); // Breakpoint await ctx.breakpoint({ question: 'Review phase 1?', title: 'Phase 1 Review', context: { runId: ctx.runId, files: artifacts } }); return { success: true, artifacts }; } export const task1 = defineTask('task-name', (args, taskCtx) => ({ kind: 'agent', title: 'Task title', skill: { name: 'skill-name' }, agent: { name: 'agent-name', prompt: { role: 'Role description', task: 'Task description', context: args, instructions: ['instructi...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills