ANTIGRAVITY LABJP
Articles/Agents & Manager
Agents & Manager/2026-06-28Intermediate

Treating Built-in Guide Skills as Design Assets, Not Throwaway Prompts

Antigravity v2.2.1 added built-in Guide skills. Here is a concrete structure and set of judgment calls for running them as version-controlled, shared design assets instead of one-off instructions.

Antigravity283agents108skillsdesign11operations16

Premium Article

Do you ever feel like you keep explaining the same things to your agent? The directory conventions, the commit message style, the points you always check in review. If you paste those in at the start of every conversation, your time dissolves before you reach the work you actually wanted to do.

Antigravity v2.2.1 added built-in Guide skills, which let you freeze that repetition into a reusable skill. The question is whether you consume it as a one-time convenience or grow it into a place where your knowledge and your team's knowledge accumulate. That choice changes how much value you get six months from now.

As an indie developer, I run several blogs and apps in parallel under Dolice, so the background knowledge I feed agents grows without limit if I leave it unmanaged. Every time I wrote a Guide skill as a throwaway, I ended up rewriting near-identical content three or four times. Once I settled on an operating pattern, the agent's first moves stabilized and the re-explaining dropped noticeably. Here is that pattern.

A Guide skill moves knowledge outside the conversation

The point of a Guide skill is to lift the premises you used to carry in conversation context out into referenceable external knowledge. That behaves quite differently from writing the same thing directly into a prompt.

AspectRepeat in each promptAs a Guide skill
UpdatesRe-paste by hand each timeFix one file, reflected everywhere
HistoryNone, untraceableIntent is traceable in Git diffs
SharingStuck in personal notesReaches the whole team via the repo
Context costBurns tokens every timeLoaded only when needed

History is what helps most. If you record why a convention exists in the skill's change log, your future self avoids relitigating the same debate. For me, that single benefit justifies putting skills under Git.

Split into three layers so skills do not bloat

The common early mistake is cramming everything into one skill. When conventions, procedures, and troubleshooting all live in a single file, the agent cannot pick the relevant section by context, and accuracy actually drops.

I split skills into three layers by role.

Layer 1: Invariant premises (foundation)

The universal agreements of the project. Low change frequency, referenced by nearly every task.

.antigravity/guides/
├── foundation/
│   ├── repo-conventions.md      # directory and naming rules
│   ├── commit-style.md          # commit message shape
│   └── review-checklist.md      # mandatory review points

Layer 2: Per-task procedures (workflows)

The steps for recurring work, like "add one article" or "bump a dependency." Because these are procedures, I spell the steps out as a numbered list.

├── workflows/
│   ├── add-article.md           # adding an article
│   ├── dependency-bump.md       # bump and verify
│   └── release-checklist.md     # pre-release checks

Layer 3: Pitfalls and fixes (pitfalls)

Traps you have hit before, recorded as symptom-and-fix pairs. When the agent enters a similar situation, pointing it here stops it from repeating the failure.

└── pitfalls/
    ├── edge-cache-stale.md      # cache-driven inconsistency
    └── i18n-count-mismatch.md   # detecting JA/EN count drift

My rule of thumb is 200-400 lines per file. Past that, it is a sign the file mixes multiple concerns, so I consider splitting. Under 50 lines, I consider merging it into a related skill.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
A three-layer directory structure for Git-managed Guide skills you can grow over time
Why one bloated skill hurts accuracy, and the 200-400 line rule for splitting them
A small smoke-test script plus a monthly staleness check so skills never quietly rot
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Agents & Manager2026-06-28
A Review Gate Design for Safely Folding Parallel Agents' Diffs into One Branch
Antigravity 2.0 made running multiple agents in parallel practical, but verifying each agent's output and integrating it into one branch is left to you. Here is how to build a diff-level review gate in stages, with judgment criteria and scripts.
Agents & Manager2026-04-26
Designing Antigravity Agent Traces That Tell You Why It Failed — Observability in Practice
Run Antigravity agents long enough and unreadable failure logs pile up fast. This piece walks span structure, attribute design, failure tagging, dashboards, cost visibility, and retry policy — backed by six months of production metrics — so you can cut post-incident debugging time in half.
Agents & Manager2026-06-27
Keep a Tamper-Evident Audit Log of Your Autonomous Agent's Actions
To record the decisions and actions an Antigravity agent takes autonomously in a form you can trace and verify later, design an append-only audit log whose hash chain detects tampering. Includes the implementation.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →