quality
/quality
Comprehensive quality assessment of code using multi-agent analysis.
Usage
/quality yourbench # Full assessment
/quality yourbench --focus security # Security-focused
/quality coordinatr --focus testing # Test coverage focus
Focus Areas
| Flag | Analysis | Agent |
|---|---|---|
| (none) | All dimensions | All specialists |
--focus security |
OWASP, vulnerabilities | security-auditor |
--focus performance |
Bottlenecks, N+1 | performance-optimizer |
--focus testing |
Coverage, test quality | test-engineer |
--focus code |
Maintainability | code-reviewer |
Execution Flow
1. Locate Project
ls spaces/[project]/
2. Run Automated Checks
cd spaces/[project]
npm test -- --coverage
npm run lint
npm run type-check # if TypeScript
3. Agent Analysis
Coordinate specialists via Task tool:
- code-reviewer: Complexity, best practices
- security-auditor: OWASP Top 10
- performance-optimizer: N+1 queries, bottlenecks
- test-engineer: Coverage, test quality
4. Generate Report
## Quality Assessment: [project]
**Overall Score: XX/100** [status]
### Code Quality: XX/100
- Issues found
- Recommendations
### Security: XX/100
- Critical/High/Medium issues
- Recommendations
### Performance: XX/100
- Bottlenecks identified
- Recommendations
### Testing: XX/100
- Coverage percentage
- Untested areas
### Priority Actions
1. **CRITICAL**: [action]
2. **HIGH**: [action]
3. **MEDIUM**: [action]
Scoring
| Score | Status | Meaning |
|---|---|---|
| 90-100 | Excellent | Ship it |
| 80-89 | Good | Minor improvements |
| 70-79 | Acceptable | Address soon |
| 60-69 | Concerning | Fix before merge |
| <60 | Critical | Must fix |
Quality Dimensions
Code Quality
- Cyclomatic complexity
- Code duplication
- SOLID principles
- Dead code detection
Security
- OWASP Top 10
- Auth/authz patterns
- Input validation
- Secrets in code
Performance
- N+1 query detection
- Inefficient algorithms
- Bundle size
- Caching opportunities
Testing
- Line/branch coverage
- Test quality
- Edge case coverage
- Integration test gaps
When to Use
- Before major release
- Onboarding to new codebase
- Periodic health checks
- Before refactoring
More from taylorhuston/local-life-manager
daily-review
Complete daily journal review. Use at end of day or next morning to fill in journal sections, review highlights, and plan tomorrow. Triggers on "daily review", "end of day", "journal review", "what did I do today".
48weekly-review
Weekly review and planning session. Use at end of week or weekend to review progress, plan next week, and set priorities. Triggers on "weekly review", "plan my week", "what did I do this week", "Sunday planning".
25daily-journal
Daily journal management for the my-vault Obsidian vault. Use for morning routines, daily reviews, quick journal updates, checking yesterday's entry, or setting today's highlight. Triggers on "good morning", "daily review", "journal", "what did I do", "highlight".
23life-planning
Cross-repo life and project planning. Use when user wants to plan their week, prioritize projects, review progress across all areas, or make decisions about what to focus on. Triggers on "plan my week", "what should I work on", "prioritize", "weekly review", "life planning".
23flashcards
Generate spaced repetition flashcards from notes or topics. Use when user wants to create flashcards, make review cards, prepare for spaced repetition, or convert notes to quiz format. Triggers on "flashcards", "make cards", "spaced repetition", "review cards".
21video-summarize
Summarize a single YouTube video and create a note. Use when user shares a video URL or asks to summarize a specific video. Triggers on "summarize this video", "video summary", YouTube URLs.
17