agentleFS
GoogleKnown publishergoogle/filament/AGENTS.md

filament

AGENTS.md21k starsChanged 3 years agoApache-2.0View on GitHub

This document defines machine-readable instructions and technical guardrails for AI coding assistants, agents, and LLMs working on the Filament repository. All AI-generated code, refactorings, and cleanups must strictly adhere to the standardized skills located under the skills/ directory. AI agents must consult and strictly follow the corresponding skill files for each respective development and validation phase:

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 3 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 4 mentionsSep 2026: 6 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the google/filament repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about google/filament

The biggest 5 of 43 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 43

Talked about on GitHub, Bluesky and Hacker News (43 times).

On GitHub · 38

33 more on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Commit Messages: Commit messages should be formatted with the 50/72 rule: 50 is the maximum number of characters of the commit title, and …

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Filament AI Coding & Agent Guidelines

This document defines machine-readable instructions and technical guardrails for AI coding assistants, agents, and LLMs working on the Filament repository. All AI-generated code, refactorings, and cleanups must strictly adhere to the standardized skills located under the skills/ directory.


Core AI Skills & Guidelines

AI agents must consult and strictly follow the corresponding skill files for each respective development and validation phase:

1. C++ Code & Header Integrity

  • skills/cpp_header_inclusion/SKILL.md: Dynamic C++ Header Inclusion layering, logical layering hierarchy, and reordering rules.
  • skills/header_self_containment/SKILL.md: Strict Header Self-Containment requirement to ensure every header compiles independently.
  • skills/preprocessor_guard_hygiene/SKILL.md: Preprocessor guard alphabetizing and macro-dependent template hygiene.
  • skills/cpp_static_thread_safety/SKILL.md: Thread capability annotations (UTILS_GUARDED_BY, UTILS_REQUIRES), LockGuard invariants, and lambda CV bypass rules.

2. Workspace Operations, Verification, and Builds

  • skills/verification_protocols/SKILL.md: Mandatory verification pipeline (include formatting, desktop compilation, core test runs) before concluding a C++ task.
  • skills/filament_build_clean/SKILL.md: Clean commands, debug desktop compilation, and release desktop compilation protocols.
  • skills/filament_desktop_testing/SKILL.md: Instructions for executing and filtering tests and benchmarks on desktop.
  • skills/filament_android_development/SKILL.md: Android development, compilation with Perfetto, binary deployment, shell invocation, and formatted benchmarking.

3. Code Style

  • Code Formatting: Code formatting in Filament code (not third_party/) should follow the formatting convention in CODE_STYLE.md.

4. Commit Conventions

  • Commit Messages: Commit messages should be formatted with the 50/72 rule: 50 is the maximum number of characters of the commit title, and 72 is the maximum character length of the commit body.

5. Cross-Platform Language Bindings

  • skills/bindings_synchronization/SKILL.md: Synchronization guidelines for Java/JNI (Android) and JavaScript/TypeScript (Web/WASM) when public C++ APIs change.

6. Code Review & Invariant Auditing

  • skills/code_review/SKILL.md: Adversarial systems, concurrency, memory-model, and architecture code review protocol.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.