Files
carbon-lang/AGENTS.md
T
Richard Smith 1cb0eecc1e Add skills for diagnostics and builtin functions. (#7277)
Also make some updates and improvements to fine-tune existing skills.

Simplify AGENTS.md to remove redundant instructions that duplicate
information that's already in skill files -- skills should be loaded
automatically and should not need to be redundantly specified in
AGENTS.md.

Assisted-by: Gemini via Antigravity
2026-05-28 23:58:37 +00:00

1.2 KiB

Gemini & AI Assistant Guide for Carbon

This document provides high-density technical context for AI assistants contributing to the Carbon Language project.

General instructions

  • Communication: Be concise, professional, and technical. Use GitHub-style markdown.
  • Verification: Always run relevant tests.

Project structure

  • common/: Common C++ utilities used across the project.
  • core/: The Carbon standard library (Core).
  • docs/: Project documentation, design, and style guides.
  • examples/: Example Carbon programs and code snippets.
  • proposals/: Evolution proposals.
  • testing/: Testing utilities and infrastructure.
  • toolchain/: The C++ implementation of the compiler (Toolchain).

Bazel usage

[!IMPORTANT] Always use bazelisk instead of bazel for all commands in the Carbon project. Refer to the Bazel usage skill for detailed instructions.