A collection of Claude Code skills and tools for enhanced development workflows.
ai-debate-hub/
βββ skills/ # Claude Code skills
β βββ debate/ # Three-way debate skill
β βββ validation/ # Comprehensive app validation skill
βββ tools/ # Reusable tools and frameworks
β βββ retrospective-learning.md
β βββ RETROSPECTIVE-LEARNING-INTEGRATION-GUIDE.md
β βββ sample/ # Reference implementations
β βββ feature-validation-SKILL.md
β βββ report-template.html
βββ debates/ # Generated debate transcripts
βββ tests/ # Test files
Location: skills/debate/
Purpose: Three-way debates between Claude, Gemini CLI, and OpenAI Codex CLI
Claude is both a participant and moderator, contributing its own analysis alongside other AI advisors. Enables multi-round discussions where all three systems analyze problems independently and converge on recommendations through genuine debate.
Key Features:
- Multi-round debates (1-10 rounds configurable)
- Session persistence across rounds
- Multiple debate styles: quick, thorough, adversarial, collaborative
- Automatic synthesis of perspectives
- Web viewer for debate visualization
Usage:
/debate Should we use Redis or in-memory cache for our session store?
/debate -r 3 -d thorough Review our authentication implementationLocation: skills/validation/
Purpose: Comprehensive web app validation with REAL browser testing and evidence-based reporting
Automatically discovers and tests ALL interactive elements in your web application across 4 breakpoints (mobile, tablet, laptop, desktop). Tests with actual browser interactions, not just static analysis.
Key Features:
- Comprehensive discovery - Finds every button, link, form, and input
- Real verification - Clicks elements and verifies outcomes actually happened
- Screenshot analysis - Captures AND analyzes screenshots at each breakpoint
- Console error checking - Checks for JavaScript errors after every interaction
- Session persistence - Resume testing across context resets without losing progress
- HTML reports - Persistent, evidence-based reports with screenshots
- Automatic cleanup - Removes test artifacts after validation
Typical workflow:
- PRE-FLIGHT: Verify dev server is running
- DISCOVER: Find all routes, elements, and critical flows
- TEST: Test each element at all breakpoints with verification
- REPORT: Generate HTML report with evidence
Usage:
/validate http://localhost:3000
/validate --resume # Resume from previous state
/validate --fresh # Start fresh validationOutput: Persistent HTML reports in test-manifest/reports/ with:
- Screenshots for every element at every breakpoint
- Console errors found during testing
- Passed/failed tests with evidence
- UI issues identified
Location: tools/sample/feature-validation-SKILL.md
Purpose: Reference implementation showing retrospective learning integration
This is an example skill demonstrating how retrospective learning has been integrated into a real-world validation skill. It includes:
- Phase 1: Trigger capture (reads session transcript)
- Phases 2-9: Feature testing workflow
- Phase 10: Retrospective (evidence-based self-evaluation)
Use this as a reference when integrating retrospective learning into your own skills.
Report Template: tools/sample/report-template.html
Location: tools/retrospective-learning.md
Purpose: Enables skills to learn from execution through evidence-based retrospectives
A reusable module that adds self-evaluation and learning capabilities to any skill by:
- Capturing trigger context - Documents why the skill was invoked
- Tracking execution - Records all actions during execution
- Performing retrospectives - Evaluates performance against original intent with session transcript evidence
Key Benefits:
- Skills learn from mistakes through line-cited evidence
- User corrections are documented as lessons
- Skill improvements suggested based on actual execution
- Works with large session transcripts (> 256KB handled correctly)
Features:
- Cross-platform (Windows/macOS/Linux)
- Size-aware transcript reading
- Evidence-based self-assessment
- Skill improvement recommendations
Location: tools/RETROSPECTIVE-LEARNING-INTEGRATION-GUIDE.md
Purpose: Step-by-step guide for adding retrospective learning to your skills
A practical guide showing how to integrate the retrospective learning module into existing skills with minimal changes.
What it provides:
- Copy-paste prompt template for Claude
- Real before/after example (353 β 528 lines, +49%)
- Section-by-section breakdown of what gets added
- Verification checklist to ensure correct integration
- Troubleshooting for common failures (rewrites, missing content)
- Actual diff showing feature-validation integration
Quick Start:
Backup my SKILL.md with timestamp, then apply retrospective-learning.md to it.
CRITICAL:
- Create backup: SKILL.md.backup-{timestamp}
- Modify SKILL.md directly
- DO NOT rewrite existing content
- ONLY add Phase 1 trigger capture + final phase retrospective
- Renumber phases correctly
- Line count should increase ~40-60% (not double)
Use feature-validation-SKILL.md as reference.
[Full Integration Guide β](tools/RETROSPECTIVE LEARNING-INTEGRATION-GUIDE.md)
git clone https://github.com/wolverin0/ai-debate-hub.git
cd ai-debate-hubCopy skills to your Claude Code skills directory:
# Debate skill
cp -r skills/debate ~/.claude/skills/
# Validation skill
cp -r skills/validation ~/.claude/skills/
# Or link instead of copy
ln -s $(pwd)/skills/debate ~/.claude/skills/debate
ln -s $(pwd)/skills/validation ~/.claude/skills/validationDebate skill:
# Basic usage
/debate Should we implement feature X?
# With options
/debate -r 3 -d thorough Review our API designValidation skill:
# Basic usage
/validate http://localhost:3000
# With options
/validate --resume # Resume from previous validation
/validate --fresh # Start freshFollow the [Retrospective Learning Integration Guide](tools/RETROSPECTIVE LEARNING-INTEGRATION-GUIDE.md) to add self-evaluation capabilities to your own skills.
The debate skill generates a web-based viewer for visualizing debates:
cd debates
python -m http.server 8000
# Open http://localhost:8000/viewer.htmlViewer features:
- Side-by-side round comparison (all 3 participants)
- Synthesis view (final recommendations)
- Full chronological transcript
- State/metadata debug view
- Claude Code CLI
- Gemini CLI -
npm install -g @google/gemini-cli - OpenAI Codex CLI -
npm install -g openai-codex
- Claude Code CLI
- Claude-in-Chrome MCP Extension - Browser automation via MCP
- Running web application (dev server or static site)
- Claude Code (already required for skills)
- Session transcripts must be accessible at
~/.claude/projects/{project-slug}/*.jsonl
- Debate Skill Documentation - Full debate skill usage guide
- Validation Skill Documentation - Comprehensive app validation guide
- Feature Validation Example - Reference implementation with retrospective learning
- Retrospective Learning Module - Technical documentation for the retrospective learning module
- Integration Guide - How to add retrospective learning to your skills
Before integration:
## Phase 1: Analyze Implementation
git diff --name-only HEAD~5
## Phase 2: Plan Test Scenarios
...
## Phase 9: Generate HTML ReportAfter integration (+175 lines, +49%):
## π¨ CRITICAL BLOCKERS
You MUST read session transcript before and after execution
## Phase 1: Analyze Implementation
**π¨ MANDATORY: Identify Trigger Context from Session Transcript**
[80 lines of trigger capture instructions]
git diff --name-only HEAD~5
## Phase 2-9: [Original content, renumbered]
...
## Phase 10: Retrospective & Learning
**π¨ MANDATORY: Read Session Transcript for Evidence-Based Retrospective**
[80 lines of self-evaluation instructions with line citations]Result: Skill now captures why it was invoked, tracks actions, and performs evidence-based retrospectives citing actual transcript line numbers.
Contributions welcome! Areas of interest:
- New debate styles or moderator modes
- Additional skills with retrospective learning integration
- Improvements to retrospective learning module
- Better visualization in debate viewer
- Bug fixes and documentation improvements
To contribute:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - See LICENSE file for details
- Repository: github.com/wolverin0/ai-debate-hub
- Issues: Report bugs or request features
- Claude Code: anthropics/claude-code
- v1.0.0 - Initial release
- Debate skill with three-way participation
- Auto-healing module and integration guide
- Feature validation reference implementation
- Web-based debate viewer
Built with Claude Code Demonstrating self-improving skills through retrospective learning and collaborative AI debate.