double-check
在修改任何文件后(包括删除功能),自动进行两次独立验证(测试/编译/运行检查/文档或配置检查),确保无误才结束。本技能应默认应用于所有文件修改任务。 / After any file changes (including feature removal), automatically perform two independent verifications (tests/compilation/runtime checks/docs or config checks) to ensure correctness. This skill should be applied by default to any file modification task.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/belugarex/double-checkWhat This Skill Does
The Double-Check Skill for OpenClaw is an essential reliability utility designed to automate the verification process after any file-based modification. By default, this skill ensures that all changes—whether it is adding a new feature, refactoring existing code, or deleting deprecated functionality—are subjected to a rigorous dual-validation process. The core mechanism requires that after any modification, the system performs the same verification command twice consecutively. This minimizes the risk of non-deterministic errors, silent failures, or environment-specific bugs slipping into the codebase. When this skill is active, you will see a "✅✅" prefix in the AI's response, signaling that the safety protocol is enabled and protecting your project integrity.
Installation
To install this skill, run the following command in your terminal or via the OpenClaw command interface:
clawhub install openclaw/skills/skills/belugarex/double-check
Use Cases
This skill is highly versatile and acts as a safeguard in the following scenarios:
- Refactoring: Validating that complex code changes do not break existing logic by running test suites multiple times.
- Feature Removal: Ensuring that when you delete legacy features, all associated imports, configurations, and dependencies are successfully cleaned up without causing runtime crashes.
- Dependency Updates: Confirming that new package versions are compatible with your current build environment through repeated compilation checks.
- Configuration Tuning: Verifying that environment variable or configuration file changes do not prevent your application from starting correctly.
Example Prompts
- "Please remove the legacy authentication module from the user controller and double-check that the system remains stable."
- "Refactor the database connection pool in
db.pyto use a singleton pattern, ensuring all unit tests pass reliably." - "Update the
package.jsonto include the latest security patches and confirm the build process works successfully twice."
Tips & Limitations
- Consistency is Key: The skill relies on you having a defined validation command. If your project lacks an automated test suite, ensure you have a reliable "start" or "check" command to serve as your verification gate.
- Performance Overhead: Because this skill runs validations twice to ensure consistency, it may increase total processing time for large projects or complex build pipelines.
- Independence: While the commands used are identical, you should ensure your environment or build tools do not cache artifacts between these two runs, or use flags like
--no-cacheto ensure true independence.
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-belugarex-double-check": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-write, file-read, code-execution
Related Skills
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.
SeedGen
Generate reproducible seeds and deterministic test data. Use when creating random seeds, rotating salt values, auditing randomness, storing seed records.
Claude Code CLI for OpenClaw
Install, authenticate, and use Claude Code CLI as a native coding tool for any OpenClaw agent system.
human_test
Call real humans to test your product (URL or app). Get structured usability feedback with screen recordings, NPS scores, and AI-aggregated findings.
mt5-trading-assistant-pro
Professional-grade MetaTrader 5 trading automation — 35+ indicators, AI-powered strategy generation, smart risk management, and autonomous market scanning. Connect MT5 in minutes and start trading.