.claude/skills/clean-code-practices/SKILL.md
Use when the Developer is writing or modifying code, implementing features, fixing bugs, or refactoring. Activates for any code writing task to ensure clean, readable, maintainable code following KISS, DRY, and YAGNI principles.
npx skillsauth add dsivov/ai_development_team clean-code-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this guidance whenever writing or modifying source code as the Developer role.
userEmail not e, totalPrice not tpcalculateTax() not process(), isValid() not check()isActive, hasPermission, canDeleteMAX_RETRIES, DEFAULT_TIMEOUTget* for retrievals, don't introduce fetch*// Prefer early returns
function process(input) {
if (!input) return null;
if (!input.isValid) throw new Error("Invalid input");
// Happy path here
return transform(input);
}
// increment counter above counter++)development
Use when the Integrator is writing unit tests, e2e tests, designing test strategies, improving test coverage, creating test fixtures, or mocking dependencies. Activates for any testing-related work including TDD, test refactoring, or test debugging.
development
Use when the Architect is breaking down change requests into implementable tasks, defining acceptance criteria, estimating task size, mapping dependencies, or creating technical sub-tasks for Developer and Integrator.
development
Use when the Architect is designing system architecture, choosing technology stacks, defining data models, designing APIs, making scalability decisions, or updating ARCHITECTURE.md. Activates for any architecture design, technology evaluation, or system structure discussion.
documentation
Use when the Manager is writing status updates, daily reports, queue messages to team members, escalation notices, or cross-role coordination messages. Activates when composing any team communication, reports, or documentation updates.