AI agent skill for writing senior-engineer quality code through SOLID principles, TDD, and clean architecture
npx skills add https://github.com/ramziddin/solid-skills --skill solidقم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.
Professional software engineering skills for AI coding agents. Transforms code into senior-engineer quality software through SOLID principles, TDD, clean code practices, and professional software design.
Skills follow the Agent Skills format.
Transform junior-level code into senior-engineer quality software. Primarily designed for TypeScript and NestJS projects, but applicable to any object-oriented codebase.
Use when:
Core principles:
| Principle | Focus |
|---|---|
| TDD | Red-Green-Refactor cycle, tests before code |
| SOLID | Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion |
| Clean Code | Meaningful names, small functions, no comments needed |
| Design Patterns | Creational, Structural, Behavioral patterns |
| Architecture | Vertical slicing, dependency rule, clean architecture |
Reference documentation included:
solid-principles.md - SOLID principles with TypeScript examplestdd.md - Test-Driven Development practicestesting.md - Testing strategies and patternsclean-code.md - Clean code guidelinescode-smells.md - Code smell detection and fixesdesign-patterns.md - GoF patterns with examplesarchitecture.md - Clean architecture principlesobject-design.md - Object stereotypes and responsibilitiescomplexity.md - Managing essential vs accidental complexityKey features:
npx skills add ramziddin/solid-skills
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Examples:
skills/
└── solid/
├── SKILL.md # Main skill instructions
└── references/ # Supporting documentation
├── solid-principles.md
├── tdd.md
├── testing.md
├── clean-code.md
├── code-smells.md
├── design-patterns.md
├── architecture.md
├── object-design.md
└── complexity.md
MIT