Agent skill

code-quality-analyzer

Static code analysis, technical debt assessment, engineering velocity metrics

Stars 514
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/domains/business/venture-capital/skills/code-quality-analyzer

Metadata

Additional technical details for this skill

domain
business
skill id
vc-skill-014
specialization
venture-capital

SKILL.md

Code Quality Analyzer

Overview

The Code Quality Analyzer skill provides detailed code-level analysis for technical due diligence. It performs static code analysis, assesses technical debt, and evaluates engineering team velocity to understand code health and development productivity.

Capabilities

Static Code Analysis

  • Run automated code quality checks
  • Identify code smells and anti-patterns
  • Measure code complexity metrics
  • Detect potential bugs and vulnerabilities

Technical Debt Assessment

  • Quantify technical debt backlog
  • Identify high-priority refactoring needs
  • Assess test coverage and quality
  • Evaluate documentation completeness

Engineering Velocity Metrics

  • Measure deployment frequency
  • Track lead time for changes
  • Analyze cycle time and throughput
  • Assess sprint velocity trends

Code Health Indicators

  • Analyze code churn patterns
  • Review pull request metrics
  • Assess code review practices
  • Evaluate dependency management

Usage

Analyze Code Quality

Input: Repository access, analysis parameters
Process: Run static analysis, aggregate metrics
Output: Code quality report, issue summary

Assess Technical Debt

Input: Codebase access, debt categorization
Process: Inventory debt, estimate remediation
Output: Technical debt assessment, prioritization

Measure Engineering Velocity

Input: Git history, project management data
Process: Calculate velocity metrics
Output: Velocity report, trend analysis

Review Code Health

Input: Repository data, team practices
Process: Analyze patterns, compare benchmarks
Output: Code health scorecard, recommendations

Key Metrics

Metric Description Target Range
Test Coverage % of code covered by tests 70-90%
Code Complexity Cyclomatic complexity average < 10
Tech Debt Ratio Debt remediation time / dev time < 5%
Deployment Frequency Deployments per week Daily to weekly
Change Failure Rate % of deployments causing issues < 15%

Integration Points

  • Technical Due Diligence: Detailed code analysis for DD
  • Tech Stack Scanner: Complement architecture review
  • Technical Assessor (Agent): Support agent analysis
  • IP Patent Analyzer: Code-level IP assessment

Analysis Tools Integration

  • SonarQube for code quality
  • CodeClimate for maintainability
  • GitHub/GitLab analytics
  • Jira/Linear for velocity data
  • Custom scripts for specific checks

Best Practices

  1. Calibrate expectations by company stage
  2. Focus on trends over absolute numbers
  3. Consider context of rapid iteration
  4. Balance debt against velocity needs
  5. Assess relative to team size and resources

Expand your agent's capabilities with these related and highly-rated skills.

a5c-ai/babysitter

gsd-tools

Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).

514 31
Explore
a5c-ai/babysitter

model-profile-resolution

Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.

514 31
Explore
a5c-ai/babysitter

verification-suite

Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.

514 31
Explore
a5c-ai/babysitter

state-management

STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.

514 31
Explore
a5c-ai/babysitter

git-integration

Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.

514 31
Explore
a5c-ai/babysitter

frontmatter-parsing

YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.

514 31
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results