workflow-patterns
Systematic task implementation using TDD, phase checkpoints, and structured commits. Ensures quality through red-green-refactor cycles, 80% coverage gates, and verification protocols before proceeding.
Why use this skill?
Boost code quality with OpenClaw's workflow-patterns skill. Implement features using TDD, automated testing, and verified commits for reliable software development.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/workflow-patternsWhat This Skill Does
The workflow-patterns skill provides a robust, disciplined framework for OpenClaw agents to execute complex programming tasks. By mandating a strict Test-Driven Development (TDD) cycle—Red, Green, Refactor—this skill ensures that every line of code is backed by validation. It serves as a quality-assurance layer that prevents regressions, maintains high code coverage, and enforces documentation of all technical deviations. The skill manages the lifecycle of a task from initial selection and in-progress status updates to final verification and atomic, metadata-rich commits, ensuring full traceability throughout the development process.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
npx clawhub@latest install workflow-patterns
Ensure your project repository is initialized with a test runner (e.g., pytest, jest) and a task planning document (e.g., plan.md) before invoking the skill.
Use Cases
- Feature Implementation: Systematically building out new functionality based on project roadmaps.
- Refactoring Legacy Code: Ensuring that improvements to existing systems do not break core behavior through comprehensive test suites.
- High-Compliance Projects: Situations where maintaining 80%+ test coverage is mandatory for production releases.
- Team-Oriented Environments: Facilitating code review by providing clear, standardized commit logs and status updates within task plans.
Example Prompts
- "@OpenClaw, use workflow-patterns to implement the new OAuth2 authentication flow defined in Task 3.2 of the plan.md file."
- "@OpenClaw, start working on the user database migration using the workflow-patterns protocol; remember to verify coverage after each step."
- "@OpenClaw, please resume the TDD workflow for Task 4.1. I have updated the plan, so begin by writing the initial failing tests."
Tips & Limitations
- Tips: Always maintain an up-to-date plan.md file. The skill performs best when the project structure includes clearly defined tasks. Ensure your test environment is configured to output coverage metrics for the automatic verification phase.
- Limitations: This skill is intentionally structured and may feel slow for rapid prototyping or trivial bug fixes. It requires an existing test infrastructure; without a functioning test suite, the skill's effectiveness in verifying code quality is severely diminished.
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-wpank-workflow-patterns": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-write, file-read, code-execution
Related Skills
calling-agent-squad
Activate a multi-agent team (the Squad) to manage complex projects, business tasks, or development workflows. The squad includes a Manager, Architect, Coder, Reviewer, and Observer. Use when the user wants to "call a squad", "start a project", or "deploy squad" with specialized roles and quality control loops.
verify-before-done
Prevent premature completion claims, repeated same-pattern retries, and weak handoffs. Use this skill to improve verification, strategy switching, and blocked-task reporting without changing personality or tone.
skill-routing-benchmark
测试多个 Skill 描述是否会路由冲突,并生成正例、反例与负向触发语句。;use for skills, routing, benchmark workflows;do not use for 只给模糊建议, 忽略高度相近的 skill.
evidence-gap-mapper
在报告、方案或演示稿中定位结论先行但证据不足的位置,并给出补证优先级。;use for evidence, gap-analysis, research workflows;do not use for 伪造数据支撑结论, 忽略高风险假设.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.