everything-gemini 1.1.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- package/.github/ISSUE_TEMPLATE/subagent_proposal.md +29 -0
- package/.github/workflows/ci.yml +72 -1
- package/.github/workflows/release.yml +17 -2
- package/.vscode/extensions.json +8 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +167 -0
- package/CONTRIBUTING.md +85 -4
- package/README.md +139 -18
- package/SECURITY.md +38 -0
- package/action.yml +35 -0
- package/agents/browser-qa.md +1 -1
- package/agents/database-migrator.md +26 -0
- package/agents/documentation-writer.md +27 -0
- package/agents/incident-responder.md +34 -0
- package/agents/performance-tuner.md +27 -0
- package/agents/release-engineer.md +34 -0
- package/bin/everything-gemini +1550 -86
- package/docs/COMMUNITY_SUBMISSIONS.md +88 -0
- package/docs/LAUNCH_KIT.md +148 -22
- package/docs/architecture/progressive-disclosure.md +3 -3
- package/docs/index.html +401 -37
- package/docs/launch-kit.md +163 -0
- package/examples/cli-workflows/README.md +45 -0
- package/examples/cli-workflows/demo_workflow.sh +39 -0
- package/examples/python-sdk/README.md +28 -5
- package/examples/python-sdk/documentation_audit_pipeline.py +83 -0
- package/examples/python-sdk/incident_triage_pipeline.py +170 -0
- package/examples/python-sdk/multi_agent_pipeline.py +95 -0
- package/examples/python-sdk/release_readiness_audit.py +144 -0
- package/hooks/secret-scrubber/hooks.json +16 -0
- package/hooks/secret-scrubber/scripts/scrub-secrets.sh +62 -0
- package/mcp/README.md +20 -0
- package/mcp/mcp_config.example.json +35 -0
- package/package.json +3 -1
- package/plugins/core/rules/core-practices.md +63 -4
- package/plugins/python-ai/rules/ai-agent-patterns.md +67 -4
- package/plugins/security-shield/rules/zero-trust.md +60 -4
- package/plugins/web-fullstack/rules/frontend-standards.md +74 -4
- package/rules/paradigms/security-hardened.md +53 -10
- package/rules/paradigms/tdd.md +65 -8
- package/scripts/install.ps1 +14 -0
- package/scripts/install.sh +15 -1
- package/scripts/validate.sh +103 -12
- package/skills/agent-evals/SKILL.md +61 -0
- package/skills/apache-kafka-streams/SKILL.md +152 -0
- package/skills/argo-workflows/SKILL.md +151 -0
- package/skills/axum-web-service/SKILL.md +159 -0
- package/skills/cilium-ebpf-networking/SKILL.md +145 -0
- package/skills/clickhouse-analytics/SKILL.md +128 -0
- package/skills/dbt-transformation/SKILL.md +179 -0
- package/skills/debezium-cdc/SKILL.md +166 -0
- package/skills/docker-compose-orchestrator/SKILL.md +85 -0
- package/skills/duckdb-local-olap/SKILL.md +134 -0
- package/skills/fastapi-production/SKILL.md +157 -0
- package/skills/graphql-architect/SKILL.md +78 -0
- package/skills/grpc-connect-rpc/SKILL.md +176 -0
- package/skills/langgraph-orchestrator/SKILL.md +144 -0
- package/skills/litellm-proxy-gateway/SKILL.md +154 -0
- package/skills/nats-jetstream/SKILL.md +122 -0
- package/skills/open-telemetry-tracing/SKILL.md +151 -0
- package/skills/playwright-visual-regression/SKILL.md +124 -0
- package/skills/redis-cache-patterns/SKILL.md +159 -0
- package/skills/svelte-kit-architect/SKILL.md +190 -0
- package/skills/temporal-workflows/SKILL.md +158 -0
- package/skills/trpc-react-query/SKILL.md +169 -0
- package/skills/turborepo-monorepo/SKILL.md +199 -0
- package/skills/vllm-inference/SKILL.md +144 -0
- package/skills/wasm-rust-optimizer/SKILL.md +130 -0
- package/templates/full-power/hooks.json +14 -0
- package/templates/full-power/mcp_config.json +43 -0
- package/templates/recommended/hooks.json +14 -0
- package/tests/cli.test.js +383 -0
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
[](https://salmandev.github.io/everything-gemini/)
|
|
8
8
|
[](https://www.npmjs.com/package/everything-gemini)
|
|
9
9
|
[](https://github.com/salmandev/everything-gemini/actions/workflows/ci.yml)
|
|
10
|
+
[](https://github.com/salmandev/everything-gemini/actions/workflows/ci.yml)
|
|
11
|
+
[](https://github.com/salmandev/everything-gemini)
|
|
10
12
|
[](LICENSE)
|
|
11
13
|
[](https://antigravity.google)
|
|
12
14
|
[](https://github.com/salmandev/everything-gemini)
|
|
@@ -35,7 +37,7 @@ Out of the box, Antigravity is a formidable pair programmer. But without structu
|
|
|
35
37
|
2. 🧠 **Progressive Disclosure Skills (`skills/`)**: On-demand procedural playbooks that load *only* when needed, saving up to **85% in token overhead**.
|
|
36
38
|
3. 📏 **Hierarchical Rules (`GEMINI.md` / `AGENTS.md`)**: Context-aware coding standards, zero-hallucination protocols, and clean-architecture rules.
|
|
37
39
|
4. 🔌 **Plug-and-Play Plugins (`plugins/`)**: Domain bundles for Fullstack Web, Python AI, DevOps, and Security.
|
|
38
|
-
5. 🌐 **Curated MCP Servers (`mcp/`)**:
|
|
40
|
+
5. 🌐 **Curated MCP Servers (`mcp/`)**: Production blueprints for Persistent Semantic Memory (`@modelcontextprotocol/server-memory`), High-Performance Cache (`@modelcontextprotocol/server-redis`), Container Engine (`@modelcontextprotocol/server-docker`), Real-Time OLAP (`@modelcontextprotocol/server-clickhouse`), Web Fetch (`server-fetch`), GitHub, PostgreSQL, and SQLite.
|
|
39
41
|
6. 🤖 **Subagent & Browser Automation**: Specialized recipes for autonomous browser subagents with automated WebP recording.
|
|
40
42
|
|
|
41
43
|
---
|
|
@@ -77,8 +79,20 @@ cd everything-gemini
|
|
|
77
79
|
| Profile | Target Audience | What Gets Installed |
|
|
78
80
|
| :--- | :--- | :--- |
|
|
79
81
|
| **`core`** | Minimalists & Speed | Safety-shield hook, TDD skill, repo-onboarding skill, baseline `GEMINI.md`. |
|
|
80
|
-
| **`developer`** *(Recommended)* | Daily Software Engineers | Core +
|
|
81
|
-
| **`full`** | Lead Engineers & Archs | Everything: all
|
|
82
|
+
| **`developer`** *(Recommended)* | Daily Software Engineers | Core + 11 Scoped Subagents (`agents/`), Frontier Skills (Multimodal vision, 2M context caching, Subagent handoff, Security audit), Fullstack & Python AI plugins, Auto-formatter & Goal-verifier hooks. |
|
|
83
|
+
| **`full`** | Lead Engineers & Archs | Everything: all 52 progressive skills, 11 scoped subagents, full lifecycle hooks suite (7 hooks), all plugins, MCP configs, and templates. |
|
|
84
|
+
|
|
85
|
+
### 5. In CI / GitHub Actions Workflows
|
|
86
|
+
|
|
87
|
+
Automate Everything Gemini skill, subagent, and lifecycle safety hook provisioning directly in your CI pipelines using our official composite action:
|
|
88
|
+
|
|
89
|
+
```yaml
|
|
90
|
+
- name: Setup Everything Gemini
|
|
91
|
+
uses: salmandev/everything-gemini@v1
|
|
92
|
+
with:
|
|
93
|
+
profile: developer # core | developer | full
|
|
94
|
+
global: false # true for ~/.gemini/config/, false for active workspace .agents/
|
|
95
|
+
```
|
|
82
96
|
|
|
83
97
|
---
|
|
84
98
|
|
|
@@ -130,7 +144,7 @@ flowchart TB
|
|
|
130
144
|
| **Context Window & Caching** | 200k tokens, ephemeral | **1M-2M+ tokens with Native Prefix Context Caching (~75% cost savings)** |
|
|
131
145
|
| **Memory System** | Flat markdown files | **Knowledge Items (KI)** + **Adaptive Learned Instincts** |
|
|
132
146
|
| **UI & Visual Multimodality** | Standard text output | **Native `browser_subagent` + WebP Screen Video Recording + Vision** |
|
|
133
|
-
| **Subagents Fleet** | Manual sub-prompts | **
|
|
147
|
+
| **Subagents Fleet** | Manual sub-prompts | **10 Scoped Subagents (`agents/`) with Formal Handoff Protocol** |
|
|
134
148
|
| **Lifecycle Hooks** | Shell scripts | Typed protojson contracts (`PreToolUse`, `PostToolUse`, `PreInvocation`, `PostInvocation`, `Stop`) |
|
|
135
149
|
| **Tool Integration** | Claude tool use | **MCP standard (Stdio & SSE)** with auto-discovery & namespacing |
|
|
136
150
|
|
|
@@ -142,10 +156,10 @@ flowchart TB
|
|
|
142
156
|
everything-gemini/
|
|
143
157
|
├── .github/ # CI/CD workflows & issue templates
|
|
144
158
|
├── bin/ # Zero-dependency harness & scaffolding CLI
|
|
145
|
-
├── agents/ # Scoped subagent fleet (Planner, Reviewer,
|
|
159
|
+
├── agents/ # Scoped subagent fleet (Planner, Reviewer, Release Engineer, etc.)
|
|
146
160
|
├── scripts/ # Automated installers and harness validators
|
|
147
161
|
├── plugins/ # Reusable modular plugins (web-fullstack, python-ai, security)
|
|
148
|
-
├── skills/ #
|
|
162
|
+
├── skills/ # 48 Progressive disclosure skills (46 core + 2 plugins)
|
|
149
163
|
├── rules/ # Contextual guidelines & standards
|
|
150
164
|
├── hooks/ # Event-driven lifecycle hooks (GeminiShield, Auto-lint)
|
|
151
165
|
├── mcp/ # Production-ready MCP server blueprints
|
|
@@ -169,23 +183,53 @@ Everything Gemini provides specialized subagent specifications designed for Anti
|
|
|
169
183
|
| **[`browser-qa`](agents/browser-qa.md)** | Automated Visual QA | Native browser testing with automated WebP recording into artifacts. |
|
|
170
184
|
| **[`security-auditor`](agents/security-auditor.md)** | Security Auditor | Credential scanning, OWASP Top 10, dependency audit, permission gates. |
|
|
171
185
|
| **[`architect`](agents/architect.md)** | Systems Architect | C4 Mermaid blueprints, sequence diagrams, and formal ADR records. |
|
|
186
|
+
| **[`database-migrator`](agents/database-migrator.md)** | Database Schema Specialist | Zero-downtime expand/contract SQL migrations, lock analysis, and rollbacks. |
|
|
187
|
+
| **[`performance-tuner`](agents/performance-tuner.md)** | Latency & Profiling Expert | CPU/memory flamegraphs, database execution plans, and N+1 waterfalls. |
|
|
188
|
+
| **[`documentation-writer`](agents/documentation-writer.md)** | Technical Documentation Specialist | API specifications, ADR governance, changelogs, and clickable file:// link fidelity. |
|
|
189
|
+
| **[`release-engineer`](agents/release-engineer.md)** | Release Automation Gatekeeper | Semantic Versioning, build artifact checksums, git release tagging, and canary rollouts. |
|
|
190
|
+
| **[`incident-responder`](agents/incident-responder.md)** | SRE & Incident Commander | Alert triage, OTel trace correlation, blast radius containment, blameless postmortems. |
|
|
172
191
|
|
|
173
192
|
### 1. Skills (`skills/`)
|
|
174
193
|
Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`name` and `description`) is placed into the system prompt. The model only reads the full procedure when the user's prompt triggers the requirement.
|
|
175
194
|
|
|
195
|
+
- **[`vllm-inference`](skills/vllm-inference/SKILL.md)**: High-throughput LLM serving, PagedAttention KV cache, continuous batching, and tensor parallelism.
|
|
196
|
+
- **[`debezium-cdc`](skills/debezium-cdc/SKILL.md)**: Change Data Capture (CDC) streaming, PostgreSQL logical decoding, Kafka Connect, and outbox patterns.
|
|
197
|
+
- **[`cilium-ebpf-networking`](skills/cilium-ebpf-networking/SKILL.md)**: Cloud-native eBPF networking, transparent mTLS, L7 CiliumNetworkPolicies, and Hubble observability.
|
|
198
|
+
- **[`litellm-proxy-gateway`](skills/litellm-proxy-gateway/SKILL.md)**: Enterprise LLM proxy gateway, multi-provider routing (Gemini, Claude, OpenAI), budget controls, and fallback cascades.
|
|
199
|
+
- **[`langgraph-orchestrator`](skills/langgraph-orchestrator/SKILL.md)**: Stateful multi-agent graphs, cyclic execution loops, persistent checkpointers, and human-in-the-loop pauses.
|
|
200
|
+
- **[`playwright-visual-regression`](skills/playwright-visual-regression/SKILL.md)**: Automated visual regression testing, pixelmatch snapshot diffing, cross-browser viewports, and containerized stability.
|
|
201
|
+
- **[`open-telemetry-tracing`](skills/open-telemetry-tracing/SKILL.md)**: Distributed tracing, OTLP exporters, W3C traceparent context propagation, and metric correlation.
|
|
202
|
+
- **[`argo-workflows`](skills/argo-workflows/SKILL.md)**: Kubernetes-native DAG workflows, artifact passing, container steps, retry strategies, and CronWorkflows.
|
|
176
203
|
- **[`gemini-multimodal`](skills/gemini-multimodal/SKILL.md)**: Native visual reasoning over mockups, diagrams, and automated WebP browser recordings.
|
|
177
204
|
- **[`context-caching`](skills/context-caching/SKILL.md)**: 1M-2M token context optimization, static prefix caching, and repository indexing.
|
|
178
205
|
- **[`gemini-grounding`](skills/gemini-grounding/SKILL.md)**: Real-time Google Search grounding, live documentation retrieval, and fact-checking.
|
|
179
206
|
- **[`rag-architect`](skills/rag-architect/SKILL.md)**: RAG pipeline design, AST semantic chunking, hybrid vector-keyword retrieval, and Gemini re-ranking.
|
|
180
207
|
- **[`gemini-function-calling`](skills/gemini-function-calling/SKILL.md)**: Production function declarations, structured JSON output schemas (Pydantic), and parallel tool dispatch.
|
|
181
208
|
- **[`ai-first-engineering`](skills/ai-first-engineering/SKILL.md)**: Requirement decomposition, executable acceptance criteria (BDD), and blast-radius containment.
|
|
209
|
+
- **[`agent-evals`](skills/agent-evals/SKILL.md)**: Automated evaluation pipelines, LLM-as-a-judge scoring, golden test datasets, and prompt regression testing.
|
|
182
210
|
- **[`github-ops`](skills/github-ops/SKILL.md)**: GitHub workflow automation, PR generation, code review triage, and semantic releases with `gh` CLI & GitHub MCP.
|
|
183
211
|
- **[`subagent-handoff`](skills/subagent-handoff/SKILL.md)**: Multi-agent task delegation protocol, scoped contexts, and report synthesis.
|
|
184
212
|
- **[`api-craftsman`](skills/api-craftsman/SKILL.md)**: REST, OpenAPI 3.1 specifications, gRPC protos, and RFC 7807 error envelopes.
|
|
185
213
|
- **[`database-architect`](skills/database-architect/SKILL.md)**: Zero-downtime migrations, concurrent indexing, and ACID schema modeling.
|
|
214
|
+
- **[`turborepo-monorepo`](skills/turborepo-monorepo/SKILL.md)**: High-performance monorepo build caching, task pipelines, package boundaries, and Docker pruning.
|
|
215
|
+
- **[`dbt-transformation`](skills/dbt-transformation/SKILL.md)**: Modular SQL transformations, Jinja macros, semantic layer models, schema tests, and docs.
|
|
216
|
+
- **[`apache-kafka-streams`](skills/apache-kafka-streams/SKILL.md)**: Exactly-once event streaming, stateful window aggregations, consumer group rebalancing, and Schema Registry.
|
|
217
|
+
- **[`grpc-connect-rpc`](skills/grpc-connect-rpc/SKILL.md)**: Lightweight, browser-compatible gRPC and Protocol Buffers with Connect-ES / Connect-Go and HTTP/2-3 streaming.
|
|
218
|
+
- **[`duckdb-local-olap`](skills/duckdb-local-olap/SKILL.md)**: Embedded in-process SQL analytics, direct S3/Parquet querying, and zero-copy Arrow integration.
|
|
219
|
+
- **[`nats-jetstream`](skills/nats-jetstream/SKILL.md)**: Ultra-low latency event streaming, message deduplication, durable consumer groups, and KV buckets.
|
|
220
|
+
- **[`axum-web-service`](skills/axum-web-service/SKILL.md)**: Production Rust web APIs using Axum, Tokio async runtime, Tower middlewares, and SQLx connection pools.
|
|
221
|
+
- **[`clickhouse-analytics`](skills/clickhouse-analytics/SKILL.md)**: High-throughput OLAP schemas, MergeTree engines, Kafka ingestion, and vector search.
|
|
222
|
+
- **[`temporal-workflows`](skills/temporal-workflows/SKILL.md)**: Resilient distributed workflows, retry policies, async activities, and saga compensations.
|
|
223
|
+
- **[`trpc-react-query`](skills/trpc-react-query/SKILL.md)**: End-to-end type safety, tRPC v11 routers, and TanStack React Query v5 optimistic UI.
|
|
224
|
+
- **[`wasm-rust-optimizer`](skills/wasm-rust-optimizer/SKILL.md)**: High-throughput WebAssembly modules compiled from Rust with zero-copy memory buffers.
|
|
225
|
+
- **[`fastapi-production`](skills/fastapi-production/SKILL.md)**: Production async FastAPI architecture, Pydantic v2 schemas, lifespan handlers, and health probes.
|
|
226
|
+
- **[`redis-cache-patterns`](skills/redis-cache-patterns/SKILL.md)**: Enterprise Redis caching strategies, distributed locking with atomic Lua, and sliding-window rate limiting.
|
|
227
|
+
- **[`svelte-kit-architect`](skills/svelte-kit-architect/SKILL.md)**: Modern SvelteKit apps with Svelte 5 runes ($state, $derived, $effect), SSR/prerender, and form actions.
|
|
186
228
|
- **[`fullstack-nextjs`](skills/fullstack-nextjs/SKILL.md)**: Next.js App Router, React Server Components (RSC), hydration error diagnosis, and Server Actions.
|
|
229
|
+
- **[`graphql-architect`](skills/graphql-architect/SKILL.md)**: Schema-first GraphQL APIs, DataLoader N+1 query batching, and Relay cursor pagination.
|
|
187
230
|
- **[`supabase-architect`](skills/supabase-architect/SKILL.md)**: Row Level Security (RLS) policies, pgvector embeddings, and edge function workflows.
|
|
188
231
|
- **[`cloudflare-workers`](skills/cloudflare-workers/SKILL.md)**: Serverless edge functions, Wrangler v3, D1 SQL, and KV low-latency storage.
|
|
232
|
+
- **[`docker-compose-orchestrator`](skills/docker-compose-orchestrator/SKILL.md)**: Multi-container local environments (Postgres + pgvector, Redis) with healthchecks.
|
|
189
233
|
- **[`kubernetes-operator`](skills/kubernetes-operator/SKILL.md)**: Production k8s manifests, HPA autoscaling, zero-downtime rolling updates, and health probes.
|
|
190
234
|
- **[`stripe-integration`](skills/stripe-integration/SKILL.md)**: Webhook signature verification, idempotent payments, and customer portal session flows.
|
|
191
235
|
- **[`devops-pipeline`](skills/devops-pipeline/SKILL.md)**: Multi-stage Dockerfiles and caching GitHub Actions CI/CD workflows.
|
|
@@ -198,21 +242,29 @@ Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`na
|
|
|
198
242
|
- **[`security-audit`](skills/security-audit/SKILL.md)**: Scans for credentials in commit history and audits dependency risks.
|
|
199
243
|
- **[`performance-profiler`](skills/performance-profiler/SKILL.md)**: Identifies CPU/memory bottlenecks, analyzes database queries, and critical paths.
|
|
200
244
|
- **[`continuous-learning`](skills/continuous-learning/SKILL.md)**: Codifies corrections and developer feedback into enduring Knowledge Items.
|
|
245
|
+
- **[`antigravity-sdk-orchestrator`](plugins/python-ai/skills/antigravity-sdk-orchestrator/SKILL.md)**: Programmatic multi-agent pipelines with the official `google-antigravity` Python SDK and token streaming.
|
|
246
|
+
- **[`responsive-design`](plugins/web-fullstack/skills/responsive-design/SKILL.md)**: Fluid typography, mobile-first flex/grid layouts, media queries, and cross-browser accessibility.
|
|
201
247
|
|
|
202
248
|
### 2. Lifecycle Hooks (`hooks/`)
|
|
203
249
|
Hooks run shell scripts at critical lifecycle events with typed JSON contracts on `stdin`/`stdout`:
|
|
204
250
|
|
|
205
|
-
- **
|
|
206
|
-
- **
|
|
207
|
-
- **
|
|
208
|
-
- **
|
|
251
|
+
- **[`gemini-shield`](hooks/gemini-shield/hooks.json) (`PreToolUse`)**: Deterministic safety firewall intercepting `run_command` and denying catastrophic operations like `rm -rf /`, `mkfs`, or `git push --force origin main`.
|
|
252
|
+
- **[`safety-shield`](hooks/safety-shield/hooks.json) (`PreToolUse`)**: Intercepts `run_command` and inspects `CommandLine` against strict security guidelines before shell execution.
|
|
253
|
+
- **[`secret-scrubber`](hooks/secret-scrubber/hooks.json) (`PreToolUse`)**: Intercepts file write operations to block hardcoded API keys and private credentials before they reach disk.
|
|
254
|
+
- **[`auto-lint-formatter`](hooks/auto-lint-formatter/hooks.json) (`PostToolUse`)**: Triggered after file modifications. Runs your project's linter/formatter (`prettier`, `black`, `ruff`, `gofmt`) automatically so code is always clean.
|
|
255
|
+
- **[`goal-verifier`](hooks/goal-verifier/hooks.json) (`Stop`)**: Intercepts the agent's attempt to finish. If test suites are failing or background tasks are unfinished, it returns `{"decision": "continue", "reason": "Tests are still failing. Fix them before stopping."}`.
|
|
256
|
+
- **[`ephemeral-context`](hooks/ephemeral-context/hooks.json) (`PreInvocation`)**: Injects transient warnings or guidelines before each model reasoning step without cluttering persistent conversation history.
|
|
257
|
+
- **[`learned-instincts`](hooks/learned-instincts/hooks.json)**: Session learning hook that records developer corrections and feedback into persistent instincts.
|
|
209
258
|
|
|
210
259
|
### 3. Rules Hierarchy (`rules/`)
|
|
211
260
|
Antigravity automatically discovers rules by walking up from the current file's directory to the repository root:
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
261
|
+
- **[`rules/common/GEMINI.md`](rules/common/GEMINI.md)**: Foundational instructions for precision, minimal changes, and strict verification.
|
|
262
|
+
- **[`rules/common/AGENTS.md`](rules/common/AGENTS.md)**: Multi-agent interaction protocols, dogfooding guidelines, and progressive disclosure discipline.
|
|
263
|
+
- **[`rules/languages/typescript.md`](rules/languages/typescript.md)**: Strict TypeScript, Zod validations, no `any`, modern ESM.
|
|
264
|
+
- **[`rules/languages/python.md`](rules/languages/python.md)**: Python 3.12+, type hints, Pydantic v2, Ruff formatting.
|
|
265
|
+
- **[`rules/languages/golang.md`](rules/languages/golang.md)**: Idiomatic Go guidelines, table-driven unit tests, and structured logging.
|
|
266
|
+
- **[`rules/paradigms/security-hardened.md`](rules/paradigms/security-hardened.md)**: Defense-in-depth, zero-trust file access, credential hygiene.
|
|
267
|
+
- **[`rules/paradigms/tdd.md`](rules/paradigms/tdd.md)**: Enforces strict Red-Green-Refactor test cycle before writing production code.
|
|
216
268
|
|
|
217
269
|
---
|
|
218
270
|
|
|
@@ -263,14 +315,19 @@ Traditional agent harnesses dump dozens of prompt files into the system prompt o
|
|
|
263
315
|
|
|
264
316
|
```
|
|
265
317
|
[Traditional Setup]
|
|
266
|
-
System Prompt: Base Instructions + All
|
|
318
|
+
System Prompt: Base Instructions + All 30 Skills (Full Text) + All Rules = ~48,000 Tokens / turn
|
|
267
319
|
|
|
268
320
|
[Everything Gemini on Antigravity]
|
|
269
|
-
System Prompt: Base Instructions +
|
|
321
|
+
System Prompt: Base Instructions + 30 Skill Summaries (YAML) + Directory Rules = ~3,400 Tokens / turn
|
|
270
322
|
Skill Body: Loaded on-demand ONLY when invoked = ~1,500 Tokens (one-time)
|
|
271
323
|
Savings: > 85% Token Reduction & 3x Faster First-Token Latency!
|
|
272
324
|
```
|
|
273
325
|
|
|
326
|
+
Run the built-in diagnostic benchmark across all 70 ecosystem components:
|
|
327
|
+
```bash
|
|
328
|
+
./bin/everything-gemini test-all
|
|
329
|
+
```
|
|
330
|
+
|
|
274
331
|
---
|
|
275
332
|
|
|
276
333
|
## 🛠️ Usage & CLI Reference
|
|
@@ -281,6 +338,37 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
|
|
|
281
338
|
# Verify your installation and check for conflicts
|
|
282
339
|
./bin/everything-gemini doctor
|
|
283
340
|
|
|
341
|
+
# Inspect active workspace status dashboard (installed skills, subagents, hooks)
|
|
342
|
+
./bin/everything-gemini status
|
|
343
|
+
./bin/everything-gemini status --global
|
|
344
|
+
./bin/everything-gemini status --json
|
|
345
|
+
|
|
346
|
+
# Compare installed workspace components against master catalog
|
|
347
|
+
./bin/everything-gemini diff
|
|
348
|
+
|
|
349
|
+
# Export installed configuration bundle into a portable JSON profile
|
|
350
|
+
./bin/everything-gemini export
|
|
351
|
+
./bin/everything-gemini export --output my-profile.json
|
|
352
|
+
|
|
353
|
+
# Import portable configuration bundle into workspace
|
|
354
|
+
./bin/everything-gemini import my-profile.json
|
|
355
|
+
./bin/everything-gemini import my-profile.json --dry-run
|
|
356
|
+
./bin/everything-gemini import my-profile.json --workspace ./my-project
|
|
357
|
+
|
|
358
|
+
# Package offline distribution bundle for air-gapped environments or CI/CD
|
|
359
|
+
./bin/everything-gemini bundle
|
|
360
|
+
./bin/everything-gemini bundle --output ./offline-bundle
|
|
361
|
+
./bin/everything-gemini bundle --dry-run
|
|
362
|
+
./bin/everything-gemini bundle --json
|
|
363
|
+
|
|
364
|
+
# Update installed ecosystem components in-place to latest catalog versions
|
|
365
|
+
./bin/everything-gemini update
|
|
366
|
+
./bin/everything-gemini update --global
|
|
367
|
+
./bin/everything-gemini update --dry-run
|
|
368
|
+
|
|
369
|
+
# Preview an installation without modifying disk
|
|
370
|
+
./bin/everything-gemini install --profile developer --dry-run
|
|
371
|
+
|
|
284
372
|
# Install a specific profile into the current workspace (.agents/)
|
|
285
373
|
./bin/everything-gemini install --profile developer
|
|
286
374
|
|
|
@@ -299,11 +387,29 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
|
|
|
299
387
|
# Remove a skill from your active workspace
|
|
300
388
|
./bin/everything-gemini remove skill tdd-workflow
|
|
301
389
|
|
|
390
|
+
# Add or remove lifecycle safety hooks
|
|
391
|
+
./bin/everything-gemini add hook safety-shield
|
|
392
|
+
./bin/everything-gemini remove hook safety-shield
|
|
393
|
+
|
|
302
394
|
# Add a specific plugin
|
|
303
395
|
./bin/everything-gemini add plugin web-fullstack
|
|
304
396
|
|
|
305
|
-
#
|
|
306
|
-
./bin/everything-gemini
|
|
397
|
+
# Search components across skills, subagents, hooks, and MCP blueprints
|
|
398
|
+
./bin/everything-gemini search kafka
|
|
399
|
+
./bin/everything-gemini search dbt --json
|
|
400
|
+
|
|
401
|
+
# Run comprehensive ecosystem audit across frontmatter, contracts, hooks, and links
|
|
402
|
+
./bin/everything-gemini audit
|
|
403
|
+
./bin/everything-gemini audit --json
|
|
404
|
+
|
|
405
|
+
# Benchmark and validate all 52 skills, 11 subagents, and 7 hooks (human or JSON)
|
|
406
|
+
./bin/everything-gemini test-all
|
|
407
|
+
./bin/everything-gemini benchmark --json
|
|
408
|
+
|
|
409
|
+
# View detailed playbook or specification for any skill, subagent, or hook
|
|
410
|
+
./bin/everything-gemini info agent-evals
|
|
411
|
+
./bin/everything-gemini info planner
|
|
412
|
+
./bin/everything-gemini info gemini-shield
|
|
307
413
|
|
|
308
414
|
# Scaffold a new progressive-disclosure skill
|
|
309
415
|
./bin/everything-gemini new-skill my-custom-skill
|
|
@@ -311,6 +417,14 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
|
|
|
311
417
|
# Scaffold a new scoped subagent
|
|
312
418
|
./bin/everything-gemini new-agent my-worker-agent
|
|
313
419
|
|
|
420
|
+
# Generate shell autocompletion script (bash/zsh)
|
|
421
|
+
./bin/everything-gemini completion >> ~/.zshrc
|
|
422
|
+
|
|
423
|
+
# Or automatically install autocompletion idempotently into your active shell rc
|
|
424
|
+
./bin/everything-gemini completion --install
|
|
425
|
+
./bin/everything-gemini completion --install --dry-run
|
|
426
|
+
./bin/everything-gemini completion --install --rc ~/.bashrc
|
|
427
|
+
|
|
314
428
|
# Validate all schemas, hooks, and frontmatter
|
|
315
429
|
./bin/everything-gemini validate
|
|
316
430
|
```
|
|
@@ -321,10 +435,17 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
|
|
|
321
435
|
|
|
322
436
|
We welcome community contributions! You can contribute new **Skills**, **Rules**, **Lifecycle Hooks**, **MCP Blueprints**, or **Plugins**.
|
|
323
437
|
|
|
438
|
+
Check out our [Community Wishlist & Good First Issues](CONTRIBUTING.md#community-wishlist--good-first-issues) for high-impact skills ready to be built.
|
|
324
439
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for full development guidelines, YAML frontmatter standards, and validation procedures.
|
|
325
440
|
|
|
326
441
|
---
|
|
327
442
|
|
|
443
|
+
## 🌟 Star History
|
|
444
|
+
|
|
445
|
+
[](https://star-history.com/#salmandev/everything-gemini&Date)
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
328
449
|
## 🙏 Acknowledgements & Inspiration
|
|
329
450
|
|
|
330
451
|
* Inspired by [Affan Mustafa's Everything Claude Code (ECC)](https://github.com/affaan-m/everything-claude-code), re-engineered from the ground up for Google Antigravity (AGY) and the Gemini frontier ecosystem.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
We actively provide security patches and dependency updates for the following versions:
|
|
6
|
+
|
|
7
|
+
| Version | Supported |
|
|
8
|
+
| :--- | :--- |
|
|
9
|
+
| 1.x | :white_check_mark: |
|
|
10
|
+
| < 1.0 | :x: |
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Reporting a Vulnerability
|
|
15
|
+
|
|
16
|
+
The Everything Gemini team takes the security of agent systems, lifecycle hooks, and model interactions seriously.
|
|
17
|
+
|
|
18
|
+
If you discover a security vulnerability, prompt injection bypass in safety gates, or credential exposure vector:
|
|
19
|
+
|
|
20
|
+
1. **Do NOT open a public GitHub issue.**
|
|
21
|
+
2. Report the vulnerability privately via **GitHub Security Advisories** on the repository:
|
|
22
|
+
- Go to [https://github.com/salmandev/everything-gemini/security/advisories](https://github.com/salmandev/everything-gemini/security/advisories)
|
|
23
|
+
- Click **"Report a vulnerability"**
|
|
24
|
+
3. Alternatively, email the maintainer directly at `salman@salmandev.com` with the subject:
|
|
25
|
+
`[SECURITY] Everything Gemini Vulnerability Report`.
|
|
26
|
+
|
|
27
|
+
Please include:
|
|
28
|
+
- A clear description of the vulnerability and attack vector.
|
|
29
|
+
- Minimal reproduction steps, sample prompts, or script commands.
|
|
30
|
+
- Potential impact on agent runtimes or host filesystem integrity.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Response Timeline
|
|
35
|
+
|
|
36
|
+
- **Initial Acknowledgment**: Within 48 hours of receipt.
|
|
37
|
+
- **Triage & Assessment**: Within 5 business days.
|
|
38
|
+
- **Remediation & Patch**: Published as an expedited patch release (`v1.x.y`).
|
package/action.yml
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: 'Setup Everything Gemini Harness'
|
|
2
|
+
description: 'Install Everything Gemini skills, subagents, and lifecycle safety hooks into your repository or CI workspace'
|
|
3
|
+
author: 'Everything Antigravity Contributors'
|
|
4
|
+
branding:
|
|
5
|
+
icon: 'shield'
|
|
6
|
+
color: 'blue'
|
|
7
|
+
|
|
8
|
+
inputs:
|
|
9
|
+
profile:
|
|
10
|
+
description: 'Installation profile (core, developer, full)'
|
|
11
|
+
required: false
|
|
12
|
+
default: 'developer'
|
|
13
|
+
global:
|
|
14
|
+
description: 'Whether to install globally into ~/.gemini/config/ (true/false)'
|
|
15
|
+
required: false
|
|
16
|
+
default: 'false'
|
|
17
|
+
workspace:
|
|
18
|
+
description: 'Target workspace directory (default: active workspace .agents/)'
|
|
19
|
+
required: false
|
|
20
|
+
default: ''
|
|
21
|
+
|
|
22
|
+
runs:
|
|
23
|
+
using: 'composite'
|
|
24
|
+
steps:
|
|
25
|
+
- name: Run Everything Gemini Installer
|
|
26
|
+
shell: bash
|
|
27
|
+
run: |
|
|
28
|
+
ARGS="install --profile ${{ inputs.profile }}"
|
|
29
|
+
if [ "${{ inputs.global }}" = "true" ]; then
|
|
30
|
+
ARGS="$ARGS --global"
|
|
31
|
+
fi
|
|
32
|
+
if [ -n "${{ inputs.workspace }}" ]; then
|
|
33
|
+
ARGS="$ARGS --workspace ${{ inputs.workspace }}"
|
|
34
|
+
fi
|
|
35
|
+
node "${{ github.action_path }}/bin/everything-gemini" $ARGS
|
package/agents/browser-qa.md
CHANGED
|
@@ -21,6 +21,6 @@ The `browser-qa` subagent is an autonomous visual and interaction test engineer.
|
|
|
21
21
|
## Handoff Output Contract
|
|
22
22
|
The subagent MUST return a structured markdown report containing:
|
|
23
23
|
- **Test Summary**: Flow tested (e.g. "User Signup & Onboarding").
|
|
24
|
-
- **Visual Evidence**: Markdown embed linking to the recorded WebP video (``).
|
|
25
25
|
- **Console & Network Health**: Any unhandled JavaScript exceptions or 4xx/5xx HTTP calls observed.
|
|
26
26
|
- **Defects Discovered**: Clear reproduction steps for any UI or interaction bugs found.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Scoped Subagent: Database Migrator (`database-migrator`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `database-migrator` subagent is a dedicated database migration and schema evolution specialist. Its mission is to design zero-downtime expand/contract schema changes, generate backward-compatible migration files (SQL, Prisma, Alembic, Drizzle), analyze lock levels, and verify clean rollback paths without data loss.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `write_to_file`, `replace_file_content` (scoped strictly to migration files and schema models), safe dry-run commands (e.g. `prisma migrate diff`, `alembic check`).
|
|
8
|
+
- **Forbidden**: Direct production DDL execution, unchecked destructive queries (`DROP TABLE`, `TRUNCATE`, immediate non-null column additions without defaults).
|
|
9
|
+
|
|
10
|
+
## Database Evolution Protocol
|
|
11
|
+
1. **Schema Inspection**: Read existing migrations and active ORM schema models to detect schema drift.
|
|
12
|
+
2. **Expand-and-Contract Architecture**:
|
|
13
|
+
- **Phase 1 (Expand)**: Add new columns as nullable or with safe defaults. Add concurrent indexes. Maintain dual-writing compatibility.
|
|
14
|
+
- **Phase 2 (Migrate Data)**: Backfill data asynchronously in batches without holding table locks.
|
|
15
|
+
- **Phase 3 (Contract)**: Switch application reads to new schema and safely deprecate old columns only after all active application versions no longer reference them.
|
|
16
|
+
3. **Lock Contention Audit**:
|
|
17
|
+
- In PostgreSQL, ensure indexes use `CREATE INDEX CONCURRENTLY`.
|
|
18
|
+
- Set conservative lock timeouts (`SET lock_timeout = '2s';`).
|
|
19
|
+
4. **Bidirectional Safety**: Verify that every forward migration has a matching, deterministic `down` rollback script.
|
|
20
|
+
|
|
21
|
+
## Handoff Output Contract
|
|
22
|
+
The subagent MUST return a structured markdown report containing:
|
|
23
|
+
- **Schema Diff Summary**: Added, modified, or deprecated tables and columns.
|
|
24
|
+
- **Migration Scripts**: Idempotent SQL/ORM migration definitions (Up & Down).
|
|
25
|
+
- **Locking & Concurrency Analysis**: Expected lock type (`ACCESS SHARE`, `SHARE UPDATE EXCLUSIVE`, etc.) and estimated impact on running transactions.
|
|
26
|
+
- **Rollback & Verification Plan**: Step-by-step verification commands to prove backward compatibility.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Scoped Subagent: Documentation Writer (`documentation-writer`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `documentation-writer` subagent is a specialized developer documentation and architectural record author. Its mission is to craft crystal-clear, developer-facing technical documentation, API specifications, Architecture Decision Records (ADRs), changelogs, and READMEs, while strictly enforcing progressive disclosure and maintaining 100% clickable `file://` markdown link fidelity.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `write_to_file`, `replace_file_content`, `multi_replace_file_content` (scoped strictly to documentation files: `.md`, `.mdx`, `.txt`, `.rst`, JSDoc/docstrings, and diagrams).
|
|
8
|
+
- **Forbidden**: Modifying application source code logic, running arbitrary terminal commands, deleting code files, or altering configuration outside documentation manifests.
|
|
9
|
+
|
|
10
|
+
## Technical Documentation Protocol
|
|
11
|
+
1. **Source Code & AST Inspection**: Analyze active exported functions, schemas, API routes, and types before writing documentation. Ensure zero hallucinations.
|
|
12
|
+
2. **Clickable Link Verification**:
|
|
13
|
+
- Every file reference must use GitHub markdown syntax with full `file://` URLs (e.g. `[src/index.ts](file:///path/to/src/index.ts)`).
|
|
14
|
+
- Link specific symbols using anchor notation (e.g. `[OrderService](file:///path/to/order.ts#L25-L60)`).
|
|
15
|
+
3. **Progressive Disclosure Principle**:
|
|
16
|
+
- Keep primary documentation concise, procedural, and focused on high-frequency workflows.
|
|
17
|
+
- Separate deep reference manuals, protocol specifications, and historical context into modular `references/` or `docs/` files.
|
|
18
|
+
4. **Concrete Runnable Examples**:
|
|
19
|
+
- Every documented API or CLI command must include copy-pasteable runnable code blocks with expected outputs.
|
|
20
|
+
5. **ADR Standardization**: Document significant architectural shifts with Context, Decision, Consequences, and Alternatives Considered.
|
|
21
|
+
|
|
22
|
+
## Handoff Output Contract
|
|
23
|
+
The subagent MUST return a structured markdown report containing:
|
|
24
|
+
- **Documentation Changes Summary**: List of created or updated documentation files.
|
|
25
|
+
- **Clickable References Audit**: Confirmation that all generated links resolve to real filesystem paths.
|
|
26
|
+
- **API & Architectural Highlights**: Summary of newly documented endpoints, schemas, or design patterns.
|
|
27
|
+
- **Open Questions / Needs Verification**: Any ambiguous API signatures or undocumented edge cases identified during analysis.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Scoped Subagent: Incident Responder (`incident-responder`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `incident-responder` subagent is a dedicated Site Reliability Engineering (SRE) and production triage specialist. Its mission is to rapidly detect, isolate, and remediate system degradations, correlate distributed traces (OpenTelemetry), inspect error spikes (Sentry), analyze container crashloops, enforce blast radius containment, and generate comprehensive blameless postmortems with actionable preventative measures.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to diagnostic inspection: querying logs, inspecting Kubernetes pod health, reviewing traces, checking process memory/CPU, running rollback scripts), `write_to_file`, `replace_file_content` (scoped strictly to postmortem reports, incident runbooks, and emergency feature flag overrides).
|
|
8
|
+
- **Forbidden**: Authoring new core business features during an active incident, modifying production databases without atomic rollback scripts, bypassing security guardrails, or deleting audit logs.
|
|
9
|
+
|
|
10
|
+
## Incident Lifecycle Protocol
|
|
11
|
+
1. **Severity Classification & Triage (T0)**:
|
|
12
|
+
- Categorize impact: **SEV-1** (full service outage / data integrity risk), **SEV-2** (critical user flow degraded / partial outage), **SEV-3** (minor defect / non-blocking latency regression).
|
|
13
|
+
- Establish incident timeline and lock system state against uncoordinated concurrent edits.
|
|
14
|
+
2. **Telemetry & Trace Correlation**:
|
|
15
|
+
- Trace HTTP/gRPC failure paths through OpenTelemetry spans to isolate the originating microservice.
|
|
16
|
+
- Correlate exception stack traces in Sentry against recent deployments or database migrations.
|
|
17
|
+
- Check container metrics (OOMKilled events, CPU throttling, network packet drops via Hubble).
|
|
18
|
+
3. **Blast Radius Containment & Mitigation**:
|
|
19
|
+
- Prioritize service recovery over root-cause investigation: activate circuit breakers, enable rate limiting, route traffic to fallback models, or trigger immediate canary rollback (`git revert` / deployment rollback).
|
|
20
|
+
- Verify health probes return 200 OK and error rates normalize below SLO thresholds.
|
|
21
|
+
4. **Root Cause Analysis (RCA)**:
|
|
22
|
+
- Identify precise trigger conditions (e.g. unindexed database query, memory leak in event loop, upstream third-party timeout).
|
|
23
|
+
- Formulate minimal reproducible test case.
|
|
24
|
+
5. **Blameless Postmortem & Action Items**:
|
|
25
|
+
- Document root cause without personal blame.
|
|
26
|
+
- Define P0/P1 remediation engineering tasks to eliminate recurrence.
|
|
27
|
+
|
|
28
|
+
## Handoff Output Contract
|
|
29
|
+
The subagent MUST return a structured markdown incident report containing:
|
|
30
|
+
- **Incident Summary & Timeline**: Severity level, time-to-detect (TTD), time-to-mitigate (TTM), and chronological timeline.
|
|
31
|
+
- **Root Cause Analysis (RCA)**: Underlying architectural breakdown, contributing environmental factors, and why existing tests failed to catch it.
|
|
32
|
+
- **Mitigation Applied**: Concrete steps taken to stabilize the production workload.
|
|
33
|
+
- **Blast Radius & User Impact**: Affected percentage of requests, error rate delta, and affected services.
|
|
34
|
+
- **Preventative Action Items**: Specific follow-up tasks categorized by priority (P0 architectural fix, P1 monitoring/alerting improvement, P2 process refinement).
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Scoped Subagent: Performance Tuner (`performance-tuner`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `performance-tuner` subagent is a dedicated systems performance and latency optimization specialist. Its mission is to analyze CPU/memory profiles, diagnose memory leaks, optimize complex database query execution plans (`EXPLAIN ANALYZE`), eliminate N+1 query waterfalls, and tune high-throughput critical paths.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `replace_file_content` (surgical performance diffs), `run_command` (benchmarking scripts, profiling runs, node `--prof`, py-spy).
|
|
8
|
+
- **Forbidden**: Non-essential refactoring, rewriting unrelated application logic, disabling safety validations to improve benchmark scores.
|
|
9
|
+
|
|
10
|
+
## Performance Optimization Protocol
|
|
11
|
+
1. **Empirical Baseline Measurement**: Measure baseline latency (p50, p95, p99), throughput (RPS), and memory consumption before proposing any modifications. Never optimize based on intuition alone.
|
|
12
|
+
2. **Hotspot Diagnosis**:
|
|
13
|
+
- **Database**: Run `EXPLAIN (ANALYZE, BUFFERS)` to detect Sequential Scans, missing indexes, and Cartesian product joins.
|
|
14
|
+
- **Application**: Inspect heap dumps or CPU flamegraphs to detect object retention, GC thrashing, and event loop blocks.
|
|
15
|
+
- **Network/Frontend**: Identify waterfall API calls, uncompressed payloads, and blocking rendering cycles.
|
|
16
|
+
3. **Surgical Remediation**:
|
|
17
|
+
- Implement query projections, compound indexes, or DataLoader batching.
|
|
18
|
+
- Introduce cache-aside patterns with appropriate TTL jitter.
|
|
19
|
+
- Replace linear lookups (`O(N)`) with constant-time hash sets (`O(1)`).
|
|
20
|
+
4. **Post-Optimization Verification**: Re-run the identical benchmark harness under the same load conditions to prove latency reduction.
|
|
21
|
+
|
|
22
|
+
## Handoff Output Contract
|
|
23
|
+
The subagent MUST return a structured markdown report containing:
|
|
24
|
+
- **Benchmark Comparison Table**: Quantitative metrics (Latency p50/p95/p99, Throughput, Memory) comparing Before vs After.
|
|
25
|
+
- **Root Cause Analysis**: The underlying computational or database bottleneck.
|
|
26
|
+
- **Applied Modifications**: Clickable links to optimized code blocks and indexes.
|
|
27
|
+
- **Continuous Guardrails**: Recommendations for ongoing latency budgets and CI performance tests.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Scoped Subagent: Release Engineer (`release-engineer`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `release-engineer` subagent is a specialized release automation and deployment gatekeeper. Its mission is to enforce strict Semantic Versioning (`semver`), curate comprehensive changelogs, verify production build artifacts, validate CI/CD deployment pipelines, sign git release tags, and execute zero-downtime canary rollouts and automated rollback plans.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to release validation: tests, build steps, git tagging, changelog generation, dependency audits), `write_to_file`, `replace_file_content` (scoped strictly to `package.json`, `CHANGELOG.md`, release manifests, and CI/CD workflow configurations).
|
|
8
|
+
- **Forbidden**: Directly modifying core runtime business logic, skipping automated test suites, forcing untagged releases, or modifying database migration scripts without `database-migrator` approval.
|
|
9
|
+
|
|
10
|
+
## Release Lifecycle Protocol
|
|
11
|
+
1. **Pre-Release Preflight Gate**:
|
|
12
|
+
- Verify all test suites (`npm test`, unit, E2E, integration) pass with exit code 0.
|
|
13
|
+
- Run dependency security audit (`npm audit` / vulnerability scanner) to ensure zero high/critical CVEs.
|
|
14
|
+
- Confirm git working tree is clean and synchronized with upstream.
|
|
15
|
+
2. **Semantic Versioning Assessment (`semver`)**:
|
|
16
|
+
- Analyze commit history since last release tag using conventional commits (`feat!`, `feat`, `fix`, `perf`).
|
|
17
|
+
- Categorize delta: Major (breaking API/schema changes), Minor (backward-compatible features), Patch (bug fixes/performance).
|
|
18
|
+
3. **Changelog & Documentation Compilation**:
|
|
19
|
+
- Update `CHANGELOG.md` following Keep a Changelog standards.
|
|
20
|
+
- Synchronize release badges, version numbers, and links in `README.md` and manifests.
|
|
21
|
+
4. **Artifact Build & Checksum Verification**:
|
|
22
|
+
- Compile production bundles; calculate and document SHA-256 integrity checksums.
|
|
23
|
+
- Verify bundle size budgets and tree-shaking efficacy.
|
|
24
|
+
5. **Release Tagging & Deployment Orchestration**:
|
|
25
|
+
- Create annotated git tags (`git tag -a vX.Y.Z -m "..."`).
|
|
26
|
+
- Formulate canary rollout verification and rollback trigger criteria.
|
|
27
|
+
|
|
28
|
+
## Handoff Output Contract
|
|
29
|
+
The subagent MUST return a structured markdown report containing:
|
|
30
|
+
- **Release Version & Delta**: Target version (e.g. `v1.7.0`), bump category (Major/Minor/Patch), and conventional commit summary.
|
|
31
|
+
- **Preflight Verification Checklist**: Test results, security audit status, and git state.
|
|
32
|
+
- **Artifact Checksums & Metrics**: Output artifact sizes, hash digests, and token/bundle efficiency metrics.
|
|
33
|
+
- **Changelog Preview**: Markdown snippet of the release notes.
|
|
34
|
+
- **Rollout & Rollback Plan**: Deployment sequence, health probe criteria, and instant rollback procedure.
|