template-generator

Generate workflow templates by discovering nodes, wiring edges, and creating tests.

114|24|Updated Feb 13, 2025
One-click install
npx skills add https://github.com/dafthunk-com/dafthunk --skill template-generator-dafthunk-com
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-generator
Source: https://github.com/dafthunk-com/dafthunk/tree/main/.claude/skills/template-generator
Command: npx skills add https://github.com/dafthunk-com/dafthunk --skill template-generator-dafthunk-com

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the design of workflow templates by discovering nodes, wiring edges correctly, and generating integration tests.

Core Features & Use Cases

  • Discoverable node catalog across categories
  • Topology-aware graph design that wires edges with matching ports
  • Integrated test generation to validate structure and behavior
  • Use case: rapidly scaffold templates for common workflows and ensure correctness with integration tests

Quick Start

Provide a base set of nodes and run the generator to emit a ready-to-run workflow template.

Frequently Asked Questions about template-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate workflow templates with integration tests automatically?

You generate workflow templates by providing a base set of nodes; the template-generator discovers nodes, wires edges via port-name matching, and produces a ready-to-run template with validated integration tests.

How does topology-aware graph design prevent cycles in node graphs?

Topology-aware graph design prevents cycles by implementing topological execution, ensuring deterministic ordering of nodes and wiring edges only between matching ports to maintain a valid directed acyclic graph structure.

What is the best way to scaffold modular graph-based workflows for a team?

The best way to scaffold modular graph-based workflows is using a generator that discovers your node catalog, wires correct edges automatically, and emits deterministic topologies with integrated test generation to verify structural correctness.

Do I need to provide a specific node catalog to create production-ready workflow templates?

Yes, you need to provide a base set of nodes from your catalog; the generator uses these discoverable nodes across categories to wire correct edges and emit a ready-to-run workflow template with validated tests.

Why are my workflow integration tests failing when wiring node graphs manually?

Manual wiring often causes mismatched ports or unexpected cycles; using automatic topology-aware generation enforces port-name matching and topological execution to validate structure and prevent integration test failures.