code-review

Automate code review of git working tree and staged changes.

19|3|Updated Jul 19, 2024
One-click install
npx skills add https://github.com/danielterra/FOUNDATION --skill code-review-danielterra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/danielterra/FOUNDATION/tree/main/.claude/skills/code-review
Command: npx skills add https://github.com/danielterra/FOUNDATION --skill code-review-danielterra

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review pending changes in the working tree and staged area to ensure compliance with FOUNDATION conventions and architecture rules before committing.

Core Features & Use Cases

  • Checks against FOUNDATION conventions, architecture layer rules, and validates compilation.
  • Flags violations and surfaces blockers, warnings, and suggestions to guide fixes.
  • Integrates into developer workflows to ensure code quality prior to commits.

Quick Start

Review the pending changes and staged files with the code-review directives to detect violations and guide fixes.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate code review for pending git changes before committing?

Automated code review analyzes your working tree and staged files against project conventions and architecture rules, then reports blockers and warnings to fix before a git commit.

What are FOUNDATION conventions and architecture layer rules for code review?

FOUNDATION conventions and architecture layer rules are enforced project standards that automated code review checks against, validating compilation and flagging violations to guide fixes.

How do I validate build and compilation during a pre-commit code review?

Pre-commit code review validates build compilation by analyzing staged git changes, applying project rules, and surfacing errors or warnings to resolve before committing.

Do I need specific project conventions to run an automated code review on staged files?

Yes, automated code review requires projects to enforce FOUNDATION conventions and architecture layer rules to properly flag violations and guide fixes on staged files.

What is the best way to enforce architecture layer rules in a local developer workflow?

The best way to enforce architecture layer rules locally is integrating pre-commit code review to check pending working tree changes against project conventions, validating compilation, and reporting blockers.