clean-code-mastery

Enforce clean code and OWASP security patterns across multiple programming languages.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/garethdaine/agent --skill clean-code-mastery-garethdaine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code-mastery
Source: https://github.com/garethdaine/agent/tree/main/.cursor/skills/clean-code-mastery
Command: npx skills add https://github.com/garethdaine/agent --skill clean-code-mastery-garethdaine

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automatically enforces clean code principles and secure coding practices, preventing common bugs and vulnerabilities before they are introduced.

Core Features & Use Cases

  • Automated Code Review: Applies SOLID, DRY, KISS, and OWASP security patterns to your code.
  • Language-Specific Guidance: Provides tailored advice for TypeScript, Python, Go, Java, C#, C++, Rust, and Kotlin.
  • Use Case: When writing a new API endpoint, this Skill will automatically review your code for security flaws and adherence to best practices, ensuring a robust and maintainable solution.

Quick Start

Review the attached TypeScript file for clean code violations and security issues.

Frequently Asked Questions about clean-code-mastery

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

FAQPage Schema
How do I enforce SOLID, DRY, and KISS principles during code review?

To enforce clean code principles during code review, this Skill automatically analyzes your code against SOLID, DRY, and KISS guidelines. It provides tailored best practice advice to prevent common bugs before they are introduced.

What is the best way to apply OWASP security patterns when writing a new API endpoint?

The best way to apply OWASP security patterns is using automated review that checks your new API endpoint code for vulnerabilities. This Skill integrates secure coding principles to ensure robust and maintainable solutions.

Does this clean code review tool work with Python, Go, and TypeScript?

Yes, this clean code review tool works with Python, Go, and TypeScript, along with Java, C#, C++, Rust, and Kotlin. It offers language-specific documentation and guidance for vulnerability prevention across these environments.

How do I check a TypeScript file for security flaws and clean code violations?

You can check a TypeScript file for security flaws and clean code violations by requesting a review of the attached file. The Skill evaluates the code for OWASP security issues and adherence to established best practices.