Stats
Actions
Tags
From droids
[DROIDS-INTERNAL] Code quality standards and review guidelines. Only activate when invoked by droids plugin agents (code-reviewer) or /droids:* commands. Do NOT auto-activate in regular conversations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/droids:droids-code-qualityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use these guidelines when reviewing code quality.
Use these guidelines when reviewing code quality.
userEmail, isActive)getUserById, validateInput)UserService, PaymentProcessor)MAX_RETRY_COUNT, API_BASE_URL)// Good: Specific error handling
try {
await saveUser(user);
} catch (error) {
if (error instanceof ValidationError) {
return res.status(400).json({ error: error.message });
}
if (error instanceof DatabaseError) {
logger.error('Database error:', error);
return res.status(500).json({ error: 'Internal error' });
}
throw error; // Re-throw unknown errors
}
src/
├── components/ # UI components
├── services/ # Business logic
├── utils/ # Helper functions
├── types/ # Type definitions
├── constants/ # Constants and config
└── tests/ # Test files
| Principle | Description |
|---|---|
| Single Responsibility | One reason to change |
| Open/Closed | Open for extension, closed for modification |
| Liskov Substitution | Subtypes must be substitutable |
| Interface Segregation | Many specific interfaces |
| Dependency Inversion | Depend on abstractions |
| Level | Description | Action |
|---|---|---|
| BLOCKER | Prevents merge | Must fix |
| MAJOR | Significant issue | Should fix |
| MINOR | Improvement | Consider fixing |
| SUGGESTION | Nice to have | Optional |
npx claudepluginhub cheluen/droids-workflow --plugin droidsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.