From claude-task-skills
Add YAML frontmatter to existing TASK.md files — ensures all tasks have required metadata for claude-task-viewer
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-task-skills:migrate-tasksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are migrating task files to include YAML frontmatter. This is a one-time operation per project that ensures all TASK.md files have the metadata structure required by claude-task-viewer.
You are migrating task files to include YAML frontmatter. This is a one-time operation per project that ensures all TASK.md files have the metadata structure required by claude-task-viewer.
Frontmatter schema:
---
status: pending # pending, in_progress, completed, or blocked
priority: 999 # 1 (highest) → N; use 999 as default if unclear
gh_issue_ref: # optional: owner/repo#123
---
Find all task folders in the project:
tasks/ directory at the project rootYYYY-MM-DD_* or equivalent (check CLAUDE.md for project conventions)TASK.mdIf you find tasks but no consistent naming pattern, ask the user for clarification before proceeding.
For each task folder:
TASK.md file---\n)For tasks without frontmatter, infer reasonable defaults from the TASK.md content:
Status:
in_progress, ✅ Complete → completed, etc.)pendingPriority:
999 (lowest priority, will be ordered later)GitHub Issue Reference:
gh_issue_ref: owner/repo#123For each task that needs migration:
Create frontmatter with the values from Step 3:
---
status: <status>
priority: <priority>
gh_issue_ref: <ref or leave blank>
---
Preserve the entire original TASK.md content unchanged (everything after ---)
Write the updated file back to disk
Log each migration: "✓ Migrated tasks/YYYY-MM-DD_task-name/"
After all migrations:
git add -A && git commit -m "chore(tasks): add frontmatter to existing TASK.md files"If you encounter problems:
Let the user know about any skipped or problematic tasks after the run.
npx claudepluginhub avanrossum/claude-task-skills --plugin claude-task-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.