code-design

Guide software development through design principles, patterns, and code quality checks.

5|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/JheisonMB/skills --skill code-design-jheisonmb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-design
Source: https://github.com/JheisonMB/skills/tree/main/code-design
Command: npx skills add https://github.com/JheisonMB/skills --skill code-design-jheisonmb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of writing clean, maintainable, and high-quality code by providing guidance on design principles, patterns, and coding standards.

Core Features & Use Cases

  • Zero Uncertainty Before Coding: Ensures all ambiguity is resolved before coding begins.
  • Respect Existing Patterns: Promotes adherence to established coding conventions and patterns.
  • Prioritized Design Principles: Follows a structured approach to design principles like SoC, DRY, YAGNI, and KISS.
  • Clean Code Heuristics: Encourages readability, simplicity, and maintainability.
  • Pattern Decision Tree: Provides a guide for selecting the appropriate design pattern based on the problem.
  • Testing & Commits: Emphasizes testing after functionality is stable and the use of atomic commits.

Quick Start

Use the code-design skill to evaluate your new function 'calculateShippingCost' for adherence to design principles and clean code standards.

Frequently Asked Questions about code-design

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

FAQPage Schema
How do I check if my code follows clean code standards and design principles?

To check clean code standards, evaluate your functions against heuristics for readability and simplicity, ensuring they respect established patterns and resolve all ambiguity prior to development.

What is the best way to choose the right design pattern for my software?

The best way to choose a design pattern is using a pattern decision tree, which guides you to the appropriate structural solution based on the specific problem you are trying to solve.

How do I refactor an existing codebase to improve maintainability?

To refactor for maintainability, apply prioritized design principles like SoC, DRY, YAGNI, and KISS, respecting existing coding conventions while improving overall readability and simplicity.

Can I apply these software design principles to any programming language?

Yes, you can apply these software design principles to any programming language, as the guidance focuses on language-agnostic patterns, clean code heuristics, and universal coding standards.

Do I need to understand software design principles before using code quality checks?

Yes, you need a foundational understanding of software design principles and clean code practices, because the checks require resolving ambiguity and following structured design heuristics.