Auto-Pilot
Updated a month ago

solid-skills

Rramziddin
0.1k
ramziddin/solid-skills
82
Agent Score

💡 Summary

A skill that transforms AI-generated code into senior-engineer quality software by enforcing SOLID principles, TDD, and clean code practices.

🎯 Target Audience

Junior developers using AI agentsEngineering teams enforcing code standardsTechnical leads architecting systemsEducators teaching software design

🤖 AI Roast:It promises to turn junior code into senior-level work, but remember, a linter with a philosophy degree is still just a linter.

Security AnalysisLow Risk

The skill itself is a set of guidelines and does not execute code. The primary risk is indirect: if the AI agent, following these principles, is granted permissions to modify files or execute commands, poor implementation could introduce vulnerabilities. Mitigation: Strictly sandbox the agent's execution environment and implement code review for security-sensitive changes.

Solid Skills

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.

Available Skills

solid

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:

  • Writing any code (features, fixes, utilities)
  • Refactoring existing code
  • Planning or designing architecture
  • Reviewing code quality
  • Debugging issues
  • Creating tests
  • Making design decisions

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 examples
  • tdd.md - Test-Driven Development practices
  • testing.md - Testing strategies and patterns
  • clean-code.md - Clean code guidelines
  • code-smells.md - Code smell detection and fixes
  • design-patterns.md - GoF patterns with examples
  • architecture.md - Clean architecture principles
  • object-design.md - Object stereotypes and responsibilities
  • complexity.md - Managing essential vs accidental complexity

Key features:

  • Enforces TDD workflow (write failing test first)
  • Detects and fixes code smells automatically
  • Applies SOLID principles to every class and function
  • Uses value objects for domain primitives (IDs, emails, money)
  • Follows Law of Demeter and Tell Don't Ask
  • Keeps methods under 10 lines, classes under 50 lines

Installation

npx skills add ramziddin/solid-skills

Usage

Skills are automatically available once installed. The agent will use them when relevant tasks are detected.

Examples:

  • "Implement a user registration feature"
  • "Refactor this service to follow SOLID principles"
  • "Review this code for quality issues"
  • "Add tests for this module"
  • "Design the architecture for a payment system"

Skill Structure

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

License

MIT

5-Dim Analysis
Clarity8/10
Novelty7/10
Utility9/10
Completeness9/10
Maintainability8/10
Pros & Cons

Pros

  • Comprehensive reference documentation on key software engineering principles
  • Promotes high-quality, maintainable code through automated enforcement
  • Applicable across various stages of the software development lifecycle

Cons

  • Primarily focused on object-oriented paradigms like TypeScript/NestJS
  • May be overly prescriptive for simple or prototype projects
  • Relies on the agent's ability to correctly interpret and apply the guidelines

Related Skills

pytorch

S
toolCode Lib
92/ 100

“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”

agno

S
toolCode Lib
90/ 100

“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”

nuxt-skills

S
toolCo-Pilot
90/ 100

“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author ramziddin.