mix task_validator (TaskValidator v0.9.5)
View SourceTask validation utilities for managing and validating structured task lists.
TaskValidator provides tools for validating Markdown task lists against a structured format specification, with enhanced support for Elixir/Phoenix projects.
Available Commands
Validation
mix validate_tasklist [--path FILE]Validates a TaskList.md file against the format specification.
See mix help validate_tasklist for details.
Template Generation
mix task_validator.create_template [OPTIONS]Creates a new TaskList.md file with example tasks for different project categories.
See mix help task_validator.create_template for details.
Quick Start
# Validate existing task list
mix validate_tasklist
# Create a new task list template
mix task_validator.create_template
# Create OTP-specific template with custom prefix
mix task_validator.create_template --category otp_genserver --prefix GEN
# Validate one of the example templates
mix validate_tasklist --path docs/examples/phoenix_web_example.mdTask List Format
Task lists must include:
- Current Tasks table
- Completed Tasks table
- Detailed task sections with required fields
- Proper subtask organization (numbered or checkbox format)
- Error handling documentation
- Code quality metrics
Categories
TaskValidator supports these project categories:
- otp_genserver - OTP/GenServer development
- phoenix_web - Phoenix web development
- business_logic - Phoenix contexts and domain logic
- data_layer - Ecto schemas and database design
- infrastructure - Deployment and DevOps
- testing - Test implementation strategies
Examples
Complete working examples are available in docs/examples/:
otp_genserver_example.mdphoenix_web_example.mdbusiness_logic_example.mddata_layer_example.mdinfrastructure_example.mdtesting_example.md
Learn More
- Run
mix help validate_tasklistfor validation details - Run
mix help task_validator.create_templatefor template options - See
README.mdfor comprehensive documentation - Check
docs/examples/README.mdfor example explanations