code-review

Review TypeScript and JavaScript code for quality, security, and maintainability.

515|64|Updated Oct 23, 2024
One-click install
npx skills add https://github.com/allenhutchison/obsidian-gemini --skill code-review-allenhutchison
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/allenhutchison/obsidian-gemini/tree/main/.agents/skills/code-review
Command: npx skills add https://github.com/allenhutchison/obsidian-gemini --skill code-review-allenhutchison

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Review code for quality, correctness, and maintainability. Use this skill when reviewing pull requests, auditing existing code, refactoring for clarity, or enforcing coding standards. Covers DRY principles, SOLID design, error handling, performance, security, testing, and TypeScript/JavaScript best practices. For Obsidian plugin-specific API guidance, refer to the obsidian-plugin-development skill.

Core Features & Use Cases

  • Review priorities: Correctness, Security, Maintainability, Performance, and Style.
  • DRY and SOLID guidance: identify duplication, proper abstractions, and design principles.
  • Error handling and testing: assess resilience, edge cases, and test coverage.
  • Obsidian plugin API considerations: ensure vault operations, events, and UI interactions follow best practices.
  • Use Case: when auditing a PR, refactoring, or enforcing standards across a TypeScript/JS project.

Quick Start

Provide a code context and request a thorough review to surface actionable improvements.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review TypeScript code for maintainability and SOLID principles?

Reviewing TypeScript code for maintainability involves analyzing pull requests against DRY and SOLID design criteria. This skill assesses proper abstractions, identifies code duplication, and enforces design principles to ensure long-term project clarity and resilience.

What is the best way to enforce security and error handling in JavaScript projects?

Enforcing security and error handling in JavaScript projects requires auditing code for resilience and edge cases. This skill evaluates error handling mechanisms and security vulnerabilities to surface actionable improvements for robust applications.

Does this code review skill work for auditing Obsidian plugin integrations?

Yes, this code review skill works for auditing Obsidian plugin integrations by checking vault operations, events, and UI interactions. It ensures these specific API considerations follow TypeScript and JavaScript best practices during the review process.

How do I assess test coverage and performance issues during a code audit?

Assessing test coverage and performance during a code audit involves checking resilience, edge cases, and execution efficiency. This skill evaluates testing criteria and performance metrics to identify bottlenecks and improve overall project correctness.

Can I use this skill to check correctness and style across existing pull requests?

Yes, you can use this skill to check correctness and style across existing pull requests. It analyzes code quality by prioritizing correctness, security, maintainability, performance, and style to provide actionable review feedback.