GAF Task Bootstrapper
Goal
Create a consistent gaf-automations-library/Test/{task_id} scaffold that matches GAF core-knowledge conventions.
Use This Skill When
- User asks to create a new automation task.
- User asks to initialize task files from templates.
- Work is at Phase 1 (Intake and Documentation) or early Phase 2.
Required Inputs
task_id(kebab-case)task_nameownercomplexity_tier(SIMPLE,MID_COMPLEX, orCOMPLEX)primary_storage_dependenciesshared_dependencies- runtime (
nodedefault unless explicitly requested otherwise)
Workflow
- Register in catalog via
node scripts/register-task.js <payload.json>fromgaf-core-knowledge/(status: DRAFT,environment: test— location defaults toTest/{task_id}). Readtask-catalog.yaml; do not edit by hand. - If storage entities are missing, add them via Brain scripts (
register-storage-node.js,register-entity.js,update-db-schema.jsperdocs/brain-write-policy.md). - Create
gaf-automations-library/Test/{task_id}. - Create and align:
task-definition.mdmanifest.yamlautomation-doc.md- runtime entrypoint
run.js(Node default and required convention) scripts/folder for internal subtask/module files invoked byrun.jspackage.json(if runtime needs local deps/scripts)
- Ensure identifiers are synchronized across all files:
task_id- status
- owner
- version
- Add TODO markers for unknown values instead of inventing fields.
Guardrails
- Do not invent undeclared storage nodes/entities.
- Keep runtime self-contained; no runtime reads from
gaf-core-knowledge. - Reference published shared libraries (
*_v<n.n.n>) inmanifest.yamlfor deploy-ready tasks. - Follow Test-first flow; do not auto-promote to Production (
deploy-task.jsonly after validation and user confirmation).
Output Format
Return:
- files created
- unresolved TODOs requiring user input
- quick checklist for next step (Phase 2 or Phase 3)