diff --git a/bin/create-prompt b/bin/create-prompt index 1f34dc0..91ab9d4 100755 --- a/bin/create-prompt +++ b/bin/create-prompt @@ -47,4 +47,8 @@ create-prompt() { else echo "File created: $filepath" fi + + # Copy path to clipboard + echo "$filepath" | copy-to-clipboard + echo "Path to prompt file copied to clipboard." } \ No newline at end of file diff --git a/prompt.md.template b/prompt.md.template index 90f38e1..e9f3e97 100644 --- a/prompt.md.template +++ b/prompt.md.template @@ -4,10 +4,14 @@ title: $PROMPT_TITLE # Run $PROMPT_ID -IMPORTANT: When working on this task, make sure to: -1. Update the Worklog section as you progress through the task -2. Fill in the Summary section once the task is completed -3. Remove all `==` markers when done +Note: @Agent refers to the AI agent (you) who is working on this task. + +@Agent When working on this task, make sure to: + +- Read context and task section first +- Prepare a list of todos in the worklog section +- Update the todo list while working on the task +- Once the todo list is complete add a summary ## Context @@ -15,12 +19,12 @@ Read the `AGENTS.md` and `README.md` to get understanding of the project. ## Task -==Specifiy the task and goals here== +@Developer Provide instructions with clear objective here. ## Worklog -==Fill this in as you work on the task== +@Agent Add the todo list here. Make sure to update this section as you work on the task, marking tasks as completed when finished. ## Summary -==Fill this once you completed the task== +@Agent Add summary once todo list is complete. Include a brief overview of what was accomplished and any important notes about the implementation. diff --git a/prompts/11_copy-path-of-prompt-file-to-clipboard.md b/prompts/11_copy-path-of-prompt-file-to-clipboard.md new file mode 100644 index 0000000..847f948 --- /dev/null +++ b/prompts/11_copy-path-of-prompt-file-to-clipboard.md @@ -0,0 +1,30 @@ +--- +title: Copy path of prompt file to clipboard +--- + +# Run 11 + +@LLM When working on this task, make sure to: + +- Read context and task section first +- Prepare a list of todos in the worklog section +- Update the todo list while working on the task +- Once the todo list is complete add a summary + +## Context + +Read the `AGENTS.md` and `README.md` to get understanding of the project. + +## Task + +When `task create-promopt [title]` is executed, the path to the new prompt should be copied to the clipboard. The function also echos "Path to prompt file copied to clipboard.". Use `bin/copy-to-clipboard` to do so. + +## Worklog + +- Modified create-prompt function to copy path to clipboard +- Added echo message about path being copied to clipboard +- Tested the modified function + +## Summary + +The task has been completed successfully. The create-prompt function now copies the path of the new prompt file to the clipboard and displays a message confirming this action. The functionality has been tested and works as expected. diff --git a/prompts/12_test-prompt.md b/prompts/12_test-prompt.md new file mode 100644 index 0000000..34176ef --- /dev/null +++ b/prompts/12_test-prompt.md @@ -0,0 +1,28 @@ +--- +title: Test Prompt +--- + +# Run 12 + +@LLM When working on this task, make sure to: + +- Read context and task section first +- Prepare a list of todos in the worklog section +- Update the todo list while working on the task +- Once the todo list is complete add a summary + +## Context + +Read the `AGENTS.md` and `README.md` to get understanding of the project. + +## Task + +@Developer Provide instructions with clear objective here. + +## Worklog + +@LLM Add the todo list here. + +## Summary + +@LLM Add summary once todo list is complete.