/senior-data-engineer:context-capturefrom senior-data-engineer
Saves compact project context, architectural decisions, and handoff state to context/memory/ for continuity between Claude Code and Google Antigravity sessions. Run at task completion or on explicit save/record/handoff requests.
Ships in senior-data-engineer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill preserves durable project context, architectural decisions, conventions, and active handoff state across AI sessions using the Cross-AI LLM Wiki (context/memory/) shared seamlessly between Claude Code and Google Antigravity. At milestone completion (State 5), it updates living wiki pages in-place, appends a concise daily log block, and ensures target user repositories maintain a concise root AGENTS.md (<= 90 lines) wired to executable commands, root DESIGN.md, and context/memory/MEMORY.md. It also supports an optional scripted archive mode (context/sessions/).
State 5 (Ship & Finish): Run ONLY after QA verification (exit code 0) and compliance audit (APPROVED) pass.shared-context checkpoints: When closing a standalone session containing durable architectural or convention changes.State 0–State 4): Never checkpoint every few tool calls or mid-implementation.context/memory/) + Target-Project AGENTS.md Synccontext/memory/MEMORY.md (Master Wiki Index & Handoff State, <= 80-100 lines):
Claude Code or Antigravity), active branch/task, completed milestone, and immediate next step.`[architecture.md]` (`./architecture.md`) and `[conventions.md]` (`./conventions.md`).`[YYYY-MM-DD.md]` (`./log/YYYY-MM-DD.md`).context/memory/architecture.md & context/memory/conventions.md:
context/memory/log/YYYY-MM-DD.md (Single Daily Chronological Log):
## [HH:MM | Host: Claude Code | Antigravity] <Task Title>
- **Outcome**: <1-2 lines of what was built and verified>
- **Decisions**: <1-2 lines or pointer to ../architecture.md>
- **Next / Pending**: <Immediate next step for the next AI session>
AGENTS.md Bootstrap / Sync (<= 90 lines):
AGENTS.md—or when build/test/lint commands, tech stack, directory conventions, or root DESIGN.md changed—bootstrap or update root AGENTS.md (<= 90 lines, following the 4-section open AGENTS.md template in skills/loop-engineering/references/project-agents-template.md):
## 1. Project Overview & Tech Stack (3–5 lines)## 2. Executable Commands (Install, Dev, Test, Lint / Typecheck, Build)## 3. Architecture & Coding Conventions (directory layout & non-obvious invariants)## 4. Design & Persistent Memory (explicit links to root DESIGN.md for UI tokens and context/memory/MEMORY.md + architecture.md/conventions.md/log/ for silent cross-session AI memory).context/sessions/)For standalone shared-context archive workflows with automated secret redaction («REDACTED:...») and .tar.xz compression:
python3 ./skills/context-capture/scripts/context_snapshot.py --task "<summary>" --agent "<model-id>" --status in-progress
python3 ./skills/context-capture/scripts/context_snapshot.py --session <id> --status done
python3 ./skills/context-capture/scripts/context_rollup.py
python3 ./skills/context-capture/scripts/context_pack.py --auto
# Primary State 5 / handoff files:
# AGENTS.md (<= 90 lines in target projects; links DESIGN.md & MEMORY.md)
# context/memory/MEMORY.md (<= 80-100 lines, compacted in-place)
# context/memory/architecture.md (living ADR & boundary digest)
# context/memory/conventions.md (durable stack & user conventions)
# context/memory/log/YYYY-MM-DD.md (5-8 line milestone block appended)
# Optional unpack helper for archived sessions:
python3 ./skills/context-capture/scripts/context_pack.py --unpack <session-id>
context/memory/ (and bootstrap/sync target-project root AGENTS.md when missing or outdated) at State 5 or explicit handoff.State 0–State 4) or trivial Q&A prompts.context/memory/MEMORY.md exceed 100 lines or root AGENTS.md in target projects exceed 90 lines.AGENTS.md pointing to DESIGN.md (when UI exists) and context/memory/MEMORY.md.context/.context/memory/MEMORY.md updated in-place (<= 80-100 lines) with host, branch/task, summary links, and last 5 daily logs.context/memory/architecture.md and context/memory/conventions.md updated in-place if architecture or conventions changed.context/memory/log/YYYY-MM-DD.md has a 5–8 line milestone entry appended.AGENTS.md (<= 90 lines) bootstrapped or updated when missing or when commands/architecture/DESIGN.md changed.references/record-schema.md (opens in a new tab)scripts/context_common.py (opens in a new tab)scripts/context_pack.py (opens in a new tab)scripts/context_rollup.py (opens in a new tab)scripts/context_snapshot.py (opens in a new tab)templates/architecture.md (opens in a new tab)templates/decisions.md (opens in a new tab)templates/flows.md (opens in a new tab)templates/preferences.md (opens in a new tab)templates/summary.md (opens in a new tab)templates/topics.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jggomez/expert-ai-developer-skills --plugin senior-data-engineer4 skills in this plugin
/cdc-scd-patternsGuides Change Data Capture (CDC) ingestion via Datastream and Slowly Changing Dimension (SCD) modeling in BigQuery/Dataform. Use when replicating an operational database, designing history-tracking dimension tables, or implementing SCD Type 1/2 merge logic./context-restoreUse at session start (State 0) or when asked to "load context", "catch up", or "what was done before" — prioritizes LLM Wiki Progressive Disclosure (context/memory/MEMORY.md) across Claude Code and Google Antigravity while supporting user-confirmed restore for scripted sessions (context/sessions/)./Other plugins' skills for the same job