one-pattern-one-way

Enforces a single established pattern for common software engineering concerns in a codebase.

28|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/oborchers/fractional-cto --skill one-pattern-one-way
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: one-pattern-one-way
Source: https://github.com/oborchers/fractional-cto/tree/main/pedantic-coder/skills/one-pattern-one-way
Command: npx skills add https://github.com/oborchers/fractional-cto --skill one-pattern-one-way

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill combats code inconsistency and the proliferation of "local shortcuts" by enforcing a single, established pattern for solving each category of problem within a codebase.

Core Features & Use Cases

  • Pattern Enforcement: Ensures a single approach for configuration loading, error handling, data validation, HTTP clients, logging, string constants, and default values.
  • Eliminates Ambiguity: Prevents developers from wondering which of multiple solutions is the "correct" one.
  • Use Case: When a new developer joins a project, they immediately understand how to handle errors or load configuration without needing to discover multiple, conflicting conventions.

Quick Start

Use the one-pattern-one-way skill to review the codebase for any instances where multiple validation libraries are being used.

Frequently Asked Questions about one-pattern-one-way

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

FAQPage Schema
How do I enforce code consistency and eliminate local shortcuts in my codebase?

Code consistency is enforced by adopting a single, established pattern for each problem category, requiring all existing usages to be refactored when a new pattern is adopted. This eliminates conflicting local shortcuts and ambiguity across the codebase.

What is the best way to standardize error handling and data validation across a project?

Standardizing error handling and data validation requires strict adherence to one documented pattern for each concern. This prevents multiple conflicting conventions and ensures every developer handles these tasks using the same established approach.

How do I stop developers from using multiple conflicting libraries for HTTP clients and logging?

Stopping developers from using multiple libraries requires pattern enforcement that dictates a single approach for HTTP clients and logging. This ensures only one established solution is used, removing ambiguity and conflicting local shortcuts.

When do I need to refactor existing code for a new configuration loading pattern?

Refactoring existing code for a new configuration loading pattern is needed whenever a new pattern is adopted. The skill requires adherence to documented patterns and mandates refactoring all existing usages to maintain a single approach.

Can I use this pattern enforcement approach for managing string constants and default values?

Pattern enforcement can be applied to managing string constants and default values. It ensures a single established approach is used for these common software engineering concerns, preventing inconsistency and conflicting local shortcuts.