Skip to content

Commit 80eebb3

Browse files
citypaulclaude
andcommitted
feat: add double-check skill for cross-provider verification
New auto-discovered skill that gets an independent second opinion on finished work from a *different* AI provider's CLI agent (codex, claude, gemini, or cursor-agent) running locally, then drives a constructive back-and-forth between the two agents until both genuinely agree. Host-agnostic: detects the hosting agent's model lab and picks a verifier from a different lab, at its best model and highest reasoning effort, in a read-only sandbox. Includes a provider command reference and an adversarial verifier brief template in resources/. The skill was itself authored using the loop it prescribes — codex (gpt-5.5, xhigh) acted as the cross-provider verifier across three rounds until it returned no-issues. - Add claude/.claude/skills/double-check/{SKILL.md,resources/} - Register in CLAUDE.md skill list + trigger line - Add README discovery bullet, bump skill counts 27 -> 28 - Add minor changeset Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 61c3e20 commit 80eebb3

6 files changed

Lines changed: 372 additions & 6 deletions

File tree

.changeset/double-check-skill.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@paulhammond/dotfiles": minor
3+
---
4+
5+
Add the `double-check` skill — independent cross-provider verification
6+
7+
New auto-discovered skill that gets a second opinion on finished work from a *different* AI provider's CLI agent (codex, claude, gemini, or cursor-agent) running locally, then drives a constructive back-and-forth between the two agents until both genuinely agree. Host-agnostic: it detects the hosting agent's model lab and always picks a verifier from a different lab, configured for the best available model and highest reasoning effort, in a read-only sandbox. Includes a provider command reference and a verifier brief template in `resources/`.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ It became unexpectedly popular when I shared the [CLAUDE.md file](claude/.claude
3535

3636
This repository now serves two purposes:
3737

38-
1. **[CLAUDE.md](claude/.claude/CLAUDE.md)** + **[Skills](claude/.claude/skills/)** + **[Ten specialized agents](claude/.claude/agents/)** + **[Five slash commands](claude/.claude/commands/)** - Development guidelines, 27 auto-discovered skill patterns + 18 impeccable design skills from [pbakaus/impeccable](https://github.com/pbakaus/impeccable) + 6 web quality skills from [addyosmani/web-quality-skills](https://github.com/addyosmani/web-quality-skills) + 3 Next.js skills from [vercel-labs/next-skills](https://skills.sh/vercel-labs/next-skills) + the `grill-me` planning interview skill from [mattpocock/skills](https://skills.sh/mattpocock/skills/grill-me) + the `seo-audit` marketing skill from [coreyhaines31/marketingskills](https://skills.sh/coreyhaines31/marketingskills/seo-audit), and automated quality guidance (what most visitors want)
38+
1. **[CLAUDE.md](claude/.claude/CLAUDE.md)** + **[Skills](claude/.claude/skills/)** + **[Ten specialized agents](claude/.claude/agents/)** + **[Five slash commands](claude/.claude/commands/)** - Development guidelines, 28 auto-discovered skill patterns + 18 impeccable design skills from [pbakaus/impeccable](https://github.com/pbakaus/impeccable) + 6 web quality skills from [addyosmani/web-quality-skills](https://github.com/addyosmani/web-quality-skills) + 3 Next.js skills from [vercel-labs/next-skills](https://skills.sh/vercel-labs/next-skills) + the `grill-me` planning interview skill from [mattpocock/skills](https://skills.sh/mattpocock/skills/grill-me) + the `seo-audit` marketing skill from [coreyhaines31/marketingskills](https://skills.sh/coreyhaines31/marketingskills/seo-audit), and automated quality guidance (what most visitors want)
3939
2. **Personal dotfiles** - My shell configs, git aliases, and tool configurations (what this repo was originally for)
4040

4141
**Most people are here for CLAUDE.md and the agents.** This README focuses primarily on those, with [dotfiles coverage at the end](#-personal-dotfiles-the-original-purpose).
@@ -188,6 +188,7 @@ Skills are **auto-discovered** by Claude when relevant:
188188
- Changing code with no tests? → `characterisation-tests` skill documents existing behavior
189189
- Building a UI? → `impeccable` skill loads design methodology and anti-slop patterns
190190
- Stress-testing a plan or design? → `grill-me` asks one question at a time and recommends answers
191+
- Need a second opinion on finished work? → `double-check` spins up a *different* AI provider's CLI agent (codex/claude/gemini/cursor-agent) and argues it out until both agents agree
191192

192193
### Scope-to-Implementation Flow
193194

@@ -1408,7 +1409,7 @@ Both patterns resolve to the same content on disk, so the first `--agent codex`
14081409
**What gets installed:**
14091410
-`~/.claude/CLAUDE.md` (~160 lines - lean core principles)
14101411
-`~/.claude/skills/` — installed via [skills.sh](https://skills.sh) (`npx skills add`):
1411-
- [citypaul/.dotfiles](https://skills.sh/citypaul/.dotfiles)27 auto-discovered patterns (tdd, testing, mutation-testing, typescript-strict, functional, refactoring, planning, story-splitting, front-end-testing, react-testing, and more)
1412+
- [citypaul/.dotfiles](https://skills.sh/citypaul/.dotfiles)28 auto-discovered patterns (tdd, testing, mutation-testing, typescript-strict, functional, refactoring, planning, story-splitting, front-end-testing, react-testing, and more)
14121413
- [pbakaus/impeccable](https://skills.sh/pbakaus/impeccable) — frontend design vocabulary + 17 steering commands
14131414
- [addyosmani/web-quality-skills](https://skills.sh/addyosmani/web-quality-skills) — accessibility, performance, SEO, core-web-vitals, best-practices, web-quality-audit
14141415
- [vercel-labs/next-skills](https://skills.sh/vercel-labs/next-skills) — Next.js best practices, Cache Components, and upgrade workflow
@@ -1661,7 +1662,7 @@ This gives you the complete guidelines (1,818 lines) in a single standalone file
16611662

16621663
### Version Note: v1.0.0 vs v2.0.0 vs v3.0.0
16631664

1664-
**Current version (v3.0.0):** Skills-based architecture with lean CLAUDE.md (~160 lines) + 27 auto-discovered skills + 5 slash commands + planning workflow
1665+
**Current version (v3.0.0):** Skills-based architecture with lean CLAUDE.md (~160 lines) + 28 auto-discovered skills + 5 slash commands + planning workflow
16651666

16661667
**Previous version (v2.0.0):** Modular structure with main file (156 lines) + 6 detailed docs loaded via @imports (~3000+ lines total)
16671668

@@ -1684,7 +1685,7 @@ The installer pulls `CLAUDE.md`, slash commands, and Claude-Code agents from the
16841685
## 📚 Documentation
16851686

16861687
- **[CLAUDE.md](claude/.claude/CLAUDE.md)** - Core development principles (~160 lines)
1687-
- **[Skills](claude/.claude/skills/)** - Auto-discovered patterns. 27 from this repo, 6 from [addyosmani/web-quality-skills](https://github.com/addyosmani/web-quality-skills), 3 from [vercel-labs/next-skills](https://skills.sh/vercel-labs/next-skills), 17 from [pbakaus/impeccable](https://github.com/pbakaus/impeccable), `grill-me` from [mattpocock/skills](https://skills.sh/mattpocock/skills/grill-me), and `seo-audit` from [coreyhaines31/marketingskills](https://skills.sh/coreyhaines31/marketingskills/seo-audit) — all installed via [skills.sh](https://skills.sh) for multi-agent portability.
1688+
- **[Skills](claude/.claude/skills/)** - Auto-discovered patterns. 28 from this repo, 6 from [addyosmani/web-quality-skills](https://github.com/addyosmani/web-quality-skills), 3 from [vercel-labs/next-skills](https://skills.sh/vercel-labs/next-skills), 17 from [pbakaus/impeccable](https://github.com/pbakaus/impeccable), `grill-me` from [mattpocock/skills](https://skills.sh/mattpocock/skills/grill-me), and `seo-audit` from [coreyhaines31/marketingskills](https://skills.sh/coreyhaines31/marketingskills/seo-audit) — all installed via [skills.sh](https://skills.sh) for multi-agent portability.
16881689
- **[Commands](claude/.claude/commands/)** - Slash commands (/setup, /pr, /plan, /continue, /generate-pr-review)
16891690
- **[Agents README](claude/.claude/agents/README.md)** - Detailed agent documentation with examples
16901691
- **[Agent Definitions](claude/.claude/agents/)** - Individual agent configuration files (10 agents: tdd-guardian, ts-enforcer, refactor-scan, docs-guardian, learn, progress-guardian, adr, pr-reviewer, use-case-data-patterns, twelve-factor-audit)
@@ -1861,7 +1862,7 @@ cd ~/.dotfiles
18611862
```
18621863

18631864
This will install:
1864-
- ✅ CLAUDE.md + skills (27 from this repo plus external skill bundles) + 10 agents (development guidelines)
1865+
- ✅ CLAUDE.md + skills (28 from this repo plus external skill bundles) + 10 agents (development guidelines)
18651866
- ✅ Commands (/setup, /pr, /plan, /continue, /generate-pr-review slash commands)
18661867
- ✅ Claude Code settings.json (plugins, hooks, statusline)
18671868
- ✅ OpenCode configuration (guidelines plus built-in LSP servers, including TypeScript)

claude/.claude/CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
>
55
> **Architecture:**
66
> - **CLAUDE.md** (this file): Core philosophy + quick reference (~160 lines, always loaded)
7-
> - **Skills**: Detailed patterns loaded on-demand (tdd, testing, mutation-testing, test-design-reviewer, typescript-strict, functional, refactoring, expectations, planning, story-splitting, front-end-testing, react-testing, ci-debugging, hexagonal-architecture, domain-driven-design, twelve-factor, api-design, cli-design, folder-structure, finding-seams, characterisation-tests, production-parity-skill-builder, storyboard, teach-me, diagrams, find-skills, find-gaps)
7+
> - **Skills**: Detailed patterns loaded on-demand (tdd, testing, mutation-testing, test-design-reviewer, typescript-strict, functional, refactoring, expectations, planning, story-splitting, front-end-testing, react-testing, ci-debugging, hexagonal-architecture, domain-driven-design, twelve-factor, api-design, cli-design, folder-structure, finding-seams, characterisation-tests, production-parity-skill-builder, storyboard, teach-me, diagrams, find-skills, find-gaps, double-check)
88
> - **External skills**: Loaded on-demand from community repos (impeccable + 17 steering commands from [pbakaus/impeccable](https://github.com/pbakaus/impeccable), 6 web quality skills from [addyosmani/web-quality-skills](https://github.com/addyosmani/web-quality-skills), 3 Next.js skills from [vercel-labs/next-skills](https://skills.sh/vercel-labs/next-skills), grill-me from [mattpocock/skills](https://skills.sh/mattpocock/skills/grill-me), seo-audit from [coreyhaines31/marketingskills](https://skills.sh/coreyhaines31/marketingskills/seo-audit))
99
> - **Agents**: Specialized subprocesses for verification and analysis
1010
>
@@ -112,6 +112,7 @@ For structured learning of any topic (interactive tutoring, courses, quizzes, re
112112
For discovering and installing agent skills from the open ecosystem (`npx skills`), load the `find-skills` skill.
113113
For adversarial review of plans, acceptance criteria, stories, or design mocks — one question at a time, turning each answer into a new AC / plan paragraph / mock-state spec written back to the source of truth — load the `find-gaps` skill.
114114
For relentless decision-tree interrogation before story splitting, planning, or implementation — one question at a time, with recommended answers and codebase exploration where useful — load the `grill-me` skill.
115+
For an independent second opinion on finished work — spinning up a *different* AI provider's CLI agent (codex/claude/gemini/cursor-agent) at its best model and effort, then arguing constructively until both agents genuinely agree — load the `double-check` skill.
115116

116117
**Project onboarding:** Run `/setup` in any new project to detect its tech stack and generate project-level CLAUDE.md, hooks, commands, and PR review agent in one shot. This replaces the need for `/init`.
117118

0 commit comments

Comments
 (0)