By hculap
Parallel performance analysis tool that identifies N+1 queries, inefficient APIs, and suboptimal code patterns across your entire application stack
Analyze API endpoints, REST/GraphQL design, and client-server communication for over-fetching, missing pagination, or inefficient endpoint design. Use when user asks about API performance or runs /n1-optimizer:analyze.
Analyze backend services, business logic, and server-side code for inefficient algorithms, blocking operations, or unnecessary computations. Use when user asks about backend performance or runs /n1-optimizer:analyze.
Analyze database queries, ORM usage, and data access patterns for N+1 queries, missing indexes, or inefficient JOINs. Use when user asks about database performance or runs /n1-optimizer:analyze.
Analyze frontend code for unnecessary re-renders, large bundle sizes, missing memoization, or inefficient component patterns. Use when user asks about frontend/React/Vue performance or runs /n1-optimizer:analyze.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude Code plugins that enforce code quality practices: TDD workflows, performance analysis, and documentation standards.
Status: Active | Documentation | Issues | Changelog
| Plugin | Version | Purpose |
|---|---|---|
| tdd-dev | 0.2.1 | Enforce Red→Green→Refactor TDD cycles |
| n1-optimizer | 0.1.3 | Detect N+1 queries and performance issues |
| readme-writer | 0.1.0 | Generate/audit READMEs with PRD-README v1 |
| doc-master | 0.2.1 | 9 specialized documentation agents |
Prerequisites: Claude Code CLI installed
Step 1: Add the marketplace
/plugin marketplace add hculap/better-code
Output:
Successfully added marketplace: better-code
Step 2: Install a plugin
/plugin install tdd-dev
Output:
Installed plugin: tdd-dev
Step 3: Use the plugin
/tdd-dev:start
Output:
TDD Dev Mode: ACTIVE
Configuration:
Strictness: strict
Test Command: npm test
That's it! You're now coding with TDD enforcement.
Enforces writing tests before implementation code.
/tdd-dev:start # Enable TDD mode
/tdd-dev:feature "add auth" # Implement feature with TDD
/tdd-dev:bug "fix #123" # Fix bug with regression test first
/tdd-dev:refactor # Safe refactoring verified by tests
/tdd-dev:stop # Disable TDD mode
Strictness levels: strict (tests required), standard (tests encouraged), relaxed (minimal enforcement)
Runs 4 parallel agents to analyze your codebase for performance issues.
/n1-optimizer:analyze
Output:
Analysis Complete
Database Layer: 3 issues found
HIGH: N+1 query in UserService.getOrders() - src/services/user.ts:45
Backend Layer: 1 issue found
MEDIUM: Sequential awaits could be parallelized - src/api/reports.ts:23
Frontend Layer: 2 issues found
HIGH: Missing React.memo on ExpensiveList - src/components/List.tsx:12
API Layer: 1 issue found
MEDIUM: Missing pagination on /api/products - src/routes/products.ts:8
| Agent | 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 |
Generate or audit READMEs following the PRD-README v1 standard.
/readme-writer:generate # Generate README from codebase analysis
/readme-writer:audit # Score existing README (0-10)
Audit output:
README Audit Score: 7/10
✓ Test 1: What is it? - PASS
✓ Test 2: Is it maintained? - PASS
✗ Test 3: Quickstart works - FAIL (missing expected output)
...
9 specialized agents for comprehensive documentation.
/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
| Agent | Focus |
|---|---|
| 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 |
Full documentation available in docs/:
Contributions welcome! Please open an issue first to discuss proposed changes.
Quick steps:
See individual plugin READMEs for plugin-specific guidance.
npx claudepluginhub hculap/better-code --plugin n1-optimizerComprehensive documentation toolkit with specialized agents for bulletproof software documentation across backend, frontend, API, database, architecture, tests, user guides, compliance, and mobile domains.
Enforce practical code quality standards with concrete rules of thumb for file sizes, function lengths, complexity, and best practices
Generate and audit perfect READMEs using the PRD-README v1 standard
Transform Claude Code into a strict TDD practitioner that enforces Red→Green→Refactor cycles
Use this agent for comprehensive performance testing, profiling, and optimization recommendations. This agent specializes in measuring speed, identifying bottlenecks, and providing actionable optimization strategies for applications. Examples:\n\n<example>\nContext: Application speed testing
AI-powered performance optimization - Interactive performance audit skill and automated agent with comprehensive bottleneck detection and optimization
Turn on Godmode for Claude Code. 126 skills. 7 subagents. Zero configuration.
Performance analysis, profiling, and optimization recommendations
24 parallel audit agents + 6 workflow skills for Claude Code. Complete E2E development workflow for solo devs.
Get comprehensive performance optimization recommendations