- Create AGENTS.md (90 lines) as shared foundation for Claude Code + Antigravity - Slim CLAUDE.md from 113 to 45 lines (Claude-specific only, references AGENTS.md) - Slim GEMINI.md from 58 to 26 lines (Antigravity-specific only, references AGENTS.md) - Add 6 Antigravity workflows in .agent/workflows/ (session-start, preflight, token-sync, visual-qa, build-component, page-review) - Add docs/reference/cross-tool-workflow.md with task routing, quality gates, file ownership, error mitigation - Zero content overlap between CLAUDE.md and GEMINI.md (was ~80%) - File ownership boundaries defined for current phase and future backend work Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Claude Code — FA 2.0 Design System
Follow all rules in AGENTS.md. This file contains Claude-specific behaviour only.
Session startup (automatic)
At the start of every session, automatically:
- Read
docs/memory/session-log.md,decisions-log.md,component-registry.md - Check
docs/reference/retroactive-review-plan.mdfor pending review tiers - If reviews remain, run the next step (~30-60 min) before the user's main request
- Report findings, then shift to whatever the user wants to work on
This is "morning housekeeping" — the user has approved this and expects it.
Memory system
Before starting any work, read:
docs/memory/decisions-log.md— all design decisions with rationaledocs/memory/component-registry.md— status of every componentdocs/memory/token-registry.md— all tokens with values and usage notesdocs/memory/session-log.md— recent sessions; older indocs/memory/archive/
After completing work, update the relevant memory files and session-log.md.
MCP servers
- Figma remote MCP — read FA 1.0 designs, extract design context
- Storybook MCP — query component library for available components and props
Setup instructions: docs/reference/mcp-setup.md
Commit co-author
Append to every commit message:
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Cross-tool workflow
This project uses both Claude Code and Google Antigravity.
See docs/reference/cross-tool-workflow.md for task routing and coordination.
Claude Code owns: component building, token creation, code quality, memory updates, git. Antigravity owns: visual QA, browser-based verification, page-level review screenshots.