Open-source skills for designing and reviewing software with AI agents
Python agent-skillsai-agentsantigravityclaude-codeclaude-code-pluginclaude-skillscodexcodex-plugincoding-agentscontext-engineeringdeveloper-toolsgeminillmmulti-agentprompt-engineeringspec-driven-development
Share skill icons across plugins, README, and website
n3wth02b3214f129f
diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.ymlindex 6c30c7e..3766f99 100644--- a/.github/workflows/deploy-site.yml+++ b/.github/workflows/deploy-site.yml@@ -28,6 +28,7 @@ on:branches: [main]paths:- 'site/**'+ - 'skills/*/assets/*.svg'- '.github/workflows/deploy-site.yml'workflow_dispatch:diff --git a/README.md b/README.mdindex deff1ba..75e1e6b 100644--- a/README.md+++ b/README.md@@ -51,7 +51,7 @@ Open your project in your coding agent and choose a feature that needs design deUse the commands below in Antigravity. In Claude Code, use the `/egm:` prefix, for example `/egm:egm-brainstorm`. In Codex, select the corresponding EGM skill from the skill picker. Brainstorming and review require a session that can create fresh subagents.-**1. Explore the idea**+<img src="skills/egm_brainstorm/assets/icon.svg" width="24" height="24" alt=""> **1. Explore the idea**```text/egm-brainstorm Add webhook delivery to this project.@@ -59,7 +59,7 @@ Use the commands below in Antigravity. In Claude Code, use the `/egm:` prefix, fDiscuss requirements and trade-offs with the agent. Fresh reviewers challenge the proposal, and the agent saves the agreed direction in `concepts_brief.md`.-**2. Draft the specification**+<img src="skills/egm_draft/assets/icon.svg" width="24" height="24" alt=""> **2. Draft the specification**```text/egm-draft@@ -67,7 +67,7 @@ Discuss requirements and trade-offs with the agent. Fresh reviewers challenge thThe agent turns the brief into `design_draft.md`, pausing after each section for your feedback in chat.-**3. Review the draft**+<img src="skills/egm_review/assets/icon.svg" width="24" height="24" alt=""> **3. Review the draft**Use the draft path returned by the agent, for example:@@ -98,13 +98,13 @@ You can use each skill when you need it. You do not have to follow the full sequ| Skill | Use it to… || :--- | :--- |-| [`egm-brainstorm`](skills/egm_brainstorm/SKILL.md) | Test an idea and write a concept brief. |-| [`egm-draft`](skills/egm_draft/SKILL.md) | Turn a brief or existing notes into a design document. |-| [`egm-review`](skills/egm_review/SKILL.md) | Review a design with fresh agents across five stages. |-| [`egm-resolve`](skills/egm_resolve/SKILL.md) | Work through review findings and agree on changes. |-| [`egm-drift-report`](skills/egm_drift_report/SKILL.md) | Compare checked-in documents with the current source code. |-| [`egm-bootstrap`](skills/egm_bootstrap/SKILL.md) | Create or update documentation for an existing codebase. |-| [`egm-review-loop`](skills/egm_review_loop/SKILL.md) | Run a configured group of reviewers for a specific review task. |+| <img src="skills/egm_brainstorm/assets/icon.svg" width="24" height="24" alt=""> [`egm-brainstorm`](skills/egm_brainstorm/SKILL.md) | Test an idea and write a concept brief. |+| <img src="skills/egm_draft/assets/icon.svg" width="24" height="24" alt=""> [`egm-draft`](skills/egm_draft/SKILL.md) | Turn a brief or existing notes into a design document. |+| <img src="skills/egm_review/assets/icon.svg" width="24" height="24" alt=""> [`egm-review`](skills/egm_review/SKILL.md) | Review a design with fresh agents across five stages. |+| <img src="skills/egm_resolve/assets/icon.svg" width="24" height="24" alt=""> [`egm-resolve`](skills/egm_resolve/SKILL.md) | Work through review findings and agree on changes. |+| <img src="skills/egm_drift_report/assets/icon.svg" width="24" height="24" alt=""> [`egm-drift-report`](skills/egm_drift_report/SKILL.md) | Compare checked-in documents with the current source code. |+| <img src="skills/egm_bootstrap/assets/icon.svg" width="24" height="24" alt=""> [`egm-bootstrap`](skills/egm_bootstrap/SKILL.md) | Create or update documentation for an existing codebase. |+| <img src="skills/egm_review_loop/assets/icon.svg" width="24" height="24" alt=""> [`egm-review-loop`](skills/egm_review_loop/SKILL.md) | Run a configured group of reviewers for a specific review task. |## Learn morediff --git a/distributions/claude/README.md b/distributions/claude/README.mdindex deff1ba..75e1e6b 100644--- a/distributions/claude/README.md+++ b/distributions/claude/README.md@@ -51,7 +51,7 @@ Open your project in your coding agent and choose a feature that needs design deUse the commands below in Antigravity. In Claude Code, use the `/egm:` prefix, for example `/egm:egm-brainstorm`. In Codex, select the corresponding EGM skill from the skill picker. Brainstorming and review require a session that can create fresh subagents.-**1. Explore the idea**+<img src="skills/egm_brainstorm/assets/icon.svg" width="24" height="24" alt=""> **1. Explore the idea**```text/egm-brainstorm Add webhook delivery to this project.@@ -59,7 +59,7 @@ Use the commands below in Antigravity. In Claude Code, use the `/egm:` prefix, fDiscuss requirements and trade-offs with the agent. Fresh reviewers challenge the proposal, and the agent saves the agreed direction in `concepts_brief.md`.-**2. Draft the specification**+<img src="skills/egm_draft/assets/icon.svg" width="24" height="24" alt=""> **2. Draft the specification**```text/egm-draft@@ -67,7 +67,7 @@ Discuss requirements and trade-offs with the agent. Fresh reviewers challenge thThe agent turns the brief into `design_draft.md`, pausing after each section for your feedback in chat.-**3. Review the draft**+<img src="skills/egm_review/assets/icon.svg" width="24" height="24" alt=""> **3. Review the draft**Use the draft path returned by the agent, for example:@@ -98,13 +98,13 @@ You can use each skill when you need it. You do not have to follow the full sequ| Skill | Use it to… || :--- | :--- |-| [`egm-brainstorm`](skills/egm_brainstorm/SKILL.md) | Test an idea and write a concept brief. |-| [`egm-draft`](skills/egm_draft/SKILL.md) | Turn a brief or existing notes into a design document. |-| [`egm-review`](skills/egm_review/SKILL.md) | Review a design with fresh agents across five stages. |-| [`egm-resolve`](skills/egm_resolve/SKILL.md) | Work through review findings and agree on changes. |-| [`egm-drift-report`](skills/egm_drift_report/SKILL.md) | Compare checked-in documents with the current source code. |-| [`egm-bootstrap`](skills/egm_bootstrap/SKILL.md) | Create or update documentation for an existing codebase. |-| [`egm-review-loop`](skills/egm_review_loop/SKILL.md) | Run a configured group of reviewers for a specific review task. |+| <img src="skills/egm_brainstorm/assets/icon.svg" width="24" height="24" alt=""> [`egm-brainstorm`](skills/egm_brainstorm/SKILL.md) | Test an idea and write a concept brief. |+| <img src="skills/egm_draft/assets/icon.svg" width="24" height="24" alt=""> [`egm-draft`](skills/egm_draft/SKILL.md) | Turn a brief or existing notes into a design document. |+| <img src="skills/egm_review/assets/icon.svg" width="24" height="24" alt=""> [`egm-review`](skills/egm_review/SKILL.md) | Review a design with fresh agents across five stages. |+| <img src="skills/egm_resolve/assets/icon.svg" width="24" height="24" alt=""> [`egm-resolve`](skills/egm_resolve/SKILL.md) | Work through review findings and agree on changes. |+| <img src="skills/egm_drift_report/assets/icon.svg" width="24" height="24" alt=""> [`egm-drift-report`](skills/egm_drift_report/SKILL.md) | Compare checked-in documents with the current source code. |+| <img src="skills/egm_bootstrap/assets/icon.svg" width="24" height="24" alt=""> [`egm-bootstrap`](skills/egm_bootstrap/SKILL.md) | Create or update documentation for an existing codebase. |+| <img src="skills/egm_review_loop/assets/icon.svg" width="24" height="24" alt=""> [`egm-review-loop`](skills/egm_review_loop/SKILL.md) | Run a configured group of reviewers for a specific review task. |## Learn morediff --git a/distributions/claude/skills/egm_bootstrap/agents/openai.yaml b/distributions/claude/skills/egm_bootstrap/agents/openai.yamlindex d44906a..e6d6e6a 100644--- a/distributions/claude/skills/egm_bootstrap/agents/openai.yaml+++ b/distributions/claude/skills/egm_bootstrap/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Create directory guides for a codebase"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/distributions/claude/skills/egm_bootstrap/assets/icon.svg b/distributions/claude/skills/egm_bootstrap/assets/icon.svgindex 47bbace..eb0ec3b 100644--- a/distributions/claude/skills/egm_bootstrap/assets/icon.svg+++ b/distributions/claude/skills/egm_bootstrap/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Bootstrap: repository folder tree</title>- <path stroke="#1b6ef3" d="M3 18V6a2 2 0 0 1 2-2h4l2 3h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"/>- <path stroke="#e86e00" d="M8 10v6h8M8 12h6M12 16v-2"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Bootstrap</title><g transform="matrix(1.05 0 0 1.05 -0.600000 -0.600000)"><path fill="#1b6ef3" d="M9.2 5.6A2.8 2.8 0 0 1 14.8 5.6V8.2A1 1 0 0 0 15.8 9.2H18.4A2.8 2.8 0 0 1 18.4 14.8H15.8A1 1 0 0 0 14.8 15.8V18.4A2.8 2.8 0 0 1 9.2 18.4V15.8A1 1 0 0 0 8.2 14.8H5.6A2.8 2.8 0 0 1 5.6 9.2H8.2A1 1 0 0 0 9.2 8.2Z"/><path fill="#7cacf8" d="M9.2 5.6A2.8 2.8 0 0 1 14.8 5.6V8.2A1 1 0 0 0 15.092893219 8.907106781L8.907106781 15.092893219A1 1 0 0 0 8.2 14.8H5.6A2.8 2.8 0 0 1 5.6 9.2H8.2A1 1 0 0 0 9.2 8.2Z"/></g></svg>diff --git a/distributions/claude/skills/egm_brainstorm/agents/openai.yaml b/distributions/claude/skills/egm_brainstorm/agents/openai.yamlindex 0579107..55348cd 100644--- a/distributions/claude/skills/egm_brainstorm/agents/openai.yaml+++ b/distributions/claude/skills/egm_brainstorm/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Turn an idea into a clear design brief"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/distributions/claude/skills/egm_brainstorm/assets/icon.svg b/distributions/claude/skills/egm_brainstorm/assets/icon.svgindex b84ff53..b2b09c6 100644--- a/distributions/claude/skills/egm_brainstorm/assets/icon.svg+++ b/distributions/claude/skills/egm_brainstorm/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Brainstorm: idea lightbulb</title>- <path stroke="#1b6ef3" d="M9 17v-1c0-2-3-3-3-6a6 6 0 0 1 12 0c0 3-3 4-3 6v1ZM9 20h6M11 22h2"/>- <path stroke="#e86e00" d="M12 8v5M10 10l2 3 2-3M2 5l1 1M21 6l1-1M12 1v1"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Brainstorm</title><g transform="matrix(1.03 0 0 1.03 -0.360000 -0.360000)"><g transform="translate(0.404494 0.307865) scale(0.966292)"><path fill="#1b6ef3" d="M12 3.2C7.3 3.2 4.4 6.3 4.4 9.8C4.4 13 7.4 15 8 17.4V19A2 2 0 0 0 10 21H14A2 2 0 0 0 16 19V17.4C16.6 15 19.6 13 19.6 9.8C19.6 6.3 16.7 3.2 12 3.2Z"/><path fill="#7cacf8" d="M12 3.2C7.3 3.2 4.4 6.3 4.4 9.8C4.4 13 7.4 15 8 17.4H12Z"/></g></g></svg>diff --git a/distributions/claude/skills/egm_draft/agents/openai.yaml b/distributions/claude/skills/egm_draft/agents/openai.yamlindex f33d1e5..c9695a8 100644--- a/distributions/claude/skills/egm_draft/agents/openai.yaml+++ b/distributions/claude/skills/egm_draft/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Write a design document section by section"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/distributions/claude/skills/egm_draft/assets/icon.svg b/distributions/claude/skills/egm_draft/assets/icon.svgindex 640b968..d388c78 100644--- a/distributions/claude/skills/egm_draft/assets/icon.svg+++ b/distributions/claude/skills/egm_draft/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Draft: document and pencil</title>- <path stroke="#1b6ef3" d="M15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5M7 7h5M7 11h3M7 17h2"/>- <path stroke="#e86e00" d="m12 16 1-4 7-7 3 3-7 7-4 1ZM18 7l3 3"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Draft</title><g transform="matrix(0.98 0 0 0.98 0.240000 0.240000)"><g transform="translate(-0.919547 -2.255662) scale(1.132300)"><path fill="#1b6ef3" d="M-3.2 -6.5A3.2 3.2 0 0 1 3.2 -6.5V8.7L0 12.7L-3.2 8.7Z" transform="translate(12 12) rotate(45)"/><path fill="#7cacf8" d="M-3.2 -6.5A3.2 3.2 0 0 1 3.2 -6.5Z" transform="translate(12 12) rotate(45)"/><path fill="#7cacf8" d="M-3.2 8.7H3.2L0 12.7Z" transform="translate(12 12) rotate(45)"/></g></g></svg>diff --git a/distributions/claude/skills/egm_drift_report/agents/openai.yaml b/distributions/claude/skills/egm_drift_report/agents/openai.yamlindex bfb68ca..f03ed62 100644--- a/distributions/claude/skills/egm_drift_report/agents/openai.yaml+++ b/distributions/claude/skills/egm_drift_report/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Find differences between designs and code"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#E86E00"diff --git a/distributions/claude/skills/egm_drift_report/assets/icon.svg b/distributions/claude/skills/egm_drift_report/assets/icon.svgindex 07c46b3..a9120e6 100644--- a/distributions/claude/skills/egm_drift_report/assets/icon.svg+++ b/distributions/claude/skills/egm_drift_report/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Drift report: diverging paths</title>- <path stroke="#1b6ef3" d="M12 21v-7c0-4-7-3-7-7V3M2 6l3-3 3 3"/>- <path stroke="#e86e00" d="M12 14c0-4 7-3 7-7V3M16 6l3-3 3 3"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Drift report</title><g transform="translate(-0.333333 -0.333333) scale(1.027778)"><path fill="#e86e00" d="M12 3A8 7 0 0 0 12 17Z"/><path fill="#ff8d41" d="M12 7A8 7 0 0 1 12 21Z"/></g></svg>diff --git a/distributions/claude/skills/egm_resolve/agents/openai.yaml b/distributions/claude/skills/egm_resolve/agents/openai.yamlindex 3068ca7..e75a197 100644--- a/distributions/claude/skills/egm_resolve/agents/openai.yaml+++ b/distributions/claude/skills/egm_resolve/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Resolve review findings in a design"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/distributions/claude/skills/egm_resolve/assets/icon.svg b/distributions/claude/skills/egm_resolve/assets/icon.svgindex 7382837..0dd1809 100644--- a/distributions/claude/skills/egm_resolve/assets/icon.svg+++ b/distributions/claude/skills/egm_resolve/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Resolve: completed check</title>- <path stroke="#1b6ef3" d="M21 12a9 9 0 1 1-9-9h3"/>- <path stroke="#e86e00" d="m8 11 4 4L21 5"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Resolve</title><g transform="matrix(0.985 0 0 0.985 0.180000 0.180000)"><g transform="translate(1.393902 0.623415) scale(0.951220)"><path fill="#1b6ef3" d="M1.9544 13.8456A3.6 3.6 0 0 1 7.0456 8.7544L9.3 11.0088L15.2544 5.0544A3.6 3.6 0 0 1 20.3456 10.1456L11.8456 18.6456Q9.3 21.1912 6.7544 18.6456Z"/><path fill="#7cacf8" d="M1.9544 13.8456A3.6 3.6 0 0 1 7.0456 8.7544L9.3 11.0088L6.7544 18.6456Z"/></g></g></svg>diff --git a/distributions/claude/skills/egm_review/agents/openai.yaml b/distributions/claude/skills/egm_review/agents/openai.yamlindex 4d3a0f4..974d61d 100644--- a/distributions/claude/skills/egm_review/agents/openai.yaml+++ b/distributions/claude/skills/egm_review/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Stress-test a design with fresh reviewers"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#E86E00"diff --git a/distributions/claude/skills/egm_review/assets/icon.svg b/distributions/claude/skills/egm_review/assets/icon.svgindex 8597c16..36f3859 100644--- a/distributions/claude/skills/egm_review/assets/icon.svg+++ b/distributions/claude/skills/egm_review/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Review: inspect with magnifier</title>- <circle cx="10" cy="10" r="7" stroke="#1b6ef3"/>- <path stroke="#e86e00" d="m15 15 6 6M7 8h6M7 12h4"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Review</title><g transform="matrix(1 0 0 1 0.250000 0.250000)"><g transform="translate(-0.673383 -0.522269) scale(1.007423)"><path fill="#e86e00" d="M10.5 3A7.2 7.2 0 1 1 10.5 17.4A7.2 7.2 0 1 1 10.5 3ZM10.5 7A3.2 3.2 0 1 0 10.5 13.4A3.2 3.2 0 1 0 10.5 7Z"/><path fill="#ff8d41" d="M10.5 3A7.2 7.2 0 0 0 10.5 17.4V13.4A3.2 3.2 0 0 1 10.5 7Z"/><path fill="#e86e00" d="M13.5 16.2L16.2 13.5L21.3 18.6A1.9 1.9 0 0 1 18.6 21.3Z"/></g></g></svg>diff --git a/distributions/claude/skills/egm_review_loop/agents/openai.yaml b/distributions/claude/skills/egm_review_loop/agents/openai.yamlindex 542d7f6..e69abce 100644--- a/distributions/claude/skills/egm_review_loop/agents/openai.yaml+++ b/distributions/claude/skills/egm_review_loop/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Repeat design reviews and resolve findings"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#E86E00"diff --git a/distributions/claude/skills/egm_review_loop/assets/icon.svg b/distributions/claude/skills/egm_review_loop/assets/icon.svgindex 5bba744..b08f861 100644--- a/distributions/claude/skills/egm_review_loop/assets/icon.svg+++ b/distributions/claude/skills/egm_review_loop/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Review loop: iterative circular arrows</title>- <path stroke="#1b6ef3" d="M4 10a8 8 0 0 1 14-4l2 2M20 3v5h-5"/>- <path stroke="#e86e00" d="M20 14a8 8 0 0 1-14 4l-2-2M4 21v-5h5"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Review loop</title><g transform="matrix(1 0 0 1 0.000000 0.350000)"><g transform="translate(0.652062 0.089433) scale(0.953608)"><path fill="none" stroke="#e86e00" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round" d="M16.803301 17.803301A7.5 7.5 0 1 1 16.803301 7.196699L19.8 10.193398"/><path fill="none" stroke="#ff8d41" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round" d="M14.6 10.193398H19.8V4.993398"/></g></g></svg>diff --git a/docs/designs/README.md b/docs/designs/README.mdindex f553835..d061223 100644--- a/docs/designs/README.md+++ b/docs/designs/README.md@@ -6,6 +6,7 @@ operational guardrails.| Document | Author | Primary Component || :------- | :----- | :---------------- |+| [skill_icons.md](skill_icons.md)<br>Canonical skill artwork shared by plugins, the README, and the website. | [@n3wth](https://github.com/n3wth) | Skill presentation || [runtime_packaging.md](runtime_packaging.md)<br>Draft runtime package boundaries, permissions, and validation. | [@n3wth](https://github.com/n3wth) | Runtime packaging implementation (#136) || [releases.md](releases.md)<br>Draft versioned archives, checksums, and manual release procedure. | [@n3wth](https://github.com/n3wth) | Release implementation (#137) || [architecture.md](architecture.md)<br>System architecture of the EGM framework covering component models, end-to-end dataflow, and agent lifecycle. | [@quinnjim](https://github.com/quinnjim), [@eewing314](https://github.com/eewing314) | [EGM Framework Architecture](../../README.md) |diff --git a/docs/designs/skill_icons.md b/docs/designs/skill_icons.mdnew file mode 100644index 0000000..8e30171--- /dev/null+++ b/docs/designs/skill_icons.md@@ -0,0 +1,58 @@+# Shared skill icons++Status: Draft implementation proposal. Maintainer scope approval is pending.+Author: @n3wth. Date: 2026-10-25.++## Purpose and scope++Use the same seven skill marks in plugin pickers, the README, and egm.dev.+The approved artwork uses familiar silhouettes with two color facets. This+change replaces the existing skill artwork; it does not change skill behavior,+reviewer permissions, installation, or the Elephant-Goldfish logo.++## Source and geometry++Each `skills/egm_*/assets/icon.svg` is the canonical asset. Keep the SVGs+self-contained, with a title and a 24 by 24 viewBox. Visible ink stays inside+the 20 px keyline. Optical size and positioning corrections are part of the+artwork; do not normalize individual bounding boxes or stroke widths.++| Skill | Mark | Base / facet |+| --- | --- | --- |+| Bootstrap | Rounded plus: initialize project documentation | `#1b6ef3` / `#7cacf8` |+| Brainstorm | Lightbulb: explore ideas | `#1b6ef3` / `#7cacf8` |+| Draft | Pencil: write the design | `#1b6ef3` / `#7cacf8` |+| Resolve | Check: address review findings | `#1b6ef3` / `#7cacf8` |+| Drift report | Touching, offset halves: document and code diverge | `#e86e00` / `#ff8d41` |+| Review | Magnifier: inspect the document | `#e86e00` / `#ff8d41` |+| Review loop | Circular arrow: repeat review | `#e86e00` / `#ff8d41` |++## Consumers++- Codex metadata continues to point both icon fields at `./assets/icon.svg`.+ Its `brand_color` matches the icon's base color. Host rendering is controlled+ by the host; metadata validation does not verify its picker UI.+- Both runtime bundles include the canonical files through the existing+ [package builder](../../scripts/pack_plugin.py). Regenerate+ `distributions/claude`; do not edit its copies independently. Claude's+ reviewer color keywords and the plugin-level logo stay unchanged.+- The root README references the canonical paths directly. These relative+ paths also resolve inside generated runtime packages.+- The site imports the canonical SVGs at build time. A shared `SkillIcon`+ component renders a 28 px glyph in a 40 px neutral circle using the site's+ surface tokens. Circles are presentation, not baked into the asset.+ Keep adjacent skill names and empty image alt text to avoid duplicate+ announcements. Brainstorm, Draft, and Review form the three-step sequence;+ a sentence below it explains the handoff to implementation after approval.+- The site workflow watches canonical SVG changes as well as `site/` changes.++## Verification and rollout++Check metadata colors and SVG structure, runtime byte equality, README image+inclusion, Astro type checking and production build. Inspect desktop and+mobile layouts in both color schemes and refresh committed site captures.+All seven marks must remain legible beside their labels.++This proposal builds on runtime-packaging PR #136. Its draft status does not+claim an approved issue, a merged design, or a completed native-host workflow+test. Obtain maintainer agreement on the contribution track before merge.diff --git a/site/README.md b/site/README.mdindex 9479eb8..ec7475c 100644--- a/site/README.md+++ b/site/README.md@@ -12,7 +12,11 @@ GitHub Pages.-+++++</details>@@ -34,6 +38,17 @@ GitHub Pages.components' documented custom properties. Do not restyle component boxes.- Keep skill names and commands identical to the repository README.+## Skill icons++`src/components/SkillIcon.astro` imports the canonical+`../skills/egm_*/assets/icon.svg` files with `?url`. The website and plugin packages+use these same assets; do not copy them into `public/` or redraw them in components.+Each decorative glyph is 28px inside a 40px circle using the existing surface+tokens, with an adjacent skill name or command providing its accessible label.+The workflow and skill catalog share this component. The workflow shows+Brainstorm, Draft, and Review, followed by a short handoff to the coding agent and+a separate Check for drift follow-up after implementation.+## Develop```shdiff --git a/site/screenshots/full-dark.png b/site/screenshots/full-dark.pngnew file mode 100644index 0000000..6853b37Binary files /dev/null and b/site/screenshots/full-dark.png differdiff --git a/site/screenshots/full-light.png b/site/screenshots/full-light.pngindex a61fd81..4d4c650 100644Binary files a/site/screenshots/full-light.png and b/site/screenshots/full-light.png differdiff --git a/site/screenshots/mobile-dark.png b/site/screenshots/mobile-dark.pngnew file mode 100644index 0000000..b8ed4a0Binary files /dev/null and b/site/screenshots/mobile-dark.png differdiff --git a/site/screenshots/mobile.png b/site/screenshots/mobile.pngindex e3b4862..15d76d6 100644Binary files a/site/screenshots/mobile.png and b/site/screenshots/mobile.png differdiff --git a/site/scripts/capture.mjs b/site/scripts/capture.mjsindex 9648f26..e30f66e 100644--- a/site/scripts/capture.mjs+++ b/site/scripts/capture.mjs@@ -60,7 +60,9 @@ try {await capture({ url: `${base}/`, out: 'screenshots/hero-light.png', width: 1200, height: 600 });await capture({ url: `${base}/`, out: 'screenshots/hero-dark.png', width: 1200, height: 600, scheme: 'dark' });await capture({ url: `${base}/`, out: 'screenshots/full-light.png', width: 1000, height: 800, fullPage: true });- await capture({ url: `${base}/`, out: 'screenshots/mobile.png', width: 375, height: 812 });+ await capture({ url: `${base}/`, out: 'screenshots/full-dark.png', width: 1000, height: 800, scheme: 'dark', fullPage: true });+ await capture({ url: `${base}/`, out: 'screenshots/mobile.png', width: 375, height: 812, fullPage: true });+ await capture({ url: `${base}/`, out: 'screenshots/mobile-dark.png', width: 375, height: 812, scheme: 'dark', fullPage: true });} finally {await browser.close();server.close();diff --git a/site/src/components/Loop.astro b/site/src/components/Loop.astroindex c722f1e..880fb7b 100644--- a/site/src/components/Loop.astro+++ b/site/src/components/Loop.astro@@ -1,24 +1,29 @@---+import SkillIcon from './SkillIcon.astro';+const steps = [{name: 'Brainstorm',+ icon: 'brainstorm',role: 'Elephant',command: '/egm-brainstorm',body: 'Clarify a rough idea through open-ended questioning and stress-test the hypothesis into a concept brief.',},{name: 'Draft',+ icon: 'draft',role: 'Elephant',command: '/egm-draft',body: 'Turn the brief into a living design doc under docs/designs/, section by section.',},{name: 'Review',+ icon: 'review',role: 'Goldfish',command: '/egm-review',body: 'Fresh zero-context Goldfish subagents check completeness, clarity, self-containment, and implementation readiness.',},-];+] as const;---<section class="section loop">@@ -28,50 +33,32 @@ const steps = [</div><ol class="steps">{- steps.map((step, i) => (+ steps.map((step) => (<li class="step">- <span class="badge badge-large">{i + 1}</span>+ <span class="marker"><SkillIcon skill={step.icon} /></span><div class="title-row"><h3 class="title">{step.name}</h3><span class="role">{step.role}</span></div>- <code class="cmd">{step.command}</code>+ <span class="cmd">{step.command}</span><p class="muted">{step.body}</p></li>))}- <li class="step">- <span class="badge badge-large" aria-hidden="true">- <svg viewBox="0 -960 960 960">- <path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"></path>- </svg>- </span>- <div class="title-row">- <h3 class="title">Build the code</h3>- <span class="role">You</span>- </div>- <span class="no-skill">No skill needed</span>- <p class="muted">- Hand the verified spec directly to your coding agent to build the feature.- </p>- </li>- <li class="step drift">- <span class="marker" aria-hidden="true">- <svg viewBox="0 -960 960 960">- <path- d="M204-318q-22-38-33-78t-11-82q0-134 93-228t227-94h7l-64-64 56-56 160 160-160 160-56-56 64-64h-7q-100 0-170 70.5T240-478q0 26 6 51t18 49l-60 60ZM481-40 321-200l160-160 56 56-64 64h7q100 0 170-70.5T720-482q0-26-6-51t-18-49l60-60q22 38 33 78t11 82q0 134-93 228t-227 94h-7l64 64-56 56Z"- ></path>- </svg>- </span>- <div class="drift-head">- <h3 class="title">Then weekly</h3>- <code class="cmd">/egm-drift-report</code>- </div>- <p class="muted">- Compare your codebase against your specs to find where they diverge.- </p>- </li></ol>+ <p class="handoff muted">+ Once you approve the spec, ask your coding agent to build it.+ </p>+ <div class="step drift">+ <span class="marker"><SkillIcon skill="drift_report" /></span>+ <div class="drift-head">+ <h3 class="title">Check for drift</h3>+ <span class="cmd">/egm-drift-report</span>+ </div>+ <p class="muted">+ After implementation, compare the code with the spec and report where they diverge.+ </p>+ </div></div></section>@@ -80,13 +67,13 @@ const steps = [background: var(--md-sys-color-surface-container-low);}- /* One continuous rule carries the sequence; each step's number sits on the line. */+ /* One continuous rule carries the sequence; each step's marker sits on the line. */.steps {list-style: none;margin: 0;padding: 0;display: grid;- grid-template-columns: repeat(4, minmax(0, 1fr));+ grid-template-columns: repeat(3, minmax(0, 1fr));row-gap: 48px;}@@ -99,69 +86,34 @@ const steps = [display: flex;flex-direction: column;gap: 10px;- padding-block-start: 32px;+ padding-block-start: 44px;padding-inline-end: 24px;border-block-start: 1px solid var(--md-sys-color-outline-variant);}- .step:nth-child(4n) {+ .steps .step:last-child {padding-inline-end: 0;}- /* Badge theming through its documented custom properties. The outline in the band- color lifts the number off the rule. */- .step :global(.badge),+ /* The outline in the band color lifts each marker off the rule. */.marker {- --label-text: var(--md-sys-typescale-label-lg);- --size: 28px;position: absolute;- inset-block-start: -14px;+ inset-block-start: -20px;inset-inline-start: 0;outline: 6px solid var(--md-sys-color-surface-container-low);- }-- /* Elephant steps (Brainstorm, Draft) and the Goldfish step (Review) use the brand marks. */- .step:nth-child(1) :global(.badge),- .step:nth-child(2) :global(.badge) {- --container-color: var(--egm-color-elephant);- --label-text-color: var(--egm-color-on-elephant);- }-- .step:nth-child(3) :global(.badge) {- --container-color: var(--egm-color-goldfish);- --label-text-color: var(--egm-color-on-goldfish);- }-- .step:nth-child(4) :global(.badge) {- --container-color: var(--md-sys-color-primary);- --label-text-color: var(--md-sys-color-on-primary);- }-- .marker {- display: grid;- place-items: center;- inline-size: 28px;- block-size: 28px;+ display: flex;+ inline-size: 40px;+ block-size: 40px;border-radius: 50%;- background: var(--md-sys-color-surface-container-low);- border: 1px solid var(--md-sys-color-outline);- color: var(--md-sys-color-on-surface);}- .step :global(.badge) > svg,- .marker > svg {- inline-size: 16px;- block-size: 16px;- fill: currentColor;+ .handoff {+ margin-block: 32px 52px;}.cmd {font-size: 0.875rem;- color: var(--md-sys-color-on-surface);- background: var(--md-sys-color-surface-container-high);- border-radius: 6px;- padding: 2px 8px;- inline-size: fit-content;+ color: var(--md-sys-color-on-surface-variant);}/* Role sits beside the heading, not inside it, so screen readers announce the heading as just the step name. */@@ -176,22 +128,10 @@ const steps = [color: var(--md-sys-color-on-surface-variant);}- .no-skill {- font: var(--md-sys-typescale-label-md);- font-size: 0.875rem;- letter-spacing: 0;- color: var(--md-sys-color-on-surface-variant);- border: 1px dashed var(--md-sys-color-outline);- border-radius: 6px;- padding: 2px 8px;- inline-size: fit-content;- }-- /* The weekly check is not a fifth step: same anatomy, laid across the whole rule. */+ /* The drift check follows implementation, laid across the whole rule. */.drift {- grid-column: 1 / -1;display: grid;- grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);column-gap: 0;align-items: start;padding-inline-end: 0;@@ -210,33 +150,14 @@ const steps = [padding-block-start: 2px;}- @media (max-width: 1000px) {- .steps {- grid-template-columns: repeat(2, minmax(0, 1fr));- }-- .step:nth-child(4n) {- padding-inline-end: 24px;- }-- .step:nth-child(2n) {- padding-inline-end: 0;- }-- .drift {- grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);- }- }-- @media (max-width: 560px) {+ @media (width < 760px) {.steps {grid-template-columns: 1fr;- row-gap: 40px;+ row-gap: 52px;}- .step,- .step:nth-child(2n),- .step:nth-child(4n) {+ .step {+ padding-block-start: 40px;padding-inline-end: 0;}diff --git a/site/src/components/SkillIcon.astro b/site/src/components/SkillIcon.astronew file mode 100644index 0000000..607e32e--- /dev/null+++ b/site/src/components/SkillIcon.astro@@ -0,0 +1,42 @@+---+import bootstrap from '../../../skills/egm_bootstrap/assets/icon.svg?url';+import brainstorm from '../../../skills/egm_brainstorm/assets/icon.svg?url';+import draft from '../../../skills/egm_draft/assets/icon.svg?url';+import resolve from '../../../skills/egm_resolve/assets/icon.svg?url';+import drift_report from '../../../skills/egm_drift_report/assets/icon.svg?url';+import review from '../../../skills/egm_review/assets/icon.svg?url';+import review_loop from '../../../skills/egm_review_loop/assets/icon.svg?url';++const icons = { bootstrap, brainstorm, draft, resolve, drift_report, review, review_loop };++interface Props {+ skill: keyof typeof icons;+}++const { skill } = Astro.props;+---++<span class="skill-icon" aria-hidden="true">+ <img src={icons[skill]} width="28" height="28" alt="" />+</span>++<style>+ .skill-icon {+ display: inline-grid;+ place-items: center;+ flex: none;+ inline-size: 40px;+ block-size: 40px;+ border-radius: 50%;+ background: light-dark(+ var(--md-sys-color-surface-container),+ var(--md-sys-color-surface-container-low)+ );+ }++ img {+ display: block;+ inline-size: 28px;+ block-size: 28px;+ }+</style>diff --git a/site/src/components/Skills.astro b/site/src/components/Skills.astroindex 62c4572..0f78863 100644--- a/site/src/components/Skills.astro+++ b/site/src/components/Skills.astro@@ -1,4 +1,6 @@---+import SkillIcon from './SkillIcon.astro';+const repo = 'https://github.com/google/elephant-goldfish-model';// User-facing slash-command entry points from the repository Skills Catalog.@@ -7,33 +9,52 @@ const skills = [name: 'Brainstorm',command: '/egm-brainstorm',dir: 'egm_brainstorm',- body: 'Ideate before any document exists. Clarify the problem and stress-test the raw concept into a structured brief.',+ icon: 'brainstorm',+ body: 'Test an idea and write a concept brief.',},{name: 'Draft',command: '/egm-draft',dir: 'egm_draft',- body: 'Compile a markdown design specification section by section, with the Elephant holding the full context.',+ icon: 'draft',+ body: 'Turn a brief or existing notes into a design document.',},{name: 'Review',command: '/egm-review',dir: 'egm_review',- body: 'Run the multi-stage Goldfish verification pipeline: zoom out, comprehension, critic, readiness.',+ icon: 'review',+ body: 'Review a design with fresh agents across five stages.',},{- name: 'Bootstrap',- command: '/egm-bootstrap',- dir: 'egm_bootstrap',- body: 'Generate bottom-up documentation for an existing codebase and keep it current in sentinel blocks.',+ name: 'Resolve',+ command: '/egm-resolve',+ dir: 'egm_resolve',+ icon: 'resolve',+ body: 'Work through review findings and agree on changes.',},{name: 'Drift Report',command: '/egm-drift-report',dir: 'egm_drift_report',- body: 'Scan the syntax tree to flag where live code diverges from checked-in specs.',+ icon: 'drift_report',+ body: 'Compare checked-in documents with the current source code.',+ },+ {+ name: 'Bootstrap',+ command: '/egm-bootstrap',+ dir: 'egm_bootstrap',+ icon: 'bootstrap',+ body: 'Create or update documentation for an existing codebase.',+ },+ {+ name: 'Review loop',+ command: '/egm-review-loop',+ dir: 'egm_review_loop',+ icon: 'review_loop',+ body: 'Run a configured group of reviewers for a specific review task.',},-];+] as const;---<section class="section skills" id="skills">@@ -52,10 +73,13 @@ const skills = [rel="noopener"><span class="list-item-leading">- <code class="cmd">{skill.command}</code>+ <SkillIcon skill={skill.icon} /></span><span class="list-item-content">- {skill.name}+ <span class="skill-heading">+ <span>{skill.name}</span>+ <span class="cmd">{skill.command}</span>+ </span><span class="list-item-supporting-text">{skill.body}</span></span><span class="list-item-trailing">@@ -72,9 +96,7 @@ const skills = [</section><style>- /* An index, not a stack of cards: hairline rows, the command in its own column so the- five commands read as one aligned list, name and description beside it. List item- theming goes through the component's documented custom properties. */+ /* Each row groups the title, command, and description beside its skill icon. */.skills .list {border-radius: 0;border-block-start: 1px solid var(--md-sys-color-outline-variant);@@ -94,7 +116,7 @@ const skills = [--trailing-space: 8px;--between-space: 24px;--trailing-icon-size: 22px;- align-items: baseline;+ align-items: center;/* The package rounds a list's first and last rows by inheriting the list's own corners.With the straight hairline above (list radius 0) that left the end rows half-square onhover; every row's state layer now follows its own shape token on all four corners. */@@ -102,11 +124,24 @@ const skills = [}.skills .list-item-leading {+ display: flex;+ align-items: center;flex: none;- inline-size: 15rem;+ inline-size: 40px;min-height: 0;}+ .skills .list-item-content {+ min-inline-size: 0;+ }++ .skill-heading {+ display: flex;+ align-items: baseline;+ flex-wrap: wrap;+ gap: 4px 12px;+ }+.skills .list-item-trailing {align-self: center;}@@ -118,26 +153,16 @@ const skills = [}.cmd {- font-size: 0.8125rem;+ font-size: 0.875rem;+ font-weight: 400;color: var(--md-sys-color-on-surface-variant);}@media (max-width: 760px) {.skills .list-item {- flex-wrap: wrap;--between-space: 16px;--top-space: 18px;--bottom-space: 20px;}-- .skills .list-item-leading {- inline-size: 100%;- line-height: 1.25rem;- margin-block-end: -6px;- }-- .skills .list-item-content {- flex-basis: 0;- }}</style>diff --git a/skills/egm_bootstrap/agents/openai.yaml b/skills/egm_bootstrap/agents/openai.yamlindex d44906a..e6d6e6a 100644--- a/skills/egm_bootstrap/agents/openai.yaml+++ b/skills/egm_bootstrap/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Create directory guides for a codebase"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/skills/egm_bootstrap/assets/icon.svg b/skills/egm_bootstrap/assets/icon.svgindex 47bbace..eb0ec3b 100644--- a/skills/egm_bootstrap/assets/icon.svg+++ b/skills/egm_bootstrap/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Bootstrap: repository folder tree</title>- <path stroke="#1b6ef3" d="M3 18V6a2 2 0 0 1 2-2h4l2 3h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"/>- <path stroke="#e86e00" d="M8 10v6h8M8 12h6M12 16v-2"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Bootstrap</title><g transform="matrix(1.05 0 0 1.05 -0.600000 -0.600000)"><path fill="#1b6ef3" d="M9.2 5.6A2.8 2.8 0 0 1 14.8 5.6V8.2A1 1 0 0 0 15.8 9.2H18.4A2.8 2.8 0 0 1 18.4 14.8H15.8A1 1 0 0 0 14.8 15.8V18.4A2.8 2.8 0 0 1 9.2 18.4V15.8A1 1 0 0 0 8.2 14.8H5.6A2.8 2.8 0 0 1 5.6 9.2H8.2A1 1 0 0 0 9.2 8.2Z"/><path fill="#7cacf8" d="M9.2 5.6A2.8 2.8 0 0 1 14.8 5.6V8.2A1 1 0 0 0 15.092893219 8.907106781L8.907106781 15.092893219A1 1 0 0 0 8.2 14.8H5.6A2.8 2.8 0 0 1 5.6 9.2H8.2A1 1 0 0 0 9.2 8.2Z"/></g></svg>diff --git a/skills/egm_brainstorm/agents/openai.yaml b/skills/egm_brainstorm/agents/openai.yamlindex 0579107..55348cd 100644--- a/skills/egm_brainstorm/agents/openai.yaml+++ b/skills/egm_brainstorm/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Turn an idea into a clear design brief"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/skills/egm_brainstorm/assets/icon.svg b/skills/egm_brainstorm/assets/icon.svgindex b84ff53..b2b09c6 100644--- a/skills/egm_brainstorm/assets/icon.svg+++ b/skills/egm_brainstorm/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Brainstorm: idea lightbulb</title>- <path stroke="#1b6ef3" d="M9 17v-1c0-2-3-3-3-6a6 6 0 0 1 12 0c0 3-3 4-3 6v1ZM9 20h6M11 22h2"/>- <path stroke="#e86e00" d="M12 8v5M10 10l2 3 2-3M2 5l1 1M21 6l1-1M12 1v1"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Brainstorm</title><g transform="matrix(1.03 0 0 1.03 -0.360000 -0.360000)"><g transform="translate(0.404494 0.307865) scale(0.966292)"><path fill="#1b6ef3" d="M12 3.2C7.3 3.2 4.4 6.3 4.4 9.8C4.4 13 7.4 15 8 17.4V19A2 2 0 0 0 10 21H14A2 2 0 0 0 16 19V17.4C16.6 15 19.6 13 19.6 9.8C19.6 6.3 16.7 3.2 12 3.2Z"/><path fill="#7cacf8" d="M12 3.2C7.3 3.2 4.4 6.3 4.4 9.8C4.4 13 7.4 15 8 17.4H12Z"/></g></g></svg>diff --git a/skills/egm_draft/agents/openai.yaml b/skills/egm_draft/agents/openai.yamlindex f33d1e5..c9695a8 100644--- a/skills/egm_draft/agents/openai.yaml+++ b/skills/egm_draft/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Write a design document section by section"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/skills/egm_draft/assets/icon.svg b/skills/egm_draft/assets/icon.svgindex 640b968..d388c78 100644--- a/skills/egm_draft/assets/icon.svg+++ b/skills/egm_draft/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Draft: document and pencil</title>- <path stroke="#1b6ef3" d="M15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5M7 7h5M7 11h3M7 17h2"/>- <path stroke="#e86e00" d="m12 16 1-4 7-7 3 3-7 7-4 1ZM18 7l3 3"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Draft</title><g transform="matrix(0.98 0 0 0.98 0.240000 0.240000)"><g transform="translate(-0.919547 -2.255662) scale(1.132300)"><path fill="#1b6ef3" d="M-3.2 -6.5A3.2 3.2 0 0 1 3.2 -6.5V8.7L0 12.7L-3.2 8.7Z" transform="translate(12 12) rotate(45)"/><path fill="#7cacf8" d="M-3.2 -6.5A3.2 3.2 0 0 1 3.2 -6.5Z" transform="translate(12 12) rotate(45)"/><path fill="#7cacf8" d="M-3.2 8.7H3.2L0 12.7Z" transform="translate(12 12) rotate(45)"/></g></g></svg>diff --git a/skills/egm_drift_report/agents/openai.yaml b/skills/egm_drift_report/agents/openai.yamlindex bfb68ca..f03ed62 100644--- a/skills/egm_drift_report/agents/openai.yaml+++ b/skills/egm_drift_report/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Find differences between designs and code"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#E86E00"diff --git a/skills/egm_drift_report/assets/icon.svg b/skills/egm_drift_report/assets/icon.svgindex 07c46b3..a9120e6 100644--- a/skills/egm_drift_report/assets/icon.svg+++ b/skills/egm_drift_report/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Drift report: diverging paths</title>- <path stroke="#1b6ef3" d="M12 21v-7c0-4-7-3-7-7V3M2 6l3-3 3 3"/>- <path stroke="#e86e00" d="M12 14c0-4 7-3 7-7V3M16 6l3-3 3 3"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Drift report</title><g transform="translate(-0.333333 -0.333333) scale(1.027778)"><path fill="#e86e00" d="M12 3A8 7 0 0 0 12 17Z"/><path fill="#ff8d41" d="M12 7A8 7 0 0 1 12 21Z"/></g></svg>diff --git a/skills/egm_resolve/agents/openai.yaml b/skills/egm_resolve/agents/openai.yamlindex 3068ca7..e75a197 100644--- a/skills/egm_resolve/agents/openai.yaml+++ b/skills/egm_resolve/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Resolve review findings in a design"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#1B6EF3"diff --git a/skills/egm_resolve/assets/icon.svg b/skills/egm_resolve/assets/icon.svgindex 7382837..0dd1809 100644--- a/skills/egm_resolve/assets/icon.svg+++ b/skills/egm_resolve/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Resolve: completed check</title>- <path stroke="#1b6ef3" d="M21 12a9 9 0 1 1-9-9h3"/>- <path stroke="#e86e00" d="m8 11 4 4L21 5"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Resolve</title><g transform="matrix(0.985 0 0 0.985 0.180000 0.180000)"><g transform="translate(1.393902 0.623415) scale(0.951220)"><path fill="#1b6ef3" d="M1.9544 13.8456A3.6 3.6 0 0 1 7.0456 8.7544L9.3 11.0088L15.2544 5.0544A3.6 3.6 0 0 1 20.3456 10.1456L11.8456 18.6456Q9.3 21.1912 6.7544 18.6456Z"/><path fill="#7cacf8" d="M1.9544 13.8456A3.6 3.6 0 0 1 7.0456 8.7544L9.3 11.0088L6.7544 18.6456Z"/></g></g></svg>diff --git a/skills/egm_review/agents/openai.yaml b/skills/egm_review/agents/openai.yamlindex 4d3a0f4..974d61d 100644--- a/skills/egm_review/agents/openai.yaml+++ b/skills/egm_review/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Stress-test a design with fresh reviewers"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#E86E00"diff --git a/skills/egm_review/assets/icon.svg b/skills/egm_review/assets/icon.svgindex 8597c16..36f3859 100644--- a/skills/egm_review/assets/icon.svg+++ b/skills/egm_review/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Review: inspect with magnifier</title>- <circle cx="10" cy="10" r="7" stroke="#1b6ef3"/>- <path stroke="#e86e00" d="m15 15 6 6M7 8h6M7 12h4"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Review</title><g transform="matrix(1 0 0 1 0.250000 0.250000)"><g transform="translate(-0.673383 -0.522269) scale(1.007423)"><path fill="#e86e00" d="M10.5 3A7.2 7.2 0 1 1 10.5 17.4A7.2 7.2 0 1 1 10.5 3ZM10.5 7A3.2 3.2 0 1 0 10.5 13.4A3.2 3.2 0 1 0 10.5 7Z"/><path fill="#ff8d41" d="M10.5 3A7.2 7.2 0 0 0 10.5 17.4V13.4A3.2 3.2 0 0 1 10.5 7Z"/><path fill="#e86e00" d="M13.5 16.2L16.2 13.5L21.3 18.6A1.9 1.9 0 0 1 18.6 21.3Z"/></g></g></svg>diff --git a/skills/egm_review_loop/agents/openai.yaml b/skills/egm_review_loop/agents/openai.yamlindex 542d7f6..e69abce 100644--- a/skills/egm_review_loop/agents/openai.yaml+++ b/skills/egm_review_loop/agents/openai.yaml@@ -3,4 +3,4 @@ interface:short_description: "Repeat design reviews and resolve findings"icon_small: "./assets/icon.svg"icon_large: "./assets/icon.svg"- brand_color: "#007BFF"+ brand_color: "#E86E00"diff --git a/skills/egm_review_loop/assets/icon.svg b/skills/egm_review_loop/assets/icon.svgindex 5bba744..b08f861 100644--- a/skills/egm_review_loop/assets/icon.svg+++ b/skills/egm_review_loop/assets/icon.svg@@ -1,5 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <title>Review loop: iterative circular arrows</title>- <path stroke="#1b6ef3" d="M4 10a8 8 0 0 1 14-4l2 2M20 3v5h-5"/>- <path stroke="#e86e00" d="M20 14a8 8 0 0 1-14 4l-2-2M4 21v-5h5"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>Review loop</title><g transform="matrix(1 0 0 1 0.000000 0.350000)"><g transform="translate(0.652062 0.089433) scale(0.953608)"><path fill="none" stroke="#e86e00" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round" d="M16.803301 17.803301A7.5 7.5 0 1 1 16.803301 7.196699L19.8 10.193398"/><path fill="none" stroke="#ff8d41" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round" d="M14.6 10.193398H19.8V4.993398"/></g></g></svg>diff --git a/tests/unit/test_packaging.py b/tests/unit/test_packaging.pyindex 83781ed..0ae6a30 100644--- a/tests/unit/test_packaging.py+++ b/tests/unit/test_packaging.py@@ -5,6 +5,7 @@import jsonfrom pathlib import Path+import reimport runpyimport shutilfrom xml.etree import ElementTree@@ -69,6 +70,8 @@ def test_runtime_bundle_is_complete_and_reproducible(assert "docs/codex.md" in namesassert "docs/claude.md" in namesassert "assets/icon.svg" in names+ for image in re.findall(r'<img\b[^>]*\bsrc="([^"]+)"', bundle.read("README.md").decode()):+ assert image in names, f"Unbundled README image: {image}"assert not names.intersection({"CONTRIBUTING.md", "AI_POLICY.md", "TESTING.md",".github/PULL_REQUEST_TEMPLATE.md"})assert not any(p.startswith("docs/designs/") for p in names)@@ -95,6 +98,31 @@ def test_runtime_bundle_is_complete_and_reproducible(check_links(first)[email protected]("skill,base,facet", [+ ("bootstrap", "#1b6ef3", "#7cacf8"),+ ("brainstorm", "#1b6ef3", "#7cacf8"),+ ("draft", "#1b6ef3", "#7cacf8"),+ ("resolve", "#1b6ef3", "#7cacf8"),+ ("drift_report", "#e86e00", "#ff8d41"),+ ("review", "#e86e00", "#ff8d41"),+ ("review_loop", "#e86e00", "#ff8d41"),+])+def test_skill_icon_and_host_palette_match(skill: str, base: str, facet: str) -> None:+ root = ROOT / "skills" / f"egm_{skill}"+ metadata = yaml.safe_load((root / "agents/openai.yaml").read_text())["interface"]+ assert metadata["brand_color"].lower() == base+ for field in ("icon_small", "icon_large"):+ svg = ElementTree.parse(root / metadata[field]).getroot()+ assert svg.get("viewBox") == "0 0 24 24"+ assert svg.findtext("{http://www.w3.org/2000/svg}title")+ colors = {+ value.lower() for element in svg.iter()+ for key, value in element.attrib.items()+ if key in ("fill", "stroke") and value != "none"+ }+ assert colors == {base, facet}++@pytest.mark.parametrize("target", ["claude", "openai"])def test_bundles_readme_images(source: Path, tmp_path: Path, target: str) -> None:image_dir = source / "docs/assets"