Agent skill
rulebook-task-validate
Validate a Rulebook task format and structure against OpenSpec requirements. Use before archiving or to verify task quality.
Install this agent skill to your Project
npx add-skill https://github.com/hivellm/rulebook/tree/main/skills/rulebook-task-validate
SKILL.md
rulebook_task_validate
Validate a Rulebook task's format and structure.
Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
taskId |
string | Yes | Task ID to validate |
Usage
await mcp.rulebook_task_validate({ taskId: "add-auth-system" });
Response
{
"valid": true,
"errors": [],
"warnings": ["Consider adding more scenarios to specs/auth/spec.md"]
}
Validation Rules
proposal.mdmust exist with## Whysection (min 20 characters)tasks.mdmust contain only checklist items- Specs must use
SHALLorMUSTkeywords - Scenarios must use
####headers (4 hashtags) - Scenarios should follow Given/When/Then structure
When to Use
- Before archiving a completed task
- After writing specs to verify format
- As a quality check during task planning
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
DAG Workflow
Maintain a clean dependency graph (DAG) to prevent circular dependencies and ensure maintainable architecture.
Documentation Rules
All documentation in English. Root README concise, detailed docs in `/docs`.
Quality Enforcement
These rules are NON-NEGOTIABLE and MUST be followed without exception.
Rulebook Task Management
Spec-driven task management for features and breaking changes with OpenSpec-compatible format
Agent Automation
Mandatory workflow that AI agents MUST execute after EVERY implementation.
C
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Didn't find tool you were looking for?