一键导入
validate-tasks
Validate task files for format and convention errors. Use when the user wants to check their task files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate task files for format and convention errors. Use when the user wants to check their task files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
List tasks with optional filters. Use when the user wants to see their tasks.
List tasks with optional filters. Use when the user wants to see their tasks.
Get the next recommended task to work on. Use when the user asks what to work on next or needs a task assignment.
Create a new task file following the taskmd specification. Use when the user wants to add a new task to the project.
Split a large task into smaller sub-tasks. Accepts a task ID, evaluates complexity, and creates sibling task files if warranted.
Update an existing task's fields (status, priority, title, tags, dependencies, etc.). Use when the user wants to modify a task's properties.
基于 SOC 职业分类
| name | validate-tasks |
| description | Validate task files for format and convention errors. Use when the user wants to check their task files. |
| allowed-tools | Glob, Read |
Validate all task files for correctness — no CLI required.
The user's arguments are in $ARGUMENTS (e.g. a directory path to scope validation).
Find the task directory:
.taskmd.yaml if it exists to check for a custom dir fieldtasks if not configured$ARGUMENTS contains a directory path, validate only that directoryScan for task files: Use Glob with <task-dir>/**/*.md
.worklogs/ directoriesRead and validate each task file. For each file, check:
a. Frontmatter exists
--- and contain a second --- delimiterb. Required fields present
id: Must be a non-empty stringtitle: Must be a non-empty stringc. Valid enum values
status: must be one of: pending, in-progress, completed, in-review, blocked, cancelledpriority: must be one of: low, medium, high, criticaleffort: must be one of: small, medium, largetype: must be one of: feature, bug, improvement, chore, docsd. Unique IDs
e. Valid dependency references
dependencies must exist as a task ID in the projectf. No circular dependencies
g. Valid parent references
parent must reference an existing task IDh. File naming convention
<ID>-<slug>.md patterni. Missing created date
j. Phase validation (if phases configured in .taskmd.yaml)
phase values should match a configured phase idReport results:
Validated N task files
Errors (M):
✗ tasks/cli/042-fix-bug.md: Missing required field: title
✗ tasks/web/003-auth.md: Invalid status value 'done'. Valid values: pending, in-progress, completed, in-review, blocked, cancelled
✗ Duplicate ID '042' found in: tasks/cli/042-fix-bug.md, tasks/web/042-other.md
Warnings (W):
⚠ tasks/old-task.md: File doesn't follow naming convention
⚠ tasks/cli/043-new.md: No created date
Result: FAIL (M errors, W warnings)
If no errors: Result: PASS (0 errors, W warnings)
See SPEC_REFERENCE.md (in the plugin root) for valid field values and validation rules.