skills/smithery.ai/bd-clean-code-writing

bd-clean-code-writing

Installation
SKILL.md

Clean Code Writing

This skill guides creation of clean, maintainable, and well-structured code that follows SOLID principles. Apply these guidelines when writing new code or refactoring existing code across any platform.

The user provides code to write or refactor: a function, class, module, or component. They may include context about the purpose, constraints, or existing patterns in the codebase.


Design Thinking

Before coding, understand the context and commit to a clean design direction:

  • Purpose: What problem does this code solve? What is its single responsibility?
  • Boundaries: Where does this code fit in the architecture? What are its dependencies?
  • Abstraction Level: Is this presentation, domain logic, or data layer code?
  • Consumers: Who will use this code? What interface do they need?

CRITICAL: Identify the single responsibility before writing. If you cannot describe the purpose in one sentence without "and", the scope is too broad.

Installs
1
First Seen
May 3, 2026
bd-clean-code-writing from smithery.ai