Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By smileynet
Code quality spice for Line Cook — decision frameworks, antipattern detection, refactoring patterns, tradeoff analysis, YAGNI guidance, dead code pruning, and plan auditing
npx claudepluginhub smileynet/line-cook --plugin code-spiceInteractive codebase pruning analysis — dead code, unused dependencies, speculative abstractions, scope boundaries, and prioritized removal plan
Generate a context-aware self-review checklist before code review
Structured code smell detection on recent changes
Systematic tradeoff analysis for design decisions
Antipattern catalog with categorized patterns, symptoms, examples, and fixes. Use when reviewing code for quality issues, detecting bad patterns during plan-audit or scope, evaluating whether a pattern is an antipattern or acceptable tradeoff, or fixing existing code smells. Covers surprise, misuse, complexity, and premature antipattern categories with severity classification.
Naming decisions for variables, functions, classes, constants, and APIs. Use when choosing names, reviewing naming quality, refactoring unclear names, or establishing naming conventions. Covers descriptive naming, naming as documentation, language-specific conventions, and common naming antipatterns.
Plan quality auditing with completeness scorecard, antipattern risk detection, and readiness checks. Use when auditing implementation plans, evaluating plan completeness, checking error handling strategy, assessing naming and readability pre-checks, reviewing testing strategy, evaluating tradeoff documentation, or running plan-audit on a software project. Covers the 10-point completeness scorecard, code quality pre-checks, antipattern risk assessment, and build-readiness decision.
Dead code detection strategies, safe removal processes, dependency pruning, and bloat metrics for systematically reducing codebase dead weight. Use when evaluating codebase health during architecture-audit, performing cleanup during cook, reviewing unused dependencies, removing commented-out code, or measuring code bloat.
Code quality pillars, goals, abstraction layers, and tradeoff thinking. Use when evaluating code quality, setting quality goals, choosing abstraction levels, making design tradeoffs, or auditing code against quality pillars. Covers readability, modularity, testability, reusability, and the principle of least astonishment.
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Comprehensive guide to clean code, refactoring, SOLID principles, code review techniques, and code smell detection.
Full-spectrum design patterns skill: Detect anti-patterns, diagnose architectural debt, and generate production-ready refactored code. Covers GoF, SOLID, Clean Architecture, DDD, CQRS, Microservices, and Cloud patterns.
AI code reviews grounded in twelve classic engineering books — decay risk diagnostics with book citations, severity labels, and six analysis modes (PR review, architecture audit, tech debt, test quality, health dashboard, full-sweep auto-fix)
Claude Code Skill for Ruby code quality analysis with RubyCritic. Model-invoked - Claude autonomously analyzes code quality, identifies smells, and provides refactoring insights.
Code cleanup, refactoring automation, and technical debt management with context restoration
Code review, refactoring, linting, anti-pattern detection, and static analysis
Simple workflow orchestration for Claude Code sessions - mise, prep, cook, serve, tidy, plate, run
Game design spice for Line Cook — MLP scoping, core loop frameworks, economy design, difficulty curves, content planning, mechanics palette, playtesting, scenario walkthroughs, anti-patterns, architecture auditing, with interactive commands, code review agent, and implementation guidance
Real-world concepts from programming, education, and design — packaged as AI commands
Code quality spice for Line Cook — decision frameworks, antipattern detection, refactoring patterns, tradeoff analysis, YAGNI guidance, dead code pruning, plan auditing, and a code quality critic agent.
After installing Line Cook:
/plugin marketplace add smileynet/line-cook
/plugin install code@line-cook
/line:mise # Plan a project
Update: /plugin update code
Here's a scoping session with code-spice active. The skills inject code-quality-specific questions and frameworks automatically:
You: I need to add a payment processing module.
Claude: Let's think through the quality dimensions:
**What error handling strategy fits this module?** ← error-handling-patterns
Payments are critical — errors must be explicit.
┌──────────────────┬─────────────────────────────────┐
│ Exceptions │ Good for truly exceptional cases │
│ Result types │ Best for expected failures │
│ Error codes │ Low-level, C-style APIs │
│ Nullable │ Avoid for critical paths │
└──────────────────┴─────────────────────────────────┘
For payment processing, Result types make failures
explicit and force callers to handle them.
You: Result types. What about the API design?
Claude: Good. Now let's evaluate the tradeoffs:
**How flexible should the payment API be?** ← software-tradeoffs
┌─────────────────────┬──────────────────────────────┐
│ Simple & rigid │ Fast to build, hard to extend │
│ Flexible & complex │ Handles edge cases, more code │
│ Plugin-based │ Extensible but over-engineered │
└─────────────────────┴──────────────────────────────┘
YAGNI says start simple. But payment providers change —
a thin adapter layer gives flexibility without complexity.
Each question comes from a different skill, but they flow as a natural conversation.
Use code-spice when:
/line:mise/line:cook/line:plan-audit to check plan quality/line:serve for enhanced code review with quality criteria/code:tradeoff, /code:smell, /code:review-prep, or /code:pruneSkip it when:
| Command | Description | When to Use |
|---|---|---|
/code:tradeoff | Systematic tradeoff analysis for design decisions | Evaluating competing approaches |
/code:smell | Structured code smell detection on recent changes | Catching antipatterns before review |
/code:review-prep | Context-aware self-review checklist | Preparing for code review |
/code:prune | Interactive codebase pruning analysis | Dead code, unused deps, safe removal |
| Agent | Description |
|---|---|
| code-quality-critic | Reviews code quality against six pillars during /line:serve. |
| Skill | Activates During | Key Content |
|---|---|---|
| code-quality-foundations | /brainstorm, /scope | 4 goals table, 6 pillars table, abstraction/investment decision tables |
| code-readability | /scope, /cook | Comment decision table, readability checklist, documentation hierarchy |
| code-naming | /scope, /cook | Naming decision table, three questions test, antipattern tables |
| refactoring-patterns | /scope, /cook | 13-pattern catalog, smell-to-pattern mapping, invariant hierarchy |
| error-handling-patterns | /scope, /cook | Strategy decision table, recoverability framework, signaling comparison |
| code-antipatterns | /scope, /plan-audit | Top-10 severity table, antipattern-or-tradeoff table, context evaluation |
| code-review | /serve, /cook | Review goals, Triple-R pattern, severity labels, TWA template, 8 antipatterns |
| code-testing-quality | /cook | Quality checklist, test doubles table, antipattern catalog, coverage guidance |
| software-tradeoffs | /brainstorm, /scope | Tradeoff matrix, "which tradeoff?" table, "chose wrong?" diagnostics |
| code-plan-audit | /plan-audit | 10-point scorecard, actionability tests, plan-level antipatterns |
| code-yagni | /brainstorm, /scope | Build decision table, Kohavi stats, speculative generality signals |
| code-scope-boundaries | /brainstorm, /scope | Scope health checklist, feature belonging test, split-vs-keep tree |
| code-pruning | /cook, /architecture-audit | SCARF pattern, tool table, safe removal process, bloat metrics |