- Direct AI Instructions
- Write prompts as clear directives to the AI
- Focus on process steps and expected outputs
- Exclude metadata and human-focused documentation
- Separation of Concerns
- Keep prompt instructions in
.md
files - Store usage documentation in
.meta.md
files - Maintain clean separation between AI and human documentation
- Prompt Structure
- Start with clear workflow name
- List steps in logical order
- Define output formats
- Include validation rules
- Output Formats
- Use consistent markdown structures
- Include file paths in code blocks
- Separate command-line instructions
- Maintain clear formatting
- Workflow Chain Integration
- Design prompts to fit into chains
- Define clear inputs and outputs
- Include chain verification points
- Support systematic progress tracking
- Keep prompts focused
- One primary task per prompt
- Clear scope boundaries
- Minimal complexity
- Define chain position if applicable
- Enable interaction
- Break complex decisions into steps
- Allow for user input and revision
- Provide clear options
- Support chain status checks
- Maintain context
- Reference existing project files
- Consider current development stage
- Check for conflicts and dependencies
- Track chain dependencies
- Support validation
- Include quality checks
- Verify compatibility
- Confirm requirements alignment
- Validate chain integrity
- Input/Output Definition
- List required inputs
- Specify expected outputs
- Document dependencies
- Define validation criteria
- Chain Position
- Identify preceding phases
- Document following phases
- Specify verification points
- Include progress tracking
- Status Commands
- Provide status check commands
- Include progress indicators
- Support chain integrity checks
- Enable workflow validation
- Individual Testing
- Verify prompt works across different AI models
- Test with various project types and sizes
- Confirm output consistency
- Validate standalone operation
- Chain Testing
- Test chain integration
- Verify input/output flow
- Validate chain integrity
- Confirm progress tracking