code-task-generator
Generates structured .code-task.md files from descriptions or PDD implementation plans. Auto-detects input type, creates properly formatted tasks with Given-When-Then acceptance criteria.
Why use this skill?
Automate your development workflow with the code-task-generator. Convert PDD plans and descriptions into structured .code-task.md files with automated testing requirements.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/paulpete/code-task-generatorWhat This Skill Does
The code-task-generator is a specialized developer tool designed to bridge the gap between high-level architectural planning and actionable, granular engineering tasks. By parsing either loose natural language descriptions or structured PDD (Plan-Driven Development) documents, the skill automatically identifies scope, technical requirements, and functional dependencies. It transforms these inputs into standardized .code-task.md files, ensuring that developers have clear, consistent blueprints for implementation that include baked-in Gherkin-style (Given-When-Then) acceptance criteria.
Installation
You can integrate this skill into your OpenClaw environment by running the following command in your terminal:
clawhub install openclaw/skills/skills/paulpete/code-task-generator
Use Cases
- PDD Execution: Follow complex, multi-step implementation plans defined in markdown, ensuring stateful progression between steps while maintaining context.
- Feature Scoping: Convert vague product requirements or brainstormed ideas into structured development tasks, preventing scope creep and ensuring test coverage is planned from the start.
- Standardization: Enforce a consistent format for task definitions across your engineering team, making it easier for AI agents or junior developers to understand requirements and constraints.
- Project Onboarding: Quickly generate a roadmap and granular task list from a directory of project research documents or architectural design files.
Example Prompts
- "I have a plan.md file in the current directory. Please use the code-task-generator to analyze it and propose a breakdown for step 2."
- "Generate a code task for building a user authentication endpoint using FastAPI. Constraints: must use OAuth2, handle JWT tokens, and include unit tests for token validation."
- "Review the design document at ./docs/arch/auth-system.md and create a task list for implementing the Redis caching layer."
Tips & Limitations
- Approval Workflow: Always review the task breakdown presented by the AI before confirming file generation. This is a safety feature to ensure the agent's logic aligns with your architectural vision.
- PDD Context: When using PDD mode, ensure your plan is formatted with clear steps; the skill relies on this structure to accurately track your progress through the implementation cycle.
- Test Integration: Remember that this skill integrates testing requirements directly into tasks. You do not need to create separate 'write tests' tickets—the agent will ensure they are part of the acceptance criteria from the start.
- Scope: While the tool is powerful, it is limited by the quality of the input. Vague descriptions will yield less precise acceptance criteria than well-defined technical specifications.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-paulpete-code-task-generator": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
create-hat-collection
Generates new Ralph hat collection presets through guided conversation. Asks clarifying questions, validates against schema constraints, and outputs production-ready YAML files.
playwriter
Browser automation via Playwriter (remorses) using persistent Chrome sessions and the full Playwright Page API.
release-bump
Use when bumping ralph-orchestrator version for a new release, after fixes are committed and ready to publish
evaluate-presets
Use when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.
tmux-terminal
Interactive terminal control via tmux for TUI apps, prompts, and long-running CLI workflows.