Comprehensive FBOSS code review with 11 parallel reviewers (5 generic + 6 FBOSS-specific). Covers reliability, engineering, code quality, silent failures, agent architecture, SAI/SDK, FSDB/thrift_cow, platform/config, testing, and cross-cutting design. Self-contained alternative to /review-diff for FBOSS diffs. Findings shown to user only, never auto-posted.
npx skills add https://github.com/facebook/fboss --skill fboss-review
Multi-reviewer code review for FBOSS diffs. Subsumes general review (/review-diff functionality) plus FBOSS-specific domain expertise.
Currently fboss/ only. TODO: extend to configerator/source/neteng/fboss, neteng/netcastle, neteng/fboss.
All findings are shown to the user only. Never post to Phabricator automatically.
sl status and sl diff to get changed filesmcp__plugin_meta_mux__get_phabricator_diff_detailsagent/, SwSwitch, HwSwitch -> Agent Reviewer (#6)fsdb/, thrift_cow/ -> FSDB/thrift_cow Reviewer (#7)platform/, config, sensor/fan -> Platform Reviewer (#8)sai/, hw/sai/, SDK -> SAI/SDK Reviewer (#9)Use Agent tool (sonnet model) to dispatch all applicable reviewers simultaneously:
references/generic-reviewers.md.../fboss-code-standards/references/<area>-patterns.md.| # | Reviewer | Focus | Patterns File |
|---|----------|-------|---------------|
| 1 | Reliability | Error handling, RAII, logging, timeout/retry, graceful degradation | - |
| 2 | Engineering / Performance | Algorithmic complexity, unnecessary copies, lock contention, modern C++ | - |
| 3 | Code Quality | Readability, modularity, duplication, API design | ../fboss-code-standards/references/general-patterns.md |
| 4 | Summary & Test Plan | Title accuracy, summary completeness, test plan adequacy, diff coherence | - |
| 5 | Silent Failure Finder | Logic errors, lossy conversions, race conditions, silent data loss | - |
| 6 | Agent Architecture | Mono/multi-switch, state management, warmboot, HwSwitch/SwSwitch boundary | ../fboss-code-standards/references/agent-patterns.md |
| 7 | FSDB & thrift_cow | State/Stats duality, COW node safety, subscriptions, build time | ../fboss-code-standards/references/thrift-cow-fsdb-patterns.md |
| 8 | Platform & Config | Platform services, JSON configs, startup order, OSS sync | ../fboss-code-standards/references/platform-config-patterns.md |
| 9 | SAI/SDK Integration | SAI API usage, object lifecycle, vendor SDK compat, attributes | ../fboss-code-standards/references/sai-sdk-patterns.md |
| 10 | Testing Standards | Coverage, naming, fixtures, NSDB impact, HW test patterns | ../fboss-code-standards/references/testing-patterns.md |
| 11 | FBOSS Architect | Cross-cutting design: layering, state derivability, abstraction, code org, infra reuse | references/fboss-specific-reviewers.md |
Dispatch a single verifier agent (loads references/verifier.md) to:
Output a structured report:
| File:Line | Reviewer | Severity | Issue | Confidence |
|-----------|----------|----------|-------|------------|
Never post findings to Phabricator.
| Topic | Action |
|-------|--------|
| Generic reviewer personas | Read references/generic-reviewers.md |
| Verification/dedup logic | Read references/verifier.md |
| FBOSS-specific reviewer personas | Read references/fboss-specific-reviewers.md |
| Adding/modifying reviewers | Read references/contributing.md |
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
Comprehensive GitHub code review with AI-powered swarm coordination
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
Take facebook/fboss-review 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.