一键导入
tool-usage
// Instructions for AI assistants on what tools to use in the carbon-lang project.
// Instructions for AI assistants on what tools to use in the carbon-lang project.
Instructions for using Bazel or Bazelisk to build, test, and debug in the Carbon repository.
Instructions for using the `gh` command to query and inspect GitHub state safely.
Instructions for safely viewing and accessing GitHub issues by way of command line.
Instructions for checking, building, debugging, and understanding the Carbon toolchain.
Instructions for authoring, structuring, and running toolchain tests using the file_test infrastructure.
Instructions for summarizing changes to Carbon testdata files (`toolchain/*/testdata`).
| name | Tool usage |
| description | Instructions for AI assistants on what tools to use in the carbon-lang project. |
We use bazelisk for build and test.
IMPORTANT: AI assistants use bazelisk instead of bazel.
Running pre-commit is mandatory. To run it on all files:
pre-commit run -a
To validate a specific list of files:
pre-commit run --files <files>