prompt-template-design

Solid

Structured prompt template creation with variables, formatting, and version control

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

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

Skill Content

# Prompt Template Design Skill ## Capabilities - Create structured prompt templates with variables - Implement prompt formatting with different styles - Design system/user/assistant message templates - Handle dynamic context injection - Implement prompt versioning and management - Create reusable prompt components ## Target Processes - prompt-engineering-workflow - system-prompt-guardrails ## Implementation Details ### Template Patterns 1. **LangChain PromptTemplate**: Variable-based templates 2. **ChatPromptTemplate**: Message-based templates 3. **FewShotPromptTemplate**: With example selection 4. **PipelinePromptTemplate**: Composed templates ### Configuration Options - Variable names and defaults - Input validation rules - Output format specification - Partial variable handling - Template inheritance ### Best Practices - Clear variable naming conventions - Structured output instructions - Version control for templates - Testing with edge cases - Documentation of template purpose ### Dependencies - langchain-core

Details

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

Integrates with

Related Skills