code-quality-reviewer

Analyze Astro Blog Kit code for cohesion, duplication, and SRP issues.

1|Updated May 18, 2025
One-click install
npx skills add https://github.com/practical-stack/astro-blog-kit --skill code-quality-reviewer-practical-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality-reviewer
Source: https://github.com/practical-stack/astro-blog-kit/tree/main/.claude/skills/code-quality-reviewer
Command: npx skills add https://github.com/practical-stack/astro-blog-kit --skill code-quality-reviewer-practical-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Astro Blog Kit code quality reviewer that helps teams assess and improve code quality across the project. It focuses on cohesion, duplication, single-responsibility principle, contextual comments, and Astro-specific patterns, providing concrete improvement suggestions during reviews.

Core Features & Use Cases

  • Cohesion analysis: Assess module cohesion and suggest refactors.
  • Duplication detection: Identify repeated patterns and recommend extraction.
  • SRP evaluation: Check responsibilities of functions and components, propose splits.
  • Astro-pattern checks: Validate proper use of Astro patterns like view transitions and i18n path patterns.
  • PR-ready feedback: Produce actionable review comments and a simple triage.
  • Use Case: When reviewing a PR introducing new utilities and components, the skill highlights cross-cutting concerns between posts and series utilities and proposes a shared lang utility to reduce drift.

Quick Start

Review a PR by running the skill on the changed code to produce prioritized feedback and suggested refactors.

Frequently Asked Questions about code-quality-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review for cohesion and duplication in Astro projects?

Astro code quality reviews evaluate components and utilities against the single-responsibility principle to identify overloaded functions. The review proposes splitting components with multiple responsibilities into focused units, providing a clear remediation path for better code structure.

What is the best way to check Astro View Transitions compatibility during a PR review?

Astro code quality reviews evaluate components and utilities against the single-responsibility principle to identify overloaded functions. The review proposes splitting components with multiple responsibilities into focused units, providing a clear remediation path for better code structure.

How do I enforce single-responsibility principle checks on Astro components?

Astro code quality reviews evaluate components and utilities against the single-responsibility principle to identify overloaded functions. The review proposes splitting components with multiple responsibilities into focused units, providing a clear remediation path for better code structure.

Can I generate actionable PR review comments for Astro Blog Kit utilities?

Astro code quality reviews evaluate components and utilities against the single-responsibility principle to identify overloaded functions. The review proposes splitting components with multiple responsibilities into focused units, providing a clear remediation path for better code structure.

Does this code review workflow require any external dependencies or linting tools?

Astro code quality reviews evaluate components and utilities against the single-responsibility principle to identify overloaded functions. The review proposes splitting components with multiple responsibilities into focused units, providing a clear remediation path for better code structure.

When should I use an automated Astro reviewer instead of manual code inspection?

Astro code quality reviews evaluate components and utilities against the single-responsibility principle to identify overloaded functions. The review proposes splitting components with multiple responsibilities into focused units, providing a clear remediation path for better code structure.