AgentSkillsCN

17th-task-validator

当用户希望将自己的暂存更改与任务/计划文件进行比对时,可使用此技能。 分析git暂存的更改,并与TASK.md或指定文件中的需求/清单进行对比。 适用场景:提交前的代码审查、进度检查、需求验证。 不适用于:代码风格/质量审查、测试执行、未暂存的更改。

SKILL.md
--- frontmatter
name: 17th-task-validator
description: |
  Use this skill when the user wants to validate their staged changes against a task/plan file.
  Analyzes git staged changes and compares them to requirements/checklist in TASK.md or specified file.
  Appropriate for: pre-commit review, progress checking, requirement verification.
  Not appropriate for: code review (style/quality), test execution, unstaged changes.

Task Validator

Validate git staged changes against task requirements.

When to Use

  • User wants to verify staged changes match TASK.md
  • Pre-PR final review
  • Progress check on checklist items

Implementation

Invoke the 17th-task-validator subagent:

code
Task(
    description="Validate staged changes against {task_file}",
    subagent_type="glm-worker:17th-task-validator",
    prompt="Validate staged changes against {task_file_path}. Project root: {project_root}",
    run_in_background=true
)

Variables

VariableDefaultDescription
task_fileTASK.mdTask file name
task_file_path./TASK.mdFull path to task file
project_rootCurrent directoryProject root

Output

  • Validation report: .kkachi/{branch_name}/completed/task-validator-{epoch_timestamp}.md
  • Summary: X/Y items completed, pending items, out-of-scope changes

Notes

  • Subagent uses GLM-4.7 for analysis, then verifies results
  • Ensure .kkachi/ is in .gitignore