Assess Codebase
Purpose
This skill performs a holistic evaluation of the project as if conducted by a senior or principal-level engineer.
It analyzes:
- System architecture and modularity
- Code quality and maintainability
- Security posture
- Performance and efficiency
- Developer experience (DX)
- User experience (UX), if applicable
- Testing strategy and coverage
- Operational readiness
The goal is to provide:
- A structured assessment
- Clear strengths and weaknesses
- Risk analysis
- Prioritized improvement roadmap
- Thoughtful feature expansion ideas
This skill does not implement changes. It evaluates and recommends.
This skill must honor governance rules defined in .agents/profile.yaml if present. If the active profile enables automatic issue creation from assessment findings, all findings at or above the configured severity threshold must be emitted in a structured form suitable for issue tracking. New issues must be created by explicitly invoking the track-issues skill. This skill must not create issue files directly.
Assessment Workflow
- Understand the project’s purpose and target users.
- Review repository structure and architectural boundaries.
- Evaluate code organization and dependency flow.
- Analyze testing strategy and verification rigor.
- Evaluate performance characteristics and scaling risks.
- Review security considerations and threat surface.
- Evaluate UX and DX friction points.
- Identify architectural smells or technical debt.
- Propose improvements and new feature opportunities.
- Provide a prioritized roadmap.
- Apply profile severity policy and prepare structured findings for auto issue creation if enabled.
- If auto issue creation is enabled, invoke the
track-issuesskill to create or update corresponding pending issues.
Evaluation Dimensions
1. Architecture & Design
- Separation of concerns
- Modularity and layering
- Extensibility
- Dependency management
- Coupling and cohesion
2. Code Quality
- Readability
- Naming clarity
- Error handling discipline
- Logging and observability
- Consistency and standards adherence
3. Security
- Input validation
- Authentication / authorization (if applicable)
- Secret management
- Data exposure risks
- Attack surface assessment
4. Performance & Efficiency
- Algorithmic complexity
- I/O behavior
- Memory usage patterns
- Concurrency safety
- Scaling bottlenecks
5. Testing & Reliability
- Unit test coverage quality (not just percentage)
- Integration testing strategy
- Determinism of tests
- Failure handling paths
- CI enforcement rigor
6. Developer Experience (DX)
- Build and setup clarity
- Local development reproducibility
- Tooling and automation
- Documentation completeness
- Onboarding friction
7. User Experience (UX)
- Interface clarity (CLI, API, UI)
- Error messages quality
- Feedback loops
- Discoverability
Output Structure
# Codebase Assessment — <Project Name>
## Executive Summary
Brief high-level evaluation and overall health classification.
Overall Health: Excellent / Strong / Moderate / At Risk
---
## Strengths
- <key strengths>
---
## Key Risks
- Risk:
- Severity: Low / Medium / High
- Impact:
- Recommendation:
- Production Blocking: Yes / No
---
## Dimension-by-Dimension Analysis
### Architecture & Design
<analysis>
### Code Quality
<analysis>
### Security
<analysis>
### Performance & Efficiency
<analysis>
### Testing & Reliability
<analysis>
### Developer Experience
<analysis>
### User Experience
<analysis>
---
## Prioritized Improvement Roadmap
### Immediate (High Impact / Low Effort)
- <action>
### Near-Term
- <action>
### Long-Term
- <action>
---
## Strategic Feature Opportunities
- <new feature idea>
- <expansion direction>
---
## Final Assessment
Clear summary of project maturity level and trajectory.
Production Sign-Off: YES / NO
If NO:
- Blocking Reasons:
- <reason>
Assessment Rules
- Be objective and evidence-driven.
- Distinguish observation from recommendation.
- Avoid vague statements; be concrete.
- Identify trade-offs explicitly.
- Do not rewrite code during assessment.
- If context is insufficient, ask focused clarifying questions.
- Use ISO date format (YYYY-MM-DD).
- Do not overwrite existing assessments unless explicitly instructed.
- Each assessment should represent a point-in-time evaluation.
- If profile.yaml enables auto issue creation, ensure all findings at or above threshold include clear Title, Severity, Impact, and Recommended Action fields.
- Production Sign-Off must be NO if any High severity Production Blocking risk exists.
- When creating issues from findings, the agent must delegate issue creation to the
track-issuesskill rather than writing issue files directly.
