Expand description
Built-in task templates for common patterns.
Responsibilities:
- Define embedded JSON templates for standard task types.
- Provide lookup functions for built-in templates by name.
Not handled here:
- Custom template loading from filesystem (see
loader.rs). - Template merging with user options (see
merge.rs).
Invariants/assumptions:
- Template JSON is valid and parses to Task structs.
- Template names are lowercase ASCII without spaces.
Constants§
- ADD_
DOCS_ TEMPLATE - Built-in add-docs template - for documentation improvements
- ADD_
TESTS_ TEMPLATE - Built-in add-tests template - for adding tests to existing code
- BUG_
TEMPLATE - Built-in bug fix template
- DOCS_
TEMPLATE - Built-in documentation template
- FEATURE_
TEMPLATE - Built-in feature template
- FIX_
ERROR_ HANDLING_ TEMPLATE - Built-in fix-error-handling template - for improving error handling
- REFACTOR_
PERFORMANCE_ TEMPLATE - Built-in refactor-performance template - for performance optimization
- REFACTOR_
TEMPLATE - Built-in refactor template
- SECURITY_
AUDIT_ TEMPLATE - Built-in security-audit template - for security improvements
- TEST_
TEMPLATE - Built-in test template
Functions§
- get_
builtin_ template - Get built-in template by name
- get_
template_ description - Get a human-readable description for a built-in template
- list_
builtin_ templates - List all built-in template names