add-best-practice
Add Best Practice
Add a new best practice rule to the correct best-practices document. Ensures no duplicates, assigns stable IDs, and follows the exact format of existing entries.
Step 1: Verify Working Directory
This skill runs from the brave-core (src/brave) directory. Best practices docs
are at ./docs/best-practices/ and the index is at ./docs/best_practices.md.
Set DOCS_DIR="./docs/best-practices".
Step 2: Understand the Best Practice
More from brave/brave-core
clean-branches
Delete local branches whose PRs have been merged upstream. Checks GitHub PR
2pr
Create a pull request for the current branch using `gh`.
1review
Review code for quality, root cause analysis, and fix confidence. Supports PR
1prs-reviewed
Get PRs a user reviewed on brave/brave-core. Shows PR number, title, author,
1fix-bp-docs
Audit and fix best practices docs for stale references, duplicates, obsolete
1preflight
Run all preflight checks (format, gn_check, presubmit, build, tests) to make
1