hculap/better-code
hculap/better-code · 2 stars · 5 plugins
Marketplace A curated collection of Claude Code plugins for code quality and developer productivity
Install
/plugin marketplace add hculap/better-codeRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 5
After adding the marketplace, install one with /plugin install <name>@better-code.
- 1tdd-devTransform Claude Code into a strict TDD practitioner that enforces Red→Green→Refactor cycles
/plugin install tdd-dev@better-code - 2n1-optimizerParallel performance analysis tool that identifies N+1 queries, inefficient APIs, and suboptimal code patterns
/plugin install n1-optimizer@better-code - 3readme-writerGenerate and audit perfect READMEs using the PRD-README v1 standard
/plugin install readme-writer@better-code - 4doc-masterComprehensive documentation toolkit with specialized agents for bulletproof software documentation
/plugin install doc-master@better-code - 5code-standardsEnforce practical code quality standards with concrete rules of thumb for file sizes, function lengths, complexity, and best practices
/plugin install code-standards@better-code
Files
better-code
Claude Code plugins that enforce code quality practices: TDD workflows, performance analysis, and documentation standards.
Status: Active | Documentation | Issues | Changelog
What's Included
| Plugin | Version | Purpose |
|---|---|---|
| tdd-dev | 0.2.2 | Enforce Red→Green→Refactor TDD cycles |
| n1-optimizer | 0.1.3 | Detect N+1 queries and performance issues |
| readme-writer | 0.1.1 | Generate/audit READMEs with PRD-README v1 |
| doc-master | 0.2.2 | 9 specialized documentation agents |
| code-standards | 0.1.0 | Enforce code quality rules of thumb (file size, function length, complexity) |
Quick Start
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.
Usage
tdd-dev: Test-Driven Development
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)
n1-optimizer: Performance Analysis
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 |
readme-writer: README Generation
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)
...
doc-master: Documentation Toolkit
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 |
Documentation
Full documentation available in docs/:
- Getting Started Tutorial
- Configuration Reference
- TDD Commands Reference
- Performance Patterns Reference
Contributing
Contributions welcome! Please open an issue first to discuss proposed changes.
Quick steps:
- Fork the repository
- Create a feature branch
- Make your changes
- Open a pull request
See individual plugin READMEs for plugin-specific guidance.
Support
- Questions: Open a discussion
- Bugs: File an issue
- Feature requests: File an issue
When reporting bugs, include:
- Plugin name and version
- Claude Code version
- Steps to reproduce
- Expected vs actual behavior
Security
To report security vulnerabilities, please email the maintainer directly rather than opening a public issue.
Author
Made by Szymon Paluch, who builds AI systems that run in production. He also made Workflow Studio, a dashboard and no-code builder for Claude Code Workflow runs.
License
MIT License - see LICENSE for details.
Copyright (c) 2024 Szymon Paluch
{
"name": "better-code",
"owner": {
"name": "Szymon Paluch"
},
"description": "A curated collection of Claude Code plugins for code quality and developer productivity",
"plugins": [
{
"name": "tdd-dev",
"source": "./plugins/tdd-dev",
"description": "Transform Claude Code into a strict TDD practitioner that enforces Red→Green→Refactor cycles",
"version": "0.2.2",
"author": {
"name": "Szymon Paluch"
},
"repository": "https://github.com/hculap/better-code",
"license": "MIT",
"keywords": [
"tdd",
"test-driven-development",
"testing",
"red-green-refactor",
"quality"
]
},
{
"name": "n1-optimizer",
"source": "./plugins/n1-optimizer",
"description": "Parallel performance analysis tool that identifies N+1 queries, inefficient APIs, and suboptimal code patterns",
"version": "0.1.3",
"author": {
"name": "Szymon Paluch"
},
"repository": "https://github.com/hculap/better-code",
"license": "MIT",
"keywords": [
"performance",
"n+1",
"optimization",
"database",
"api",
"analysis"
]
},
{
"name": "readme-writer",
"source": "./plugins/readme-writer",
"description": "Generate and audit perfect READMEs using the PRD-README v1 standard",
"version": "0.1.1",
"author": {
"name": "Szymon Paluch"
},
"repository": "https://github.com/hculap/better-code",
"license": "MIT",
"keywords": [
"readme",
"documentation",
"prd-readme",
"developer-experience"
]
},
{
"name": "doc-master",
"source": "./plugins/doc-master",
"description": "Comprehensive documentation toolkit with specialized agents for bulletproof software documentation",
"version": "0.2.2",
"author": {
"name": "Szymon Paluch"
},
"repository": "https://github.com/hculap/better-code",
"license": "MIT",
"keywords": [
"documentation",
"diataxis",
"api-docs",
"technical-writing",
"software-docs"
]
},
{
"name": "code-standards",
"source": "./plugins/code-standards",
"description": "Enforce practical code quality standards with concrete rules of thumb for file sizes, function lengths, complexity, and best practices",
"version": "0.1.0",
"author": {
"name": "Szymon Paluch"
},
"repository": "https://github.com/hculap/better-code",
"license": "MIT",
"keywords": [
"code-quality",
"best-practices",
"clean-code",
"linting",
"refactoring",
"code-review"
]
}
]
}Facts
- Kind
- Marketplace
- Repo
- hculap/better-code
- Group
- Uncategorized
- Stars
- 2
- Marketplace name
- better-code
- Owner
- Szymon Paluch
- License
- MIT
- Language
- Shell
- Created
- 2025-12-17
- Last push
- 2026-10-09
- Forks
- 1
- Homepage
- szymonpaluch.com
- Topics
- ai-tools, claude-code, code-quality, dev-tools, documentation, plugins, tdd, testing
- Plugins
- 5