prompt-dsl
Installation
SKILL.md
Categorical Prompt DSL
A domain-specific language for composable prompt engineering with categorical foundations.
Core Algebraic Structure
The Prompt DSL treats prompts as objects in a category:
- Objects: Prompt types (system, user, context, etc.)
- Morphisms: Prompt transformations
- Composition: Sequential prompt chaining
- Tensor: Parallel prompt combination
- Exponential: Prompt templates (parameterized prompts)