Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
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.
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.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Implement tasks systematically using TDD (Test-Driven Development) with phase checkpoints and verification protocols. Ensures quality at every step.
npx clawhub@latest install workflow-patterns
Provides a structured approach to implementing tasks: TDD cycle (red โ green โ refactor) for each task Quality gates (tests, coverage, linting) before marking complete Phase checkpoints requiring user approval Git commits with rich metadata for traceability
Use for: Implementing features from a plan Following TDD methodology Tasks requiring quality verification Projects with coverage requirements Team workflows needing traceability Skip for: Quick fixes or trivial changes Exploratory prototyping Projects without test infrastructure Keywords: TDD, implementation, testing, coverage, checkpoints, verification, red-green-refactor
11 steps for each task:
Read the plan and identify the next pending [ ] task. Select tasks in order within the current phase. Do not skip ahead.
Write tests that define expected behavior before implementation: Create test file if needed Cover happy path Cover edge cases Cover error conditions Run tests โ they should FAIL def test_validate_email_valid(): user = User(email="test@example.com") assert user.validate_email() is True def test_validate_email_invalid(): user = User(email="invalid") assert user.validate_email() is False
Write the minimum code to make tests pass: Focus on making tests green, not perfection Avoid premature optimization Keep implementation simple Run tests โ they should PASS
With green tests, improve the code: Extract common patterns Improve naming Remove duplication Simplify logic Run tests after each change โ must stay GREEN
Check test coverage meets the 80% target: pytest --cov=module --cov-report=term-missing If coverage is below 80%: Identify uncovered lines Add tests for missing paths Re-run coverage check
If implementation deviated from plan or added dependencies: Update tech-stack.md with new dependencies Note deviations in plan task comments Update spec if requirements changed
git commit -m "docs: update plan - task 2.1 complete"
Continue to next task until phase is complete.
When all tasks in a phase are complete:
git diff --name-only <last-checkpoint-sha>..HEAD
For each modified file: Verify tests exist for new/changed code Run coverage for modified modules Add tests if coverage < 80%
pytest -v --tb=short All tests must pass.
Present checklist: Phase 1 complete. Please verify: 1. [x] Test suite passes (automated) 2. [x] Coverage meets target (automated) 3. [ ] Manual verification items (requires human) Respond with 'approved' to continue. Do NOT proceed without explicit approval.
Update plan checkpoints table: ## Checkpoints | Phase | SHA | Date | Status | |---------|---------|------------|----------| | Phase 1 | def5678 | 2025-01-15 | verified | | Phase 2 | | | pending |
Before marking any task complete: GateRequirementTestsAll existing tests pass, new tests passCoverageNew code has 80%+ coverageLintingNo linter errorsTypesType checker passes (if applicable)SecurityNo secrets in code, input validation present
<type>(<scope>): <subject> <body> Task: <task-id> Types: feat โ New feature fix โ Bug fix refactor โ Code change without feature/fix test โ Adding tests docs โ Documentation chore โ Maintenance
Discovered requirement not in spec: Document in spec as new requirement Add tasks to plan Note addition in task comments
Feature deemed unnecessary: Mark tasks as [-] (skipped) with reason Update spec scope section Document decision rationale
Do NOT proceed to REFACTOR Identify which test started failing Revert to last known GREEN state Re-approach the implementation
Note rejection reason in plan Create tasks to address issues Complete remediation tasks Request checkpoint approval again
Mark task as [!] with blocker description Check if other tasks can proceed Document expected resolution
SymbolMeaning[ ]Pending[~]In progress[x]Complete[-]Skipped[!]Blocked
Never skip RED โ Always write failing tests first Small commits โ One logical change per commit Immediate updates โ Update plan right after task completion Wait for approval โ Never skip checkpoint verification Coverage discipline โ Don't accept below target Sequential phases โ Complete phases in order Document deviations โ Note any changes from plan Clean state โ Each commit leaves code working
NEVER skip the RED phase โ writing tests first is non-negotiable in TDD NEVER proceed past checkpoints without approval โ wait for explicit user confirmation NEVER commit code that doesn't pass tests โ every commit must be a working state NEVER accept coverage below 80% โ add tests until threshold is met NEVER hide deviations from the plan โ document all changes from original spec NEVER skip phases or reorder them โ phases are sequential for a reason NEVER forget to record commit SHAs โ traceability requires linking tasks to commits
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.