implementation-principles

Enforce fail-fast, single-source-of-truth, ports & adapters, and generated contracts coding principles.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/KevounC/claude-kanban --skill implementation-principles-kevounc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementation-principles
Source: https://github.com/KevounC/claude-kanban/tree/main/examples/project-skills/implementation-principles
Command: npx skills add https://github.com/KevounC/claude-kanban --skill implementation-principles-kevounc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of ensuring consistent coding standards across a codebase by enforcing key principles (Fail Fast, Single Source of Truth, Ports & Adapters) automatically.

Core Features & Use Cases

  • Fail Fast Principle: Validates inputs immediately at entry points and prevents propagation of unvalidated data.
  • Single Source of Truth: Centralizes variant sets as a single typed constant to avoid repetition in downstream behavior.
  • Ports & Adapters: Encourages domain logic to interact with infrastructure through ports, maintaining clear boundaries.
  • Generated Contracts: Ensures types are generated from schemas rather than manually, improving maintainability.
  • Use Case: When implementing new features or modules, automatically enforce coding standards without manual oversight.

Quick Start

To enable implementation principles, set up the skill within your project and automatically enforce coding principles on new code or refactoring tasks.

Frequently Asked Questions about implementation-principles

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

FAQPage Schema
How do I enforce fail-fast and single-source-of-truth coding principles automatically?

To enforce coding principles automatically, you can integrate this skill into your project to validate inputs immediately at entry points and centralize variant sets as a single typed constant during code development workflows.

What is the best way to maintain clear infrastructure boundaries in my codebase?

The best way to maintain clear infrastructure boundaries is by adopting the Ports and Adapters pattern, which encourages domain logic to interact with infrastructure through ports rather than direct integration.

How do I generate types from schemas to improve codebase maintainability?

You can generate types from schemas by applying generated contracts principles, which ensures types are generated automatically rather than manually maintained to improve overall codebase consistency.

Can I use this for automated code quality and consistency checks in a team environment?

Yes, this skill is specifically suitable for automated code quality and consistency checks in team environments, ensuring adherence to coding standards without manual oversight during new feature implementation or refactoring.

Why does unvalidated data propagate through my application entry points?

Unvalidated data propagates because the fail-fast principle is not enforced, meaning inputs are not validated immediately at entry points, allowing unchecked data to flow into downstream behaviors.

How do I prevent repetition when managing variant sets in downstream behavior?

To prevent repetition in downstream behavior, you should enforce the single-source-of-truth principle by centralizing variant sets as a single typed constant, eliminating duplicate definitions across the codebase.