best-practices

Guide developers in applying TDD, FSD, Clean Architecture, and DDD to coding questions.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/tadokoro-ryusuke/cc-plugins --skill best-practices-tadokoro-ryusuke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/tadokoro-ryusuke/cc-plugins/tree/main/dev-core/skills/best-practices
Command: npx skills add https://github.com/tadokoro-ryusuke/cc-plugins --skill best-practices-tadokoro-ryusuke

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers quickly access and apply best-practices (TDD, FSD, Clean Architecture, DDD, refactoring) when designing or reviewing code, reducing cognitive load and boosting quality.

Core Features & Use Cases

  • Provides guidance on TDD cycle Red-Green-Refactor-Commit, as described in the content.
  • Explains SOLID, FSD layering, Clean Architecture, DDD concepts, and coding guidelines and refactoring techniques.
  • Use cases: code implementation questions, architecture decisions, code reviews.

Quick Start

Describe how you would apply TDD and SOLID principles to a specific feature in your codebase.

Frequently Asked Questions about best-practices

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

FAQPage Schema
How do I apply TDD and SOLID principles to a new feature design?

To apply TDD and SOLID principles, follow the Red-Green-Refactor-Commit cycle for testing while structuring modules to be single-responsibility and dependency-inverted. This skill provides structured guidance and practical examples for implementing these patterns in your codebase.

What is the best way to structure a project using Clean Architecture and DDD?

Clean Architecture and DDD structure projects by separating domain logic from infrastructure layers, ensuring dependencies point inward toward the domain. This skill explains these concepts and provides architectural decision guidance to help you layer your application effectively.

Can I use these software engineering best practices for code reviews across different tech stacks?

Yes, these software engineering best practices apply to code reviews across different tech stacks. The skill provides pattern explanations and refactoring techniques that help you evaluate code design and structural decisions regardless of the specific technology used.

How does FSD layering work and when should I use it in my architecture?

FSD layering works by organizing code into distinct vertical slices to separate concerns and reduce coupling. You should use it when making architecture decisions that require clear boundaries between feature domains, and this skill explains how to implement it effectively.

When should I refactor code and what techniques should I use?

You should refactor code during the Refactor phase of the TDD cycle to improve structure without changing behavior. This skill provides specific coding guidelines and refactoring techniques to help you make informed code design decisions during implementation.