'Audit and fix best practices docs for stale references, duplicates, obsolete docs, audit bp docs.'
npx skills add https://github.com/brave/brave-core --skill fix-bp-docs
Audit all best practices documentation files for issues and fix them. This skill
must be run from the brave-core 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".
Read docs/best_practices.md and every file in $DOCS_DIR/*.md to understand
the full set of docs.
Scan across all docs for rules that cover the same topic. Look for:
When a duplicate is found, keep the version in the more appropriate category
file and remove the other. Preserve all anchor IDs on the kept version so
existing links don't break.
Do NOT create reference-only stubs that just point to another rule. Either keep
the full rule or remove it entirely.
Extract all brave/... file paths from code examples and verify they exist in
src/brave/. For each missing file:
find or Globexample to use a file that does exist
Skip paths that are obviously placeholder/illustrative (e.g.,
brave/components/my_feature/my_header.h,
brave/chromium_src/path/to/override.h).
Extract Chromium file paths (e.g., components/omnibox/browser/...,
chrome/browser/ui/...) from code examples and verify they exist in src/. For
each missing file:
Skip paths that are obviously placeholder/illustrative.
Look for references to specific Chromium class names, method names, and other
symbols in code examples. Verify they still exist in the Chromium source
(src/). Update any that were renamed.
Look for references to specific Brave class names, method names, and other
symbols in code examples. Verify they still exist in src/brave/. Update any
that were renamed or removed.
Look for:
../testing-requirements.md)
Look for:
--- separators between rules<a id="...">)--- separatorsVerify docs/best_practices.md:
$DOCS_DIR/ are represented in the indexFor each issue found:
After all fixes, run ID validation:
python3 ./script/manage-bp-ids.py --validate
the kept version
file that makes sense in context
path/to/foo.h), leave italone
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take brave/fix-bp-docs from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.