Help us improve
Share bugs, ideas, or general feedback.
From popkit-ops
Assesses PopKit plugin architecture using Python scripts and checklists for DRY, coupling, cohesion, error handling, tool usage, and SOLID principles. Outputs JSON quality scores and refactoring suggestions.
npx claudepluginhub jrc1883/popkit-ai --plugin popkit-opsHow this skill is triggered — by the user, by Claude, or both
Slash command
/popkit-ops:pop-assessment-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provides concrete, reproducible architecture assessment for PopKit plugins using:
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Provides concrete, reproducible architecture assessment for PopKit plugins using:
python skills/pop-assessment-architecture/scripts/detect_duplication.py packages/plugin/
python skills/pop-assessment-architecture/scripts/analyze_coupling.py packages/plugin/
python skills/pop-assessment-architecture/scripts/calculate_quality.py packages/plugin/
Read and apply checklists in order:
checklists/dry-principles.json - Duplication detectionchecklists/separation-of-concerns.json - Module boundarieschecklists/error-handling.json - Error coveragechecklists/tool-selection.json - Appropriate tool usageCombine automated analysis with checklist results for final architecture report.
| Standard | File | Key Checks |
|---|---|---|
| DRY Principles | standards/dry-principles.md | DRY-001 through DRY-008 |
| Separation of Concerns | standards/separation-of-concerns.md | SOC-001 through SOC-008 |
| Error Handling | standards/error-handling.md | EH-001 through EH-010 |
| Tool Selection | standards/tool-selection.md | TS-001 through TS-008 |
| Metric | Good | Warning | Critical |
|---|---|---|---|
| Code Duplication | <5% | 5-15% | >15% |
| Cyclomatic Complexity | <10 | 10-20 | >20 |
| Module Coupling | Low | Medium | High |
| Module Cohesion | High | Medium | Low |
| Error Coverage | >80% | 50-80% | <50% |
| Principle | Check ID | Description |
|---|---|---|
| Single Responsibility | SOLID-001 | One reason to change |
| Open/Closed | SOLID-002 | Open for extension |
| Liskov Substitution | SOLID-003 | Proper inheritance |
| Interface Segregation | SOLID-004 | Minimal interfaces |
| Dependency Inversion | SOLID-005 | Depend on abstractions |
Returns JSON with:
quality_score: 0-100 (higher = better)duplication_percent: Code duplication levelcoupling_level: Low/Medium/Hightechnical_debt: List of debt itemsrefactoring_suggestions: Prioritized improvements