Design before code with the Elephant-Goldfish Model (EGM). Stages - brainstorm an idea, draft a design doc, review it with fresh Goldfish reviewers (once or in a loop), resolve their findings, or check design docs against the code for drift. Use for "write a design doc", "review this spec", "/ael-spec review". Not for a small fix or a feature that needs no design doc (use ael).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ael Spec?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/egagofur-ael-spec)
---
name: ael-spec
license: Apache-2.0
disable-model-invocation: true
description: Design before code with the Elephant-Goldfish Model (EGM). Stages - brainstorm an idea, draft a design doc, review it with fresh Goldfish reviewers (once or in a loop), resolve their findings, or check design docs against the code for drift. Use for "write a design doc", "review this spec", "/ael-spec review". Not for a small fix or a feature that needs no design doc (use ael).
---
<!-- Generated by scripts/sync-spec-pack.js from egagofur/elephant-goldfish-model@228457d1e0b6. Derived from the Elephant-Goldfish Model, Copyright Google LLC, Apache-2.0; modified: merged into one ael-spec skill with one reference per stage, host-neutral references. Do not edit; run the script. -->
# AEL spec: design before code
One skill, one stage at a time. Pick the stage from the user's words (`/ael-spec review`, "draft the design doc"). If it is unclear, ask with the host's question buttons. Read only that stage's reference, then follow it.
| Stage | When | Read |
|---|---|---|
| `brainstorm` | a half-baked idea; produce a concepts brief | `references/spec-brainstorm.md` |
| `draft` | a brief or notes; write the design doc section by section (template: `references/design_doc.md`) | `references/spec-draft.md` |
| `review` | a design doc; one round of fresh Goldfish reviews | `references/spec-review.md` |
| `review loop` | a design doc; review, fix and review again until it is clean | `references/spec-review-loop.md` |
| `resolve` | reviewer reports; apply the fixes the human accepts | `references/spec-resolve.md` |
| `drift` | existing design docs; check them against the code | `references/spec-drift.md` |
After a reviewed design: `npx ai-engineering-loop goal draft --from-design <doc.md>` turns it into a Goal (`npx ai-engineering-loop docs spec-pack`).