Documentation
¶
Overview ¶
Package prompt implements the "ctx prompt" command for managing reusable prompt templates.
Prompt templates are plain markdown files stored in .context/prompts/. They provide a lightweight alternative to full skills for reusable prompt patterns like code review checklists or refactoring guard rails.
Subcommands:
- list: list available prompt templates (default)
- show: print a prompt template to stdout
- add: create a new prompt from embedded template or stdin
- rm: remove a prompt template
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
add
Package add implements the ctx prompt add subcommand.
|
Package add implements the ctx prompt add subcommand. |
|
list
Package list implements the ctx prompt list subcommand.
|
Package list implements the ctx prompt list subcommand. |
|
rm
Package rm implements the ctx prompt rm subcommand.
|
Package rm implements the ctx prompt rm subcommand. |
|
show
Package show implements the ctx prompt show subcommand.
|
Package show implements the ctx prompt show subcommand. |
|
Package core provides shared helpers used by all prompt subcommand packages.
|
Package core provides shared helpers used by all prompt subcommand packages. |
Click to show internal directories.
Click to hide internal directories.