Wheels Anti-Pattern Detector

Official

Auto-fix Wheels errors before they happen.

Authorwheels-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically detects and prevents common, silent errors in CFWheels code generation (models, controllers, views, migrations) that often lead to runtime failures and debugging headaches. It ensures your code adheres to best practices, saving you significant development and debugging time.

Core Features & Use Cases

  • Automated Error Detection: Scans for critical anti-patterns like mixed argument styles, query/array confusion, non-existent form helpers, missing setPrimaryKey(), and database-specific SQL.
  • Proactive Auto-Fixes: Automatically corrects detected issues before code is written to files, preventing problems from ever reaching your application.
  • Use Case: During any code generation, this skill acts as a vigilant assistant, scanning your code, identifying critical anti-patterns, and auto-correcting them. This ensures your Wheels application is robust and error-free from the start, allowing you to focus on features, not fixes.

Quick Start

This skill runs automatically during Wheels code generation.

No explicit activation is needed.

Example detection and auto-fix:

❌ t = createTable(name='users', force='false', id='true');

✅ t = createTable(name='users');

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Wheels Anti-Pattern Detector
Download link: https://github.com/wheels-dev/wheels/archive/main.zip#wheels-anti-pattern-detector

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository