Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .agents/rules/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ globs: docs/*.md
* Act as an expert in tech writing, Sphinx, MyST, and markdown.
* Wrap lines at 80 columns.
* Use hyphens (`-`) in file names instead of underscores (`_`).
* Document user-visible behavior, not internal workarounds or implementation
details.
* **How-to Guides (`docs/howto/`)**:
* Prefer adding sections to an existing topical guide (e.g.
`docs/howto/build-a-wheel.md`) over creating a separate granular file.
Expand Down
2 changes: 2 additions & 0 deletions .agents/rules/starlark.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ globs: "*.bzl,BUILD,BUILD.bazel,*.bazel"
`is_linux_x86_64`), so that `select()` keys read as conditions.
* **Docstring Formatting Invariants**: Use triple-quoted strings for multi-line
docstrings without trailing backslashes (`\`) for line continuation.
* **Workaround Comments**: Comment non-obvious workarounds with the intent, why
the direct approach fails, and why the workaround works.
* **No Bazel Copyright Headers**: Do not add Bazel copyright headers to new or
existing files unless explicitly directed by the user.
* **Line Length & Wrapping**: Wrap Markdown and Starlark lines to 80 columns in
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/review-code/review-docs-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ in `git diff` against the project's documentation rules:
version numbers).
7. Check documentation build correctness: ensure new `.bzl` files or public
APIs are included in `//docs:docs` or relevant docs build targets.
8. Ensure docs describe user-visible behavior, not internal workarounds or
implementation details.

@.agents/skills/review-code/review-report-format.md
2 changes: 2 additions & 0 deletions .agents/skills/review-code/review-starlark-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ in `git diff` against the project's Starlark coding rules and conventions:
8. Prefer `types.is_*` helpers from `@bazel_skylib//lib:types.bzl` over
`type(x)` comparisons.
9. Verify `config_setting` names start with `is_` (or `_is_` when private).
10. Verify non-obvious workarounds have comments stating the intent, why the
direct approach fails, and why the workaround works.

@.agents/skills/review-code/review-report-format.md
Loading