standards-kit

Enforce cyclomatic complexity under 8 and approved UI libraries.

165|20|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/wednesday-solutions/ai-agent-skills --skill standards-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: standards-kit
Source: https://github.com/wednesday-solutions/ai-agent-skills/tree/main/skills/standards-kit
Command: npx skills add https://github.com/wednesday-solutions/ai-agent-skills --skill standards-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

standards-kit prevents inconsistent code quality and UI divergence by enforcing complexity limits, naming conventions, import ordering, and approved component libraries.

Core Features & Use Cases

  • Complexity enforcement: Keeps cyclomatic complexity under 8 to reduce brittle logic and maintenance risk.
  • Strict code hygiene: Disallows console.log, magic numbers, and unused imports, and uses @wednesday-skills tags for dynamic patterns.
  • Approved UI-only policy: Requires UI components to come only from shadcn, Aceternity UI, or Magic UI, aligning teams on visual consistency and reuse.
  • Consistent structure: Applies PascalCase for UI/Types and camelCase for Logic, plus strict import ordering to improve readability and diffs.

Quick Start

Ask an AI coding agent to apply the standards-kit rules to your code changes, ensuring complexity stays below 8 and UI components only use shadcn, Aceternity UI, or Magic UI.

Frequently Asked Questions about standards-kit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce cyclomatic complexity limits and ban console.log in my codebase?

You can enforce code quality by applying automated rules that restrict cyclomatic complexity under 8 and forbid console.log, magic numbers, and unused imports. This ensures strict code hygiene and reduces brittle logic during everyday implementation.

What's the best way to restrict UI components to approved libraries like shadcn or Magic UI?

To restrict UI components to approved libraries, apply an approved UI-only policy that limits component creation to shadcn, Aceternity UI, or Magic UI. This aligns teams on visual consistency and prevents UI divergence across the project.

How do I standardize naming conventions and import ordering for consistent code structure?

Standardize code structure by enforcing PascalCase for UI and Types, camelCase for Logic, and applying strict import ordering. This improves readability and generates cleaner diffs during refactoring and component creation.

Can I use this to prevent inconsistent code quality during refactoring tasks?

Yes, you can apply these standards to everyday implementation and refactoring tasks. It enforces unified development and design standards across code changes, component creation, and logic updates to prevent inconsistent code quality.

Why should I keep cyclomatic complexity under 8 when writing code?

Keeping cyclomatic complexity under 8 reduces brittle logic and maintenance risk. Enforcing this complexity limit during code changes ensures your codebase remains readable and easier to maintain across logic updates.