Starting with version 0.1.50, the prompt directory structure has been reorganized to improve clarity and consistency between category prompts and workflow prompts.
OLD structure:
.mcp-tasks/
├── prompts/ # Mixed: categories + some workflows
│ ├── simple.md
│ ├── medium.md
│ └── large.md
└── story/
└── prompts/ # Story workflows only
├── complete-story.md
└── execute-story-child.md
NEW structure:
.mcp-tasks/
├── category-prompts/ # Category execution workflows
│ ├── simple.md
│ ├── medium.md
│ └── large.md
└── prompt-overrides/ # Task/story workflow overrides
├── execute-task.md
├── refine-task.md
├── complete-story.md
└── execute-story-child.md
OLD built-in structure:
resources/
├── prompts/ # Mixed: categories + workflows + infrastructure
│ ├── simple.md
│ ├── medium.md
│ ├── execute-task.md
│ ├── default-prompt-text.md
│ └── branch-management.md
└── story/
└── prompts/
└── complete-story.md
NEW built-in structure:
resources/
├── category-prompts/ # Category workflows only
│ ├── simple.md
│ ├── medium.md
│ ├── large.md
│ └── clarify-task.md
├── prompts/ # Task/story workflows
│ ├── execute-task.md
│ ├── refine-task.md
│ ├── complete-story.md
│ ├── create-story-tasks.md
│ └── execute-story-child.md
└── prompts/infrastructure/ # Internal files
├── default-prompt-text.md
├── branch-management.md
└── worktree-management.md
Problems with old structure:
.mcp-tasks/prompts/ vs .mcp-tasks/story/prompts/)Benefits of new structure:
# Check for category prompts
ls .mcp-tasks/prompts/*.md 2>/dev/null
# Check for story workflow prompts
ls .mcp-tasks/story/prompts/*.md 2>/dev/null
If these commands return no files, you don't need to migrate anything.
mkdir -p .mcp-tasks/category-prompts
mkdir -p .mcp-tasks/prompt-overrides
Category prompts define task execution workflows. Common examples include:
simple.mdmedium.mdlarge.mdclarify-task.md# Move category prompts
for file in .mcp-tasks/prompts/{simple,medium,large,clarify-task}.md; do
if [ -f "$file" ]; then
mv "$file" .mcp-tasks/category-prompts/
fi
done
# Move any custom category prompts
# (You'll need to identify these based on your setup)
Workflow prompts define task/story operations. Examples include:
execute-task.mdrefine-task.mdcomplete-story.mdcreate-story-tasks.mdexecute-story-child.md# Move workflow prompts from .mcp-tasks/prompts/
for file in .mcp-tasks/prompts/{execute-task,refine-task}.md; do
if [ -f "$file" ]; then
mv "$file" .mcp-tasks/prompt-overrides/
fi
done
# Move story workflow prompts
for file in .mcp-tasks/story/prompts/*.md; do
if [ -f "$file" ]; then
mv "$file" .mcp-tasks/prompt-overrides/
fi
done
# Remove old directories if empty
rmdir .mcp-tasks/prompts 2>/dev/null
rmdir .mcp-tasks/story/prompts 2>/dev/null
rmdir .mcp-tasks/story 2>/dev/null
# Check new category prompts location
ls .mcp-tasks/category-prompts/
# Check new workflow overrides location
ls .mcp-tasks/prompt-overrides/
# Ensure old directories are gone or empty
ls .mcp-tasks/prompts/ 2>/dev/null
ls .mcp-tasks/story/prompts/ 2>/dev/null
Version 0.1.50 and later maintain backward compatibility with the old directory structure:
Category prompts are resolved in this order:
.mcp-tasks/category-prompts/<category>.md (new location).mcp-tasks/prompts/<category>.md (deprecated, with warning)resources/category-prompts/<category>.md (built-in)Workflow prompts are resolved in this order:
.mcp-tasks/prompt-overrides/<name>.md (new location).mcp-tasks/story/prompts/<name>.md (deprecated, with warning)resources/prompts/<name>.md (built-in)Deprecation warnings will be logged when files are read from old locations:
WARN: Found category prompt at deprecated location .mcp-tasks/prompts/simple.md
Please move to .mcp-tasks/category-prompts/simple.md
Support for old location will be removed in version 1.0.0
If you encounter "Prompt not found" errors after migration:
If you've moved files but the system still reads from old locations:
If you have files in both old and new locations:
Version 0.1.50 (current):
Future minor versions (0.1.x, 0.2.x):
Version 1.0.0 (future major version):
If you encounter issues during migration:
Include:
ls -R .mcp-tasks/)Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |