π Better Code with Claude: 4 AI-Powered Plugins for Code Quality
I'm excited to announce better-code (v0.1.0) - a curated collection of Claude Code plugins designed to enforce code quality practices, TDD workflows, performance analysis, and documentation standards.
Why I Built This
As developers, we often struggle with:
- π Enforcing TDD discipline across teams
- π’ Missing performance bottlenecks until production
- π Outdated or missing documentation
- π― Maintaining consistent code quality
I built better-code to solve these problems using Claude Code's plugin system.
What's Inside? π¦
π§ͺ tdd-dev (v0.2.1)
Enforce RedβGreenβRefactor TDD Cycles
Tired of tests being an afterthought? This plugin enforces writing tests before implementation.
Features:
- Multiple strictness levels: strict, standard, relaxed
- Supports features, bugs, and refactoring modes
- Real-time feedback on TDD compliance
/tdd-dev:start # Enable TDD mode
/tdd-dev:feature "add auth" # Write feature with TDD
/tdd-dev:bug "fix #123" # Fix bug with regression test first
β‘ n1-optimizer (v0.1.3)
Detect N+1 Queries & Performance Issues
4 parallel agents analyze your codebase across different layers:
What it detects:
- ποΈ Database: N+1 queries, missing indexes, unbatched writes
- π§ Backend: O(nΒ²) algorithms, blocking I/O, memory issues
- π¨ Frontend: Re-render loops, large bundles, missing memoization
- π API: Over-fetching, missing pagination, chatty endpoints
Catches performance issues before they hit production!
/n1-optimizer:analyze
Example Output:
Analysis Complete
Database Layer: 3 issues found
HIGH: N+1 query in UserService.getOrders()
Backend Layer: 1 issue found
MEDIUM: Sequential awaits could be parallelized
Frontend Layer: 2 issues found
HIGH: Missing React.memo on ExpensiveList
API Layer: 1 issue found
MEDIUM: Missing pagination on /api/products
π readme-writer (v0.1.0)
Generate Professional READMEs
Follows PRD-README v1 standard with automated scoring (0-10):
/readme-writer:generate # Generate README from codebase analysis
/readme-writer:audit # Score existing README (0-10)
Audit Score: 7/10 β Test 1: What is it? - PASS β Test 2: Is it maintained? - PASS β Test 3: Quick start works
π doc-master (v0.2.1)
9 Specialized Documentation Agents
DiΓ‘taxis-structured documentation covering:
/doc-master:setup # Choose framework (DiΓ‘taxis/Traditional/Custom)
/doc-master:generate "API" # Generate API documentation
/doc-master:audit # Audit existing docs
/doc-master:plan # Create documentation plan
Agents include:
- api-docs: REST/GraphQL endpoints, schemas
- backend-docs: Services, data flows, deployment
- frontend-docs: Components, state management
- database-docs: Schema, migrations, ER diagrams
- architecture-docs: System design, ADRs
- test-docs: Test strategy, coverage
- user-guide-docs: Tutorials, help articles
- compliance-docs: Security, audit, regulatory
- mobile-docs: iOS/Android, app stores
Quick Start β‘
# 1. Add the marketplace
/plugin marketplace add hculap/better-code
# 2. Install your first plugin
/plugin install tdd-dev
# 3. Use it!
/tdd-dev:start
That's it! You're now enforcing TDD in your workflow.
Real-World Impact
These plugins help teams:
β
Ship fewer bugs by catching performance issues early
β
Maintain better documentation (always in sync)
β
Enforce testing discipline across the team
β
Onboard new developers faster
β
Scale code quality across larger projects
Getting Started
GitHub Repository: https://github.com/hculap/better-code
- Full documentation at
/docs - Report bugs or request features via Issues
- Join discussions for questions & feedback
Installation:
- Have Claude Code installed
- Run:
/plugin marketplace add hculap/better-code - Install any plugin you want:
/plugin install tdd-dev
What's Next?
I'm actively developing more plugins for:
- API contract testing
- Security scanning
- Database migration validation
- Component testing strategies
Community & Feedback
This is just the beginning! I'd love to hear:
- π¬ Your feedback on the plugins
- π Bug reports
- π‘ Feature requests
- π€ Community contributions
Drop by the GitHub Discussions to share your thoughts and stay updated on what's coming next!
Have you tried Claude Code plugins before? What would you like to see in developer tools? Drop a comment below! π
Top comments (0)