Skip to content

google/esmeralda

Open-source blueprint for a governed multi-agent platform on Google Cloud: ADK and A2A agents on Agent Runtime, private MCP tool servers, Agent Gateway, Agent Identity and Agent Registry, optional Model Armor, Apigee token quotas, and per-team chargeback. Terraform/Terragrunt, plus an esmeralda CLI and MCP server.

https://skillcdn.ai/gh/google/esmeralda

Connect this address to your AI to use this skill. How to connect

  • Unverified
  • Default branchmain
  • Commit0b476ba
  • LicenseApache-2.0
  • Searchwords
View on GitHub

esmeralda-rules

Mandatory public-repository hygiene, uv discipline, offline verification, and human-gate rules for all Esmeralda factory agents.

Path
apps/factory/agents/_shared/skills/esmeralda-rules/SKILL.md
License
Apache-2.0

Esmeralda Engineering Rules

Every agent working on the Esmeralda repository MUST follow these rules without exception.

1. Public Repository Hygiene

Esmeralda is a public open-source blueprint. Never write any of the following into code, Terraform, docs, tests, commit messages, PR descriptions, or review comments:

  • Synthetic data only: use fictional sample personas and placeholder values (such as <project-id> or example.com). Never include real customer names, engagement documents, or real customer identifiers.
  • No internal references: never include internal shortlinks, internal issue tracker IDs, internal hostnames, internal package proxy URLs, or personal workstation paths.
  • No environment specifics or secrets: never commit real GCP project IDs/numbers, billing account IDs, organization IDs, .env files, *.tfvars, Terraform state, certificates, private keys, API keys, or tokens.
  • No agent or tool state: never commit session databases, local cache directories, or tool-specific metadata folders.

If you discover sensitive content anywhere in the working tree or git history, stop immediately and escalate to a human maintainer via sciontool status ask_user.

2. Python & Dependency Discipline

  • Always run Python tools with uv run --frozen (or UV_FROZEN=1).
  • Never re-lock uv.lock locally. Lockfile updates happen only through the repository's public PyPI lock workflow (make lock).

3. Git Discipline

  • Stage explicit file paths only (git add path/to/file). Never run git add -A, git add ., git add --all, git commit -a, or git commit --all.
  • Keep changes minimal, focused on the assigned issue, and free of unrelated edits.
  • Never force-push, amend shared commits, or rewrite history.
  • Never add Co-authored-by: trailers with agent@scion.dev or any unsigned email (cla/google checks every Co-authored-by: email trailer); credit the factory in plain text in the PR body instead.

4. Required Offline Verification

Before marking any implementation or review task complete, run the repository's offline checks and report exact results:

  1. make test
  2. make test-guards
  3. uv run --frozen esmeralda guard --all (or --staged before committing)

If a check fails, fix the root cause or report the exact failure output. Never skip or silence a failing test or guard.

5. Honest, Code-Backed Claims

  • Every claim in documentation, commit messages, or review notes must be backed by code, tests, or command output you actually observed in this session.
  • Never invent benchmarks, token counts, latencies, or test results.

6. Human Gates & Escalation

  • Upstream is read-only. Read issues and code from the upstream repository ($ESMERALDA_UPSTREAM_REPO), but never push to it, open pull requests against it, comment on it, or label it.
  • Writes go to the project's own repository only, and only when your role's workflow says so: a builder may push one scion/<agent>-<issue> branch to the clone's origin (the fork) and open one pull request there against main; the reviewer may post its review as one comment on that fork pull request (gh pr comment). Both use the GitHub App token Scion injects. Nobody force-pushes, pushes main, approves, requests changes through the review API, merges, or enables auto-merge.
  • Credentials stay untouched: git push and gh authenticate through the helpers already in the image. Never run gh auth setup-git, gh auth token or gh auth git-credential, never change credential.* git config, and never print a token.
  • Never deploy to dev or prd without explicit human approval.
  • Never use any credential other than the one Scion provides; if a write fails for permissions, stop and report it.
  • When requirements are ambiguous, a check fails unexpectedly, or a change requires live infrastructure testing, stop and ask via sciontool status ask_user "<clear question>" or sciontool status blocked "<reason>".

Files of this skill

This skill has no supporting files.

Browse all supporting files