@prpm-converter/cursorrules-verification-before-completion
Cursor rules version of verification-before-completion skill - ---
prpm install @prpm-converter/cursorrules-verification-before-completion0 total downloads
š Full Prompt Content
# Verification Before Completion - Cursor Rules
---
## Overview
This cursor rule is based on the Claude Code "Verification Before Completion" skill, adapted for use in Cursor IDE.
## Core Methodology
When working on code, follow this verification before completion methodology:
Follow the principles outlined below.
## Principles
- Apply best practices from the skill content below
## Implementation Guidelines
- Reference the detailed skill content for specific guidance
## Integration with Other Rules
This rule works best when combined with:
- Code quality and style guidelines
- Testing best practices
- Project-specific conventions
You can reference other .cursorrules files by organizing them in your project:
```
.cursorrules/
āāā base/
ā āāā verification-before-completion.cursorrules (this file)
ā āāā code-quality.cursorrules
āāā project-specific.cursorrules
```
## Original Skill Content
The following is the complete content from the Claude Code skill for reference:
---
---
name: verification-before-completion
description: Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
---
# Verification Before Completion
## Overview
Claiming work is complete without verification is dishonesty, not efficiency.
**Core principle:** Evidence before claims, always.
**Violating the letter of this rule is violating the spirit of this rule.**
## The Iron Law
```
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
```
If you haven't run the verification command in this message, you cannot claim it passes.
## The Gate Function
```
BEFORE claiming any status or expressing satisfaction:
1. IDENTIFY: What command proves this claim?
2. RUN: Execute the FULL command (fresh, complete)
3. READ: Full output, check exit code, count failures
4. VERIFY: Does output confirm the claim?
- If NO: State actual status with evidence
- If YES: State claim WITH evidence
5. ONLY THEN: Make the claim
Skip any step = lying, not verifying
```
## Common Failures
| Claim | Requires | Not Sufficient |
|-------|----------|----------------|
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
| Regression test works | Red-green cycle verified | Test passes once |
| Agent completed | VCS diff shows changes | Agent reports "success" |
| Requirements met | Line-by-line checklist | Tests passing |
## Red Flags - STOP
- Using "should", "probably", "seems to"
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
- About to commit/push/PR without verification
- Trusting agent success reports
- Relying on partial verification
- Thinking "just this once"
- Tired and wanting work over
- **ANY wording implying success without having run verification**
## Rationalization Prevention
| Excuse | Reality |
|--------|---------|
| "Should work now" | RUN the verification |
| "I'm confident" | Confidence ā evidence |
| "Just this once" | No exceptions |
| "Linter passed" | Linter ā compiler |
| "Agent said success" | Verify independently |
| "I'm tired" | Exhaustion ā excuse |
| "Partial check is enough" | Partial proves nothing |
| "Different words so rule doesn't apply" | Spirit over letter |
## Key Patterns
**Tests:**
```
ā
[Run test command] [See: 34/34 pass] "All tests pass"
ā "Should pass now" / "Looks correct"
```
**Regression tests (TDD Red-Green):**
```
ā
Write ā Run (pass) ā Revert fix ā Run (MUST FAIL) ā Restore ā Run (pass)
ā "I've written a regression test" (without red-green verification)
```
**Build:**
```
ā
[Run build] [See: exit 0] "Build passes"
ā "Linter passed" (linter doesn't check compilation)
```
**Requirements:**
```
ā
Re-read plan ā Create checklist ā Verify each ā Report gaps or completion
ā "Tests pass, phase complete"
```
**Agent delegation:**
```
ā
Agent reports success ā Check VCS diff ā Verify changes ā Report actual state
ā Trust agent report
```
## Why This Matters
From 24 failure memories:
- your human partner said "I don't believe you" - trust broken
- Undefined functions shipped - would crash
- Missing requirements shipped - incomplete features
- Time wasted on false completion ā redirect ā rework
- Violates: "Honesty is a core value. If you lie, you'll be replaced."
## When To Apply
**ALWAYS before:**
- ANY variation of success/completion claims
- ANY expression of satisfaction
- ANY positive statement about work state
- Committing, PR creation, task completion
- Moving to next task
- Delegating to agents
**Rule applies to:**
- Exact phrases
- Paraphrases and synonyms
- Implications of success
- ANY communication suggesting completion/correctness
## The Bottom Line
**No shortcuts for verification.**
Run the command. Read the output. THEN claim the result.
This is non-negotiable.
---
## Usage Notes
- Apply these principles consistently throughout development
- Adapt the methodology to fit your specific project context
- Combine with project-specific rules for best results
- Use this as a reference for the verification before completion approach
---
*Converted from Claude Code Skill: verification-before-completion*
*Source: verification before completion skill*
š” Suggested Test Inputs
Loading suggested inputs...
šÆ Community Test Results
Loading results...
š¦ Package Info
- Format
- cursor
- Type
- rule
- Category
- general