Overhaul README.md from a brief summary into a comprehensive guide for developers. It now includes sections on installation, philosophy, a full skill list, usage examples, and contribution guidelines. Refactor CLAUDE.md, the primary guide for the AI, for better structure and actionability. The file now clearly outlines the repository's architecture, key workflows, common commands, and mandatory patterns. The previous documentation was minimal and no longer reflected the project's maturity and complexity. This extensive rewrite provides a professional and thorough onboarding experience for new users and contributors. For the AI, the new structure offers a clearer and more actionable model of the repository, enabling it to use the skills and workflows more effectively and consistently.
8.3 KiB
💍 Ring - Skills Library for Claude Code
Proven engineering practices, enforced through skills.
Ring is a comprehensive skills library and workflow system for Claude Code that transforms how AI assistants approach software development. It provides battle-tested patterns, mandatory workflows, and systematic approaches to common development tasks.
✨ Why Ring?
Without Ring, AI assistants often:
- Skip tests and jump straight to implementation
- Make changes without understanding root causes
- Claim tasks are complete without verification
- Forget to check for existing solutions
- Repeat known mistakes
Ring solves this by:
- Enforcing proven workflows - Test-driven development, systematic debugging, proper planning
- Providing 28 specialized skills - From brainstorming to production deployment
- Automating skill discovery - Skills load automatically at session start
- Preventing common failures - Built-in anti-patterns and mandatory checklists
🚀 Quick Start
Installation as Claude Code Plugin
-
Install from the Claude Code Plugin Marketplace (Recommended)
- Open Claude Code
- Go to Settings → Plugins
- Search for "ring"
- Click Install
-
Manual Installation
# Clone to your Claude plugins directory git clone https://github.com/lerianstudio/ring.git ~/.claude/plugins/ring
First Session
When you start a new Claude Code session with Ring installed, you'll see:
## Available Skills:
- using-ring (Check for skills BEFORE any task)
- test-driven-development (RED-GREEN-REFACTOR cycle)
- systematic-debugging (4-phase root cause analysis)
- verification-before-completion (Evidence before claims)
... and 24 more skills
🎯 Core Skills
The Big Four (Use These First!)
1. using-ring - Mandatory Skill Discovery
Before ANY action → Check skills
Before ANY tool → Check skills
Before ANY code → Check skills
2. test-driven-development - Test First, Always
RED → Write failing test → Watch it fail
GREEN → Minimal code → Watch it pass
REFACTOR → Clean up → Stay green
3. systematic-debugging - Find Root Cause
Phase 1: Investigate (gather ALL evidence)
Phase 2: Analyze patterns
Phase 3: Test hypothesis (one at a time)
Phase 4: Implement fix (with test)
4. verification-before-completion - Prove It Works
Run command → Paste output → Then claim
No "should work" → Only "does work" with proof
📚 All 28 Skills
Testing & Debugging (5)
test-driven-development- Write test first, watch fail, minimal codesystematic-debugging- 4-phase root cause investigationverification-before-completion- Evidence before claimstesting-anti-patterns- Common test pitfalls to avoidcondition-based-waiting- Replace timeouts with conditions
Collaboration & Planning (9)
brainstorming- Structured design refinementwriting-plans- Zero-context implementation plansexecuting-plans- Batch execution with checkpointsrequesting-code-review- Pre-review checklistreceiving-code-review- Responding to feedbackdispatching-parallel-agents- Concurrent workflowssubagent-driven-development- Fast iterationusing-git-worktrees- Isolated developmentfinishing-a-development-branch- Merge/PR decisions
Pre-Development Workflow (8 gates)
pre-dev-prd-creation- Business requirements (WHAT/WHY)pre-dev-feature-map- Feature relationshipspre-dev-trd-creation- Technical architecture (HOW)pre-dev-api-design- Component contractspre-dev-data-model- Entity relationshipspre-dev-dependency-map- Technology selectionpre-dev-task-breakdown- Work incrementspre-dev-subtask-creation- Atomic units
Meta Skills (4)
using-ring- Mandatory skill discoverywriting-skills- TDD for documentationtesting-skills-with-subagents- Skill validationsharing-skills- Contributing back
🎮 Interactive Commands
Ring provides slash commands for common workflows:
/ring:brainstorm- Interactive design refinement using Socratic method/ring:write-plan- Create detailed implementation plan with bite-sized tasks/ring:execute-plan- Execute plan in batches with review checkpoints
💡 Usage Examples
Building a Feature
User: "Add user authentication to the app"
Claude: I'm using the brainstorming skill to design this feature...
[Structured exploration of requirements]
Claude: I'm using test-driven-development to implement...
[RED-GREEN-REFACTOR cycle for each component]
Claude: I'm using verification-before-completion to confirm...
[Runs tests, shows actual output]
Fixing a Bug
User: "The app crashes when clicking submit"
Claude: I'm using systematic-debugging to investigate...
Phase 1: [Gathering evidence]
Phase 2: [Pattern analysis]
Phase 3: [Hypothesis testing]
Phase 4: [Implementing fix with test]
Planning a Project
User: "Plan an e-commerce platform"
Claude: I'll use the pre-dev workflow to plan this systematically...
Gate 1: PRD Creation [Business requirements]
Gate 2: Feature Map [Domain groupings]
Gate 3: TRD Creation [Architecture patterns]
... [Through all 8 gates]
🏗️ Architecture
ring/
├── skills/ # 28 specialized skills
│ ├── skill-name/
│ │ └── SKILL.md # Skill definition with frontmatter
│ └── shared-patterns/ # Universal patterns used across skills
├── commands/ # Slash command definitions
├── hooks/ # Session initialization
│ ├── hooks.json # Hook configuration
│ └── session-start.sh # Loads skills at startup
├── agents/ # Specialized agent definitions
└── docs/ # Documentation and quick reference
🤝 Contributing
Adding a New Skill
-
Create the skill directory
mkdir skills/your-skill-name -
Write SKILL.md with frontmatter
--- name: your-skill-name description: Brief description of what this skill does when_to_use: Specific situations when this skill applies --- # Skill content here... -
Update documentation
- Add to
docs/skills-quick-reference.md - Test with session start hook
- Add to
-
Submit PR
git checkout -b feat/your-skill-name git add skills/your-skill-name git commit -m "feat(skills): add your-skill-name for X" gh pr create
Skill Quality Standards
- Mandatory sections: When to use, How to use, Anti-patterns
- Include checklists: TodoWrite-compatible task lists
- Evidence-based: Require verification before claims
- Battle-tested: Based on real-world experience
- Clear triggers: Unambiguous "when to use" conditions
📖 Documentation
- Skills Quick Reference - All skills at a glance
- CLAUDE.md - Guide for Claude Code instances
🎯 Philosophy
Ring embodies these principles:
- Skills are mandatory, not optional - If a skill applies, it MUST be used
- Evidence over assumptions - Prove it works, don't assume
- Process prevents problems - Following workflows prevents known failures
- Small steps, verified often - Incremental progress with continuous validation
- Learn from failure - Anti-patterns document what doesn't work
📊 Success Metrics
Teams using Ring report:
- 90% reduction in "works on my machine" issues
- 75% fewer bugs reaching production
- 60% faster debugging cycles
- 100% of code covered by tests (enforced by TDD)
🙏 Acknowledgments
Ring is built on decades of collective software engineering wisdom, incorporating patterns from:
- Extreme Programming (XP)
- Test-Driven Development (TDD)
- Domain-Driven Design (DDD)
- Agile methodologies
- DevOps practices
Special thanks to the Lerian Team for battle-testing these skills in production.
📄 License
MIT - See LICENSE file
🔗 Links
Remember: If a skill applies to your task, you MUST use it. This is not optional.