Skip to content
dipeo-codegen-pipeline logo

DiPeO Codegen Pipeline Router

dipeo-codegen-pipeline

Router skill for DiPeO code generation pipeline (TypeScript specs → IR → Python/GraphQL). Use when task mentions TypeScript models, IR builders, generated code diagnosis, or codegen workflow. For simple tasks, handle directly; for complex work, escalate to dipeo-codegen-pipeline agent.

SKILL.md

Full skill instructions

DiPeO Codegen Pipeline Router

Domain: Complete TypeScript → IR → Python/​GraphQL pipeline (/​dipeo/​models/​src/, /​dipeo/​infrastructure/​codegen/, generated code diagnosis).

Quick Decision: Skill or Agent?

✅ Handle Directly (This Skill)

  • Simple lookups: Understanding codegen workflow, reviewing TypeScript specs
  • Read-only tasks: Checking generated code structure, reviewing IR output
  • Pattern reference: snake_case naming rules, type mapping examples
  • Small spec tweaks: Minor TypeScript field changes (<5 lines, 1 file)
  • Workflow questions: "How do I run codegen?", "What's the IR structure?"

❌ Escalate to Agent

  • New node types: Creating complete TypeScript specs with IR builders
  • IR builder changes: Modifying AST processing, type conversion logic
  • Generated code diagnosis: Tracing why generated code is wrong
  • Template modifications: Changing Jinja templates for code generation
  • Complex spec changes: Multi-field changes affecting multiple generated files
  • Type system updates: Changes to UnifiedTypeConverter or type mappings

Agent: Task(dipeo-codegen-pipeline, "your detailed task description")

Documentation Sections (Load On-Demand)

Use Skill(doc-lookup) with these anchors when you need detailed context:

Part 1: TypeScript Model Design:

  • docs/​agents/​codegen-pipeline.md#your-role-as-model-architect - Model locations and structure
  • docs/​agents/​codegen-pipeline.md#type-system-design-principles - CRITICAL: snake_case and type safety
  • docs/​agents/​codegen-pipeline.md#workflows - Creating/​modifying node types

Part 2: IR Builder System:

  • docs/​agents/​codegen-pipeline.md#ir-builder-architecture - Architecture and directory structure
  • docs/​agents/​codegen-pipeline.md#pipeline-system - Pipeline, type conversion, AST processing

Part 3: Code Generation:

  • docs/​agents/​codegen-pipeline.md#template-system - Templates and generated code structure
  • docs/​agents/​codegen-pipeline.md#generation-workflow - Complete make codegen workflow

Part 4: Diagnosis:

  • docs/​agents/​codegen-pipeline.md#your-critical-responsibility - Tracing TypeScript → IR → Python

Part 5 & 6: Workflow & Collaboration:

  • docs/​agents/​codegen-pipeline.md#complete-workflow - End-to-end steps and validation
  • docs/​agents/​codegen-pipeline.md#when-to-engage-other-agents - Escalation paths

Example doc-lookup call:

python .claude/​skills/​doc-lookup/​scripts/​section_search.py \
  --query "naming-standards" \
  --paths docs/​agents/​codegen-pipeline.md \
  --top 1

Escalation to Other Agents

To dipeo-package-maintainer: Runtime handler issues, service architecture (if generated code is correct) To dipeo-backend: GraphQL schema deployment, server config (if generation is correct)

Typical Workflow

  1. Assess complexity: Simple lookup/​guidance vs. complex generation task
  2. If simple: Load relevant section via Skill(doc-lookup), provide guidance
  3. If diagnosis needed: Trace TypeScript → IR → Python (use diagnosis docs)
  4. If complex: Escalate with Task(dipeo-codegen-pipeline, "task details")

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View