Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
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.
npx claudepluginhub cheluen/droids-workflow --plugin droidsHow 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.
Guides technical evaluation of code review feedback: read fully, restate for understanding, verify against codebase, respond with reasoning or pushback before implementing.
Share bugs, ideas, or general feedback.
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 |