Dev Test: Development & Testing SOP for Openclaw

A disciplined, multi-phase development and testing Standard Operating Procedure (SOP) for implementing high-quality code changes.

sliverp
v1.0.0
Mar 24, 2026
0
755
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dev-test

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dev-test using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Dev Test: Development & Testing SOP?

The dev-test skill is a comprehensive Standard Operating Procedure designed for AI agents and developers to ensure code integrity through a structured lifecycle. By prioritizing understanding before implementation, this Openclaw Skills asset prevents technical debt and ensures that every code change—whether a bug fix, feature, or refactor—is intentional, tested, and maintainable.

This skill bridges the gap between raw coding and professional engineering by enforcing best practices such as minimal focused changes, defense-in-depth design, and the Arrange-Act-Assert testing pattern. It provides a reliable framework for Openclaw Skills users to achieve clean, reviewable diffs and robust test coverage across any programming language or framework.

Dev Test: Development & Testing SOP Use Cases

  • Implementing bug fixes with verified regression testing.
  • Developing new features while maintaining backward compatibility.
  • Executing code refactors without altering existing behavior.
  • Contributing to open-source projects following specific project conventions.
  • Automating quality checks within a CI/CD or multi-agent pipeline.

How Dev Test: Development & Testing SOP Works

  1. Contextual Study: The skill begins by analyzing project conventions (like CONTRIBUTING.md), data flows, and existing test patterns to build a mental model.
  2. Minimal Implementation: Code is written following the 'minimal, focused changes' principle, ensuring existing styles and patterns are strictly followed.
  3. Test-Driven Verification: A suite of tests is generated, covering fix verification, edge cases, error handling, and regressions.
  4. Progressive Execution: Tests are run in stages, starting from specific modified tests to the full suite, ensuring immediate feedback and system-wide stability.
  5. Rigorous Diff Review: Every line of the diff is audited against a checklist to remove debug prints, secrets, or accidental edits.
  6. Standardized Commit: Changes are staged and committed using conventional commit formats for clear version history.

Dev Test: Development & Testing SOP Setup

To integrate this workflow into your AI agent environment, ensure you have your preferred test runner installed (e.g., pytest, jest, go test). Follow these steps to utilize the dev-test logic in Openclaw Skills:

# 1. Initialize the development environment
git checkout -b feature/your-feature-name

# 2. Study the codebase context
cat CONTRIBUTING.md
ls -R tests/

# 3. Run the progressive testing command after implementation
python -m pytest tests/test_new_feature.py -v --tb=short

Dev Test: Development & Testing SOP Data Schema & Taxonomy

The skill organizes its workflow through a series of checkpoints and structured outputs as detailed below:

Phase Primary Output Taxonomy/Pattern
Study Mental Model Contextual understanding of files, functions, and data flow
Implement Source Code Follows existing patterns (snake_case vs camelCase)
Test Test Scripts Arrange-Act-Assert pattern (e.g., test_feature_handles_null_input)
Review Clean Diff Verified via git diff --stat and git diff --cached
Commit Git Commit Conventional Commits format: {type}({scope}): {description}

Dev Test: Development & Testing SOP Advanced Features

  • Multi-Agent Pipeline Integration: Seamlessly follows repo-setup and feeds into pr-pilot within the Openclaw Skills ecosystem.
  • Defensive Design Patterns: Enforces principles like defense-in-depth and graceful degradation during the implementation phase.
  • Customizable Test Scopes: Supports progressive testing from single-file execution to full-suite regression runs.
  • Conventional Commit Enforcement: Standardizes the commit history for better changelog generation and team communication.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*