Get the FREE Ultimate OpenClaw Setup Guide →

Auto Verify

Scanned
npx machina-cli add skill vertti/se-cove-claude-plugin/auto-verify --openclaw
Files (1)
SKILL.md
3.1 KB

Auto-Verify Skill (Software Engineering)

This skill suggests using /verify for software engineering tasks that would benefit from systematic verification.

Design Philosophy

Be minimal and non-eager. Users invoke /verify when they want it. This skill only suggests verification in specific high-value scenarios where the user might not realize verification would help.

When to Suggest Verification

Only suggest /verify when the user's question involves ALL of these:

  1. Significant complexity - Not a trivial fix or simple question
  2. High risk of subtle bugs - Async patterns, state management, security
  3. Verifiable claims - There are specific behaviors that can be tested

Good Candidates

Complex code patterns with known pitfalls:

  • React hooks with async behavior (useEffect, useCallback + async)
  • Debouncing/throttling implementations
  • Race condition scenarios
  • Caching strategies
  • Authentication/authorization flows

Security-sensitive operations:

  • Input validation and sanitization
  • Token handling and session management
  • Password hashing and credential storage
  • Encryption/decryption implementations
  • Access control and permission checks

Complex async patterns:

  • Promise chains with error handling
  • Concurrent operations with shared state
  • Retry logic with backoff strategies
  • Streaming and chunked data processing
  • WebSocket or real-time connection handling

Financial and critical operations:

  • Payment processing logic
  • Inventory or balance calculations
  • Audit logging implementations
  • Data migration scripts
  • Rate limiting implementations

Architectural decisions with significant tradeoffs:

  • State management approach (Redux vs alternatives)
  • Microservices vs monolith
  • Database schema design
  • API design patterns

Bug investigations where the cause is uncertain:

  • "I think the bug is X but not sure"
  • Intermittent failures
  • Production issues with incomplete information

When NOT to Suggest

Do NOT suggest verification for:

  • Simple questions ("How do I center a div?")
  • Trivial fixes (typos, simple renames)
  • Documentation lookups
  • Exploratory coding ("Let's experiment with this approach")
  • Clear requirements with obvious implementation
  • Time-sensitive requests

Suggested Response Format

When you do suggest verification, be brief and non-pushy:

This [type of task] has some subtle edge cases that `/verify` could catch.
Would you like me to use it, or should I proceed directly?

Examples:

  • "Debouncing has some cleanup gotchas. /verify could catch those, or I can proceed directly."
  • "Token refresh flows are tricky. Want /verify to double-check the implementation?"
  • "This architectural decision has significant tradeoffs. /verify would evaluate them systematically."

Important Notes

  • Never auto-invoke - Only suggest, let user decide
  • Acknowledge if declined - "Got it, proceeding directly"
  • Don't repeat - If user declines once, don't suggest again for similar questions
  • Trust the user - They know when they want thorough verification vs quick answers

Source

git clone https://github.com/vertti/se-cove-claude-plugin/blob/main/skills/auto-verify/SKILL.mdView on GitHub

Overview

Auto Verify advises when to apply /verify to software tasks that benefit from systematic verification. It emphasizes a minimal, non-eager approach and only prompts in high-value scenarios where verification can catch subtle bugs.

How This Skill Works

The skill analyzes user queries for significant complexity, risk of subtle bugs, and verifiable claims. If all criteria are met, it surfaces a brief, non-pushy prompt explaining the benefits and offering to run /verify; it never auto-invokes, leaving the decision to the user.

When to Use It

  • Complex code patterns with known pitfalls (e.g., React hooks with async behavior, useEffect/useCallback + async) and debouncing/throttling implementations
  • Security-sensitive operations (input validation, token handling, password hashing, encryption/decryption)
  • Complex async patterns (promise chains with error handling, retry logic with backoff, streaming data processing)
  • Architectural decisions with significant tradeoffs (Redux vs alternatives, microservices vs monolith, database/schema design, API design patterns)
  • Bug investigations where the cause is uncertain (intermittent failures, production issues with incomplete information)

Quick Start

  1. Step 1: Check if the task has significant complexity, high risk of subtle bugs, and verifiable claims
  2. Step 2: If yes, decide to trigger verification and choose the suggested prompt format
  3. Step 3: Use this prompt when asking for verification: "This [type of task] has some subtle edge cases that `/verify` could catch. Would you like me to use it, or should I proceed directly?"

Best Practices

  • Only suggest /verify when all high-value criteria are met; avoid spammy prompts
  • Keep the verification prompt brief and non-pushy
  • Provide a short rationale for why verification is helpful in this context
  • Never auto-invoke; present the option and let the user decide
  • If the user declines, avoid repeating similar suggestions for related questions

Example Use Cases

  • Debouncing and throttling implementations with edge-case cleanup can have subtle timing issues
  • Token refresh flows and session management can drift under error conditions
  • Concurrent operations with shared state and backoff retry logic
  • Redux vs alternative state management approaches in large apps
  • Intermittent production bugs with incomplete logs that hinder root-cause analysis

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers