Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

fboss-code-standards

Skill by facebook

Applies FBOSS coding standards and patterns automatically while code is written under fboss/. It flags architecture violations, SAI/SDK misuse, thrift_cow pitfalls, platform config errors and testing gaps. Intended for developers writing FBOSS code.

  • Score 74
  • 1k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install fboss-code-standards

Built from the published package, never by AI.

git clone --depth 1 https://github.com/facebook/fboss /tmp/fboss && mkdir -p ~/.claude/skills && cp -r /tmp/fboss/fboss/skills/fboss-code-standards ~/.claude/skills/fboss-code-standards

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install fboss-code-standards in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

FBOSS Code Standards is a skill that provides coding standards and patterns for the fboss/ directory. It is applied automatically while the assistant writes or modifies code there, to catch architecture violations, SAI/SDK misuse, thrift_cow pitfalls, platform config errors, and testing gaps. A quick checklist covers areas such as agent, SAI, FSDB, thrift_cow, platform, testing, and general practice.

Detailed guidance is kept in reference files that the skill loads by topic: general conventions, agent code, the SAI layer, FSDB and thrift_cow, platform services and configs, tests, and a contributing guide for adding new patterns. The skill is passive. For explicit multi-reviewer review, the source says to use /fboss-review instead. It is aimed at developers working on FBOSS code.

Written from the project's SKILL.md and checked against it.

What it can do

  • Architecture checksFlags mono/multi-switch duality issues and SW/HW build boundary violations in agent code.
  • SAI and SDK checksChecks SaiApiTable registration, SaiStore consistency and executable symbol exports.
  • thrift_cow checksAdvises using modify() and never mutating shared thrift_cow nodes.
  • Platform config checksChecks that JSON config changes and Thrift schemas stay in sync.
  • Testing checksChecks test naming such as AgentHw<Feature>Test and bans GTEST_SKIP in favor of ProductionFeatures filtering.
  • Topic reference filesLoads detailed guidance on agent, SAI, FSDB, platform, testing and general patterns as needed.
  • Lint reminderReminds to run arc f and arc lint before submitting changes.

Try asking

  • Check my fboss/agent change for mono/multi-switch issues
  • Review this thrift_cow update for shared node mutations
  • Does my new HW test follow the AgentHw naming convention?

Good to know

  • Scope is currently limited to the fboss/ directory.
  • Guidance is passive and applies while code is written or modified.
  • Multi-reviewer review is handled by a separate command, /fboss-review.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: fboss/skills/fboss-code-standards/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to fboss-code-standards

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

fboss-code-standards: common questions

What does FBOSS Code Standards check?

The source says it catches architecture violations, SAI/SDK misuse, thrift_cow pitfalls, platform config errors, and testing gaps in code under fboss/.

When does the skill run?

It is auto-loaded when writing code in fboss/, and the source describes it as passive guidance applied while code is written or modified.

Is there a tool for full multi-reviewer review?

The source says that for explicit multi-reviewer review, users should use /fboss-review instead of this skill.

How do I install fboss-code-standards?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is fboss-code-standards free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is fboss-code-standards safe to use?

It scores 74 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to fboss-code-standards?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

fboss-code-standards Install

Add to stack

Loading.