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.

Antigravity350agents129skills2design14operations26

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-07-17
Three Quarters of My Reference Notes Never Reached the Agent: Measuring What head Cuts Away
I fed reference notes to a scheduled agent with cat and head, and the lines that mattered were quietly cut. Here is the measurement, and how I replaced a line count with a section-level contract.
Agents & Manager2026-07-12
What to Delegate to an Antigravity Agent and What to Keep by Hand, After Two Weeks
After two weeks of handing my daily solo-dev tasks to Antigravity agents, a clear line emerged between the work I was glad to delegate and the work I had to pull back. A retrospective with the operational log.
Agents & Manager2026-07-01
Detecting and Fixing Drift Between a Guide Skill and Your Code
Pin a procedure into a built-in Guide skill and it gets left behind when the code later changes. Here is an operational design that machine-checks the things a Guide references, catches drift early, and keeps the Guide thin.
📚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 →