Expand description
Section-based prompt composition
Each section can be:
- Static: constant string, cacheable
- Dynamic: computed at runtime, not cacheable
Predefined sections are available for common prompt components:
- Red flags warning table
- Skill priority rules
- Tool usage guidelines
Structs§
- Prompt
Section - A prompt section with name, content, and cacheability
- Section
Builder - Builder for creating prompt sections
Enums§
- Section
Content - Section content type
Functions§
- red_
flags_ section - Red flags warning section - prevents common AI reasoning errors
- skill_
priority_ section - Skill priority rules section - defines skill invocation order
- skill_
rules_ section - Skill invocation rules section - mandatory skill check before action
- tool_
guidelines_ section - Tool usage guidelines section - how to use tools effectively