Commit Graph
8 Commits
Author SHA1 Message Date
Janik von Rotz 5f68826f8e feat(create-prompt, list-prompts): add optional path parameter for custom prompts directory 2026-05-29 10:24:46 +02:00
Janik von Rotz cd898dc511 feat(create-prompt): allow dots in slug generation for better title handling 2026-05-06 09:31:23 +02:00
Janik von Rotz fe6f0e8c76 feat(create-prompt): display created file path and copy to clipboard 2026-04-07 09:19:26 +02:00
Janik von Rotz db19fa1cf9 feat(create-prompt): copy prompt file path to clipboard and update template with improved task instructions 2026-04-07 08:11:46 +02:00
Janik von Rotz 6f93c35033 feat: update create-prompt to accept title as argument and add new prompt file
- Modified create-prompt to accept title as command-line argument instead of interactive input
- Added usage message when title is missing
- Fixed numeric comparison in prompt numbering logic to handle leading zeros correctly
- Added new prompt file 09_add-cluster-and-partner-list-view-to-website-kubectl.md
- Changed task.template permissions from executable to readable (755 → 644)
2026-02-17 13:55:38 +01:00
Janik von Rotz 05278b3821 feat: refactor create-prompt to use envsubst for template rendering
- Replaced awk-based title replacement with envsubst for cleaner template rendering
- Added PROMPT_TITLE and PROMPT_ID environment variables to template
- Updated prompt.md.template to use $PROMPT_TITLE and $PROMPT_ID variables
- Removed temporary file handling and simplified the template generation process
2026-02-16 14:19:13 +01:00
Janik von Rotz b94484305d feat: rename list-prompt to list-prompts and improve script formatting
- Renamed `bin/list-prompt` to `bin/list-prompts` and updated function name accordingly
- Updated references to `list-prompts` in `library.md`, `task.template`, and `usage.md`
- Added shebang and blank lines for consistency in `create-prompt`, `install-ansible-build-scripts`, and `list-dotenv` scripts
- Fixed table formatting in `usage.md` to use consistent column alignment
2026-02-16 13:59:19 +01:00
Janik von Rotz 8f786f1822 feat: add create-prompt and list-prompt commands for managing prompt files
- Added `create-prompt` command to create new prompt files from template with sequential numbering
- Added `list-prompt` command to display all prompt files in a formatted table
- Added `prompt.md.template` file as base template for new prompts
- Added `prompts/08_add-prompt-commands.md` prompt file documenting the addition of prompt management commands
- Added `create-prompt` and `list-prompt` commands to help table in `task.template`
- Added `create-prompt` and `list-prompt` documentation to `library.md`
- Updated `task.template` to include `create-prompt`, `list-prompt`, and `setup-completion` commands in help table
- Updated `library.md` to include `create-prompt` and `list-prompt` commands in LLM section
2026-02-16 09:05:15 +01:00