Skip to content
Back to skills

Doublecheck

ASecurity

Deep verification that all changes meet requirements and preserve correctness

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 26, 2026
ai-agentsgobashgitapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add lacerbi/dotclaude --skill doublecheck --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doublecheck?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doublecheck
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lacerbi-doublecheck/badge)](https://www.skillsdirectory.com/skills/lacerbi-doublecheck)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doublecheck
description: Deep verification that all changes meet requirements and preserve correctness
allowed-tools: Read, Agent, Bash(git diff:*), Bash(git status:*), Bash(git log:*), Bash(git show:*)
argument-hint: [specific-focus-area]
---

## Context

- Branch and files: !`git status --short --branch`
- Unstaged changes: !`git diff`
- Staged changes: !`git diff --cached`

The injected diffs cover working-tree changes. If a diff was too large to inline and arrived as a file path with a preview, read that file (or have reviewers run `git diff` themselves). If relevant work was committed during this conversation, inspect the corresponding commit or branch diff too. Focus on work from this conversation unless otherwise specified; unrelated changes may belong to the user or another agent.

## Your Task

Perform a meticulous verification and comprehensive review of all work done. Establish the actual change scope before reviewing. Treat reviewed files as read-only unless the user explicitly asks for fixes.

**Deploy one or more fresh-context reviewers**, choosing models and efforts by Agent Selection in the global `CLAUDE.md`, including any limit it sets on agents that run heavy compute. Split by aspect as the size and complexity of the change warrant. When project instructions, or the plan or workflow that invoked this review, name the reviewers, run those. Review directly yourself only when the change is so small that a reviewer would add nothing: the point of this skill is a review by agents that did not do the work and don't share its assumptions. A fresh-context reviewer knows nothing of this conversation, so brief each one with: the original goals and requirements, its exact scope (files, commits, or the plan file), what counts as a finding (below), and the report format (below).

A reviewer assigned a report file writes only that file, following Agent-authored documents in the global `CLAUDE.md`; its final reply gives the path, whether the report is complete and a short summary. Keep stdout, stderr and any `codex exec -o` file separate from the report. A reviewer whose brief asks for its findings in its final reply needs no report file.

Verify that:

- All changes align with the original goals and requirements
- Modifications preserve file integrity and correctness
- Nothing is missing or requires additional updates
- Changes work coherently together

### Deeper Review

Go beyond surface-level correctness. Evaluate the work for:

- **Completeness**: Are all requirements addressed? Are there gaps, missing scenarios, or implicit expectations left unhandled?
- **Correctness**: Does the logic hold? Are there subtle errors, flawed assumptions, or reasoning gaps?
- **Consistency**: Do the changes match the provided or discussed specs? Do they follow the conventions and patterns already established in the project?
- **Structural integrity**: Is the work well-organized? Watch for unclear boundaries, redundancy, or unnecessary entanglement between parts that will make future changes harder.
- **Consolidation**: Flag spaghettification—duplicated logic, parallel structures doing similar things, components that could be merged or reused. In code: identify candidates for shared functions, similar modules that could be unified, redundant abstractions. In plans/docs: overlapping sections, repeated concepts, restated prerequisites or duplicated steps. Report what you find; do not refactor.
- **Hazard avoidance**: Identify footguns—things that look correct now but will mislead or break later (e.g., ambiguous naming, brittle assumptions, implicit dependencies, information that will drift out of sync).

**Look beyond the immediate task.** Explore the surrounding project enough to catch:

- Existing material that overlaps with or is affected by the changes
- Patterns or conventions elsewhere that the changes should respect
- Downstream consequences the author may not have considered

For **code** specifically, also check:

- Error handling and boundary conditions
- Thread safety or concurrency concerns (if applicable)
- Whether tests cover the new behavior adequately
- API surface changes and their impact on callers
- Whether documentation (READMEs, guides, API docs, inline comments) needs updating or creation to reflect the changes

For **plans and design documents**, also check:

- Whether the proposed approach accounts for known constraints and prior decisions
- Feasibility of each step and whether dependencies between steps are correctly sequenced
- Whether each phase provides the goal, context, constraints and acceptance checks its executor needs, with explicit steps, paths and commands where uncertainty or risk warrants them
- Whether the plan addresses verification and rollback
- Whether documentation (READMEs, API docs, guides) needs updating or creation to reflect the changes

For **long or important prose** (documents, specs, plans, proposals, prompts and briefs that people or models will act on), add one reviewer that acts as the reader in the `plain-english` skill's "Check by a fresh reader". This reviewer reads the text without starting other agents. Its brief replaces the briefing above: give it the text, a description of the text's intended reader and the instructions for the reader in step 2 of that check, together with a report file and the instruction not to run heavy processes. Don't give it the goals, what the text is meant to say, what counts as a finding or the report format. It reports without filtering. You turn its report into findings by comparing its restatements with what the text is meant to say. Each finding has its location in the text and high confidence, because the reader's difficulty is the evidence.

- A wrong restatement that would lead a reader to act wrongly is Must fix, and so are two instructions that contradict each other so that a reader would not know which to follow.
- Any other wrong restatement or reported contradiction, a wrong guess, a sentence read twice and an instruction the reader could not apply are Should fix.
- A right guess is Optional.

This review runs one round; it does not rerun the check after fixes.

When the change rewrites existing long or important prose, also add one reviewer that acts as the agent in the skill's "Meaning check". This reviewer compares the two versions without starting other agents and changes nothing. Give it the old and the new text, the instructions in step 2 of that check and the instruction not to run heavy processes, but not the goals or what counts as a finding. It reports every difference without filtering. Each difference in meaning that the change did not intend is Must fix, with its location in the new text and high confidence.

**Focus area (optional; if empty focus on all changes/files)**:

<focus> $ARGUMENTS </focus>

## What counts as a finding

Report anything that affects correctness, the stated requirements, coherence of the changes, or future maintainability — including minor but real issues. Style counts when it is part of the criteria: a style guide, a house convention or the focus area. The Plain English section of the global `CLAUDE.md` is a house convention that applies to all prose in the change, including comments and docstrings. Drop personal style preferences that none of these cover. Drop speculative or unverifiable items. Each finding carries a location, a one-line statement of the problem, and a confidence (high / medium / low). Reviewers apply this bar themselves so the report that reaches the orchestrator stays high-signal. The two reviewers for prose described above, the fresh reader and the one for the meaning check, are the exception: they report without filtering, and you turn their reports into findings.

## Report

Group findings by severity:

- **Must fix**: breaks correctness, requirements, or file/data integrity.
- **Should fix**: real issues that don't block — gaps, footguns, inconsistencies, missing tests or docs.
- **Optional**: consolidation candidates and improvements worth knowing about.

Then cover what's working, the checks run, the checks skipped and why, and any residual risk. Be thorough but concise: every finding actionable, with its location and confidence.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.