Documentation
¶
Overview ¶
Package prompt provides access to embedded prompt templates for code review, refactoring, and explanation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Template ¶
Template reads a prompt template by name.
Parameters:
- name: Template filename (e.g., "code-review.md")
Returns:
- []byte: Template content from prompt-templates/
- error: Non-nil if the file is not found or read fails
func TemplateList ¶
TemplateList returns available prompt template file names.
Returns:
- []string: List of template filenames in prompt-templates/
- error: Non-nil if directory read fails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.