review-file

Review a single TypeScript/JavaScript file and output a structured quality report.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/hackberrybay/hb-code-reviewer --skill review-file
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-file
Source: https://github.com/hackberrybay/hb-code-reviewer/tree/main/skills/review-file
Command: npx skills add https://github.com/hackberrybay/hb-code-reviewer --skill review-file

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews a single TypeScript/JavaScript file to surface code-quality issues, anti-patterns, and potential rule violations before integration.

Core Features & Use Cases

  • Targeted file review: quickly assess a specific TS/JS file for quality metrics.
  • Rule-awareness: detects common best-practices violations and potential defects.
  • Use Case: during a PR for a single-file change, run this skill to obtain a concise report for maintainers.

Quick Start

Review the file at the path provided as the argument to immediately obtain a structured quality report for that file.

Frequently Asked Questions about review-file

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

FAQPage Schema
How do I run a code review on a single TypeScript file?

Run a code review on a single TypeScript file by providing its file path as an argument. The skill uses the code-reviewer pipeline to output a structured report of critical issues, warnings, and info items.

What is the best way to check JavaScript code quality for a PR?

Checking JavaScript code quality for a PR is best done via targeted single-file review. This skill detects best-practice violations and potential defects, providing maintainers with a concise summary of rule violations.

Can I use static analysis to find anti-patterns in individual JavaScript files?

Yes, you can use static analysis to find anti-patterns in individual JavaScript files. The skill applies rule-awareness to evaluate code-quality metrics and outputs a structured report detailing violations and warnings.

Does this single-file code review work with both TypeScript and JavaScript?

Yes, this single-file code review works with both TypeScript and JavaScript projects. It automates focused static analysis to identify rule violations and quality issues for either language.

How does the code review output report get structured?

The code review output report is structured to include critical issues, warnings, info items, and a summary. This provides deterministic feedback on best-practice violations and code-quality metrics for the reviewed file.