12 Commits
Author SHA1 Message Date
Kam 249f55f2c6 docs: correct the adev writing guide skill
The skill documents code block metadata as `header="Title"` and
`highlight="[1, 3-5]"`, but the tokenizer has only ever read the
`key: value` form. Since 7bbe2636dc that mismatch is fatal rather than
silent, so a guide written to the skill's own example now fails the
build with `Invalid code block metadata`. That change did not update
this file.

Correct the metadata syntax and document the `highlight` range
semantics and the `hideDollar` flag. Drop the `<docs-code>` `diff`
attribute, removed in 8ec0a4ee5c, and stop describing `preview` as a
StackBlitz link, which is disabled. Add the attributes `<docs-code>`
and `<docs-card>` accept, correct `<docs-video>` to `title` rather
than `alt`, which the extension has never read, and note that mermaid
works only in a fenced block.
2026-09-22 14:14:44 -07:00
Kam 5cd618f85c fix(dev-infra): handle missing arguments and gh failures in PR review script
`determine_review_type.sh` sets `set -euo pipefail`, which breaks its own error
handling. With no arguments, `[ -z "$1" ]` trips `set -u` and bash exits with an
`unbound variable` error before the usage text prints. When a `gh` call fails,
`set -e` exits at the command substitution, so the `if [ $? -ne 0 ]` checks below
it never run and the error messages never print.

Check `$#` before reading `$1`, and test the `gh` calls with `if ! VAR=$(...)`,
which is `set -e` safe, so the messages already in the script can fire. Reject an
empty argument as well, since `gh pr view ""` falls back to the pull request of
the current branch and the script then reports on the wrong one. Pass the argument
after `--` so a value that starts with a dash is not read as a flag, and send the
errors to stderr, because stdout carries the `local` or `remote` result.

Add the `command -v gh` guard the four sibling scripts in this directory already
have, so a missing `gh` reports itself instead of looking like a login problem.
2026-09-21 12:30:29 -07:00
Jaime Burgos b61742c7c8 docs: update compiler-cli and core reference skills 2026-09-21 09:39:20 -07:00
Andrew Scott ad3c16562b docs: add guidelines for Object.create(null) PRs to PR review skill 2026-08-21 11:36:46 -07:00
SkyZeroZx 7e39b4aedb docs: update signal forms skill to match the current implementation 2026-08-19 11:07:46 -07:00
Andrew Scott d919f9a13e refactor: attempt stronger automatic comment blocking
Updates the PR review skill to have stronger language against automatic comment posting
without explicit approval
2026-04-30 15:45:40 -07:00
Andrew Scott 357cb15208 refactor: use stronger language for adev writing guide
use stronger language to improve skill usage hits for adev writing.
2026-04-27 15:29:04 -07:00
Doug Parker 337e6e7d6e refactor: add flaky tests workflow
I've had some success asking the Antigravity agent to find flaky tests and propose fixes for them, then just running it in the background and reviewing what it finds. Upstreaming this to the repo so others can use it, since it includes helpful notes like `--runs_per_test` and leveraging random seeds as well as an iteration loop.

I opted not to have the agent do anything with PRs just yet, but if this is useful and we build confidence in it, we can explore that in the future.
2026-04-10 16:45:32 +03:00
Jessica Janiuk b82901f8f9 fix(dev-infra): improve PR review skill handling of git worktrees
The current PR review skill blindly attempts to checkout branches using the `gh` CLI.
This creates fatal errors if the branch being checked out is already tied to a different git worktree.
Additionally, the logic didn't give the user a clear way to enforce a remote code review when they are the author.

This change updates the `Execution Workflow` to prioritize an explicit user instruction to review remotely, and updates the `Local Code Review` instructions to enforce checking for worktree conflicts before executing local checkouts.
2026-03-26 17:49:28 +01:00
Andrew Scott 2e34924647 feat(dev-infra): add PR review agent skill
This commit introduces an AI agent skill for reviewing pull requests
against the Angular repository. It establishes guidelines for ensuring
code cleanliness, performance, testing, API design, and payload size.

It supports performing reviews through both the GitHub CLI (remote) and
local editing, factoring in package-specific guidelines (e.g., router)
and prioritizing user approval before posting comments. By checking existing
comments first, the agent can avoid duplicate reviews.

This provides the AI agent with a reproducible workflow for providing
constructive, manual PR feedback.
2026-03-16 14:25:47 -06:00
Miles Malerba 62453330f5 build: add workspace rule for antigravity
Antigravity does not support AGENTS.md, instead it has "workspace rules" (antigravity.google/docs/rules-workflows). This commit adds a symlink for the workspace rule.
2026-02-11 15:23:05 -08:00
Miles Malerba 50e74add52 build: add skills in antigravity
Adds a symlink `.agent/skills` to `.gemini/skills`. This will allow
antrigravity which searches under `.agent` to see them.
2026-02-11 13:39:52 -08:00