check-best-practices

Audit local branch changes against best practices documentation for C++, tests, frontend, Android, iOS, and build files.

1|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/brave-experiments/brave-core-tools --skill check-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-best-practices
Source: https://github.com/brave-experiments/brave-core-tools/tree/main/.claude/skills/check-best-practices
Command: npx skills add https://github.com/brave-experiments/brave-core-tools --skill check-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill systematically checks your code changes against a comprehensive set of best practice guidelines, ensuring adherence to project standards and preventing common pitfalls.

Core Features & Use Cases

  • Comprehensive Auditing: Analyzes diffs against all relevant best practice documents.
  • Categorized Checks: Applies rules based on file types (C++, frontend, Android, iOS, etc.).
  • Detailed Reporting: Provides clear pass/fail status for each practice and specific violation details.
  • Use Case: Before submitting a pull request, run this Skill to automatically catch any deviations from established coding standards, architectural guidelines, or testing methodologies.

Quick Start

Run a best practices check on your current branch.

Frequently Asked Questions about check-best-practices

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

FAQPage Schema
How do I audit code changes against best practices before submitting a pull request?

You can audit code changes by running a best practices check on your local branch. This systematically analyzes your code diff against defined documentation to identify violations, correctness bugs, and security issues, providing a detailed report with actionable fixes.

What types of code violations can an automated best practices check identify?

An automated best practices check identifies violations in added lines of code, specifically flagging correctness bugs, security issues, banned APIs, and architectural deviations across various file types like C++, frontend, and mobile platforms.

Does best practices auditing support both Android and iOS mobile platforms?

Yes, best practices auditing supports both Android and iOS mobile platforms. It applies categorized rules based on file types, systematically checking mobile code alongside C++, frontend, build system, and documentation files.

How do I check my local branch diff for banned APIs and architectural deviations?

You can check your local branch diff by running an auditing script against best practice documents. It systematically evaluates added lines of code to detect banned APIs and architectural deviations, generating a clear pass or fail status report.

What is the best way to ensure C++ code compliance before a code review?

The best way to ensure C++ code compliance is to run an automated best practices audit on your local branch. This evaluates your C++ files against established guidelines, catching security issues and correctness bugs before the review process.

Can I use documentation checks alongside build system audits in my code review?

Yes, you can use documentation checks alongside build system audits. The auditing process systematically analyzes both build system and documentation files, applying categorized rules to ensure comprehensive compliance across all project areas.