Your team wants Antigravity to follow the same coding standards and architecture constraints in every conversation. What do you use?
- Exam domain
- Using coding agents for application development~17% of the exam
- Difficulty
- Easy
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Customizing coding agents for enterprise workflows.
Objective in the exam guide: Creating skills, plugins, extensions hooks, rules, and subagents using Antigravity.
Rules carry team standards into every conversation.
Why B is the answer
Rules, such as an AGENTS.md or GEMINI.md file in the repository
Rules are persistent instructions, coding standards and constraints that apply to every conversation.
Remember: Always-on guidance is a rule.
How it works
Rules files such as AGENTS.md or GEMINI.md load into every conversation in that workspace.
Use them for always-on guidance such as coding standards.
Clues in the question
The words that point to the answer, and what each one tells you.
- in every conversation
- Always loaded, so rules.
In detail
- Skills are loaded for specific tasks, while rules are always on.
- Keep rules short, and move long procedures into skills.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A subagent that starts with a clean contextWrong
A subagent is for isolating work, not for standards.
B. Rules, such as an AGENTS.md or GEMINI.md file in the repositoryRight
Always-on guidance is a rule.
C. A skill that the agent loads only for one kind of taskWrongMost tempting
A skill is not applied to every conversation.
Why it tempts: Skills load on demand for a task, not for every conversation.
D. A PostToolUse hook that checks style afterwardsWrong
A hook can check, but it does not guide how code is written.
Use case
An illustrative scenario, not a real incident.
Illustrative: a repository's AGENTS.md says to use the shared logger and never call the payments API directly. Every agent session follows it.
See it in different ways
mindmap
root(("Antigravity"))
n1["Rules"]
n2["Always on"]
n3["AGENTS.md or GEMINI.md"]
n4["Skills"]
n5["Loaded for a task"]
n6["Folder with SKILL.md"]
n7["Hooks"]
n8["Scripts at loop events"]
n9["Can block a tool call"]
n10["Plugins"]
n11["Bundle skills, rules, MCP, hooks"]
n12["Subagents"]
n13["Clean context"]
n14["Run in parallel"]How to read this chart
- The centre is "Antigravity".
- "Rules" covers "Always on", "AGENTS.md or GEMINI.md".
- "Skills" covers "Loaded for a task", "Folder with SKILL.md".
- "Hooks" covers "Scripts at loop events", "Can block a tool call".
- "Plugins" covers "Bundle skills, rules, MCP, hooks".
- "Subagents" covers "Clean context", "Run in parallel".
flowchart TD
Q{"When should it apply?"}
Q -->|"Every conversation"| A0["Rule"]
Q -->|"Only for one kind of task"| A1["Skill"]How to read this chart
- At "When should it apply?": if "Every conversation", go to "Rule"; if "Only for one kind of task", go to "Skill".