/ekosistem-edho-ferdian:gan-harness-edho-ferdianfrom ekosistem-edho-ferdian
Runs a Plan-Generate-Evaluate adversarial loop to rapidly prototype and refine a live app. An evaluator drives the browser, scores against a design rubric, and feeds fixes back until the app passes.
Ships in ekosistem-edho-ferdian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are running a three-phase adversarial loop — Plan, Generate, Evaluate —
to rapidly build and refine a prototype or design iteration. This is
deliberately faster and looser than dev-kickoff-edho-ferdian's six-stage
PLAN → TEST → IMPLEMENT → REVIEW → VERIFY → REMEMBER loop: no test-first
discipline, no full Reflection/CCL gate machinery, no project-memory sync
after every task. Use this when the goal is exploring what an app or a
screen could look like, iterating fast on craft and design — not when the
goal is a production feature with correctness guarantees. If the user's
actual need is production feature work, point them at
dev-kickoff-edho-ferdian instead of running this loop on it.
The original gan-planner concept takes a one-line prompt and is explicitly
instructed to "be deliberately ambitious" — invent 12-16 features,
push scope beyond what was asked, because "conservative planning leads to
underwhelming results." That is a direct contradiction of this ecosystem's
ground-truth ethos: real specs, real tool output, never fabricate scope that
nobody asked for and call it a plan.
This skill replaces that behavior. The Plan phase never invents a feature list from nothing. It pulls scope from one of three sources, in this priority order:
/project-memory/01-decision-register.md
exists, written by dev-kickoff-edho-ferdian) → the feature/requirement
list comes from the Decision Register's binding decisions and any
Provisional Task Plan, not from re-imagining the product./project-memory/mined-specs/*.md, written by spec-mining-edho-ferdian)
→ the feature list is the set of Requirements/Invariants already
extracted from the real, running code. Iterate the UI/UX around behavior
that's already there.[EXPLORATORY — NOT APPROVED], and gated behind the same approval
requirement as dev-kickoff-edho-ferdian's own Provisional Task Plan:
the user must approve, reject, or amend it before Generate starts.
Never treat an exploratory scope as if it were derived from real
requirements, and never let its language drift toward sounding
authoritative after a few iterations.Full mechanics, templates, and the decision tree for which source applies:
references/spec-and-plan.md.
Phase 1 Plan — derive scope from a real source (see above) → references/spec-and-plan.md
Phase 2 Generate — build/iterate the live app → references/generate-phase.md
Phase 3 Evaluate — drive the live app, score, feed back, loop → references/evaluate-phase.md
Plan stays in the main thread — it's about faithfully extracting scope
that already exists (Decision Register, mined specs), not adversarial
judgment, so isolation buys little there. Generate and Evaluate are
different: the entire adversarial framing of this loop depends on Evaluate
scoring the app without having seen Generate's own reasoning about it.
A same-context "now evaluate what you just built, but pretend you don't
remember building it" instruction is not a real isolation guarantee — the
context is still there. Delegating each phase to its own agent
(gan-generator-edho-ferdian, gan-evaluator-edho-ferdian) makes the
separation structural instead of just requested.
Produce a spec document and a rubric, same shape as the original concept
(spec.md + eval-rubric.md, or equivalent paths inside this project's
gan-harness/ working directory), but sourced per the priority order above
instead of invented. See references/spec-and-plan.md for the exact
decision tree, source-reading rules, and the [EXPLORATORY — NOT APPROVED]
template.
On a harness with sub-agent delegation (Claude Code, OpenCode, Hermes via
its delegate_task template, ZCode's own Subagents), delegate this phase to
the gan-generator-edho-ferdian agent for each round rather than running
it inline — see "Why phases are separate agents" below for why this
matters more here than it does for a typical review delegation. On a
harness with no delegation primitive, run the phase inline instead, per
the instructions below. If the Evaluator's score stops improving for two
rounds on the same issue, run the next Generate round one tier up instead
of repeating the same attempt — config-hygiene-edho-ferdian's
references/harness-operation.md §4.2.
Build fast, commit per
iteration, keep a dev server running, read the Evaluator's feedback file
before every iteration after the first, fix issues in the priority order
functionality → craft → design → originality. This phase conceptually maps
onto dev-kickoff-edho-ferdian's IMPLEMENT stage, but stays a separate,
faster/looser variant here rather than merging into it: no test-first
requirement, no per-task Reflection block, commits are iteration checkpoints
rather than reviewed units of work. Full workflow, state-file format, and
the "avoid AI slop" quick-reference: references/generate-phase.md
(the full craft checklist lives in references/frontend-craft-checklist.md,
cross-referenced from there). When the app being built is a React/Next.js
UI, also pull the matching authoring reference from
frontend-engineering-edho-ferdian (design-direction.md, ui-polish.md,
motion-system.md, composition-and-ux.md, accessible-authoring.md) —
the checklist tells you what to fix; that skill's references tell you
how to build it right the first time, cutting iteration count instead of
relying on the Evaluate phase to catch it.
On a harness with sub-agent delegation, delegate this phase to the
gan-evaluator-edho-ferdian agent — this is the phase where isolation
matters most (see below): an evaluator that shares the Generator's context
already has its justifications in view and will tend to agree with them
instead of judging the app on its own terms. On a harness with no
delegation primitive, run the phase inline, and say so plainly in the
feedback file rather than letting the loop's output imply an isolation
guarantee that wasn't actually available.
Drives the live running app (not a code read) via whatever browser-
automation driver is actually available — detect at runtime, same
requirement as e2e-testing-edho-ferdian: do not hardcode one preferred
tool (Playwright MCP was the original's only option; this ecosystem may also
have Chrome DevTools MCP, windows-desktop-e2e, or another driver installed).
Scores against the weighted rubric:
weighted = (design * 0.3) + (originality * 0.2) + (craft * 0.3) + (functionality * 0.2)
Iterates until the weighted score crosses 7.0 or a max-iteration cap is
hit (default 5 — confirm with the user for anything that could run
unattended longer). Evaluation-mode honesty is mandatory: the feedback
file records the mode actually achieved — live-driver, screenshot, or
code-only — never the mode that was merely requested. If driving the live
app fails and the phase silently falls back to a static code read, that must
be stated as a code-only result, not scored as if a live evaluation
happened. Full driver-detection procedure, scoring calibration, feedback-file
format, and the iteration/stop-condition rules: references/evaluate-phase.md.
dev-kickoff-edho-ferdian — the source of real scope for Plan
Priority 1, and the skill to use instead of this one for production
feature work with correctness guarantees (test-first, full Reflection/CCL,
project-memory sync). This skill's Generate phase is intentionally a
faster/looser cousin of dev-kickoff's IMPLEMENT stage, not a replacement.spec-mining-edho-ferdian — the source of real scope for Plan
Priority 2, when iterating on UI/UX for an existing brownfield codebase
that has no written spec.e2e-testing-edho-ferdian — shares the runtime driver-detection
requirement with this skill's Evaluate phase; if that skill has already
established which driver is available in this session/project, reuse that
finding instead of re-detecting.code-review-edho-ferdian — the frontend-craft "AI-slop" audit
content preserved in references/frontend-craft-checklist.md is generic
frontend-quality signal, not specific to the GAN loop. It is a candidate
future lens for code-review-edho-ferdian (a conditional lens active when
scope touches UI/component code, same pattern as the existing
accessibility/RAG lenses there). This is a note for a future task, not
an edit made here — code-review-edho-ferdian is out of scope for this
skill's build.[EXPLORATORY — NOT APPROVED] and
gated on user approval, never silently promoted to "the plan."code-only or
screenshot result, reported as such.e2e-testing-edho-ferdian.references/worked-loop.md — a landing page through spec, rubric, two generate/evaluate rounds with scored feedback, stop conditions and the final report. Read it when doing the work, not before routing.
| You say | Mode or reference it loads | Parameters |
|---|---|---|
| "gan-harness: iterasi dashboard ini sampai bagus" (project kicked off) | Plan from the Decision Register, then Generate and Evaluate rounds | scope source 1; max_iterations |
| "perbaiki UI app lama ini, spec-nya sudah di-mining" | Plan from mined-specs/*.md | scope source 2 |
| "coba eksplorasi tampilan, belum ada spec" | Plan proposes 3-5 items marked [EXPLORATORY — NOT APPROVED]; you approve first | scope source 3 |
| "nilai ulang app yang jalan di localhost" | Evaluate phase only, references/evaluate-phase.md | running app URL |
| Parameter | Required | Values | Default |
|---|---|---|---|
| scope source | detected | Decision Register, mined specs, or approved exploratory scope | first one found, in that order; never an invented feature list |
max_iterations | optional | a number of rounds | 5; confirm with you for a longer unattended run |
| pass threshold | fixed | weighted score 7.0 (design 0.3, originality 0.2, craft 0.3, functionality 0.2) | 7.0 |
| evaluation mode | recorded | live-driver, screenshot, code-only | what was actually achieved, never what was requested |
Not for production features with correctness guarantees: that is
dev-kickoff-edho-ferdian.
Output: spec.md and eval-rubric.md, a built live app committed per
round, and a feedback file per round with scores and the evaluation mode.
Full run: references/worked-loop.md.
When the work reaches one of these, load that skill with the Skill tool and follow it — don't write its part from memory.
frontend-engineering-edho-ferdiandesign-engineering-edho-ferdiane2e-testing-edho-ferdianCommunication to the user (Plan/Generate/Evaluate narration, feedback to the
Generator) in Bahasa Indonesia; generated code, spec documents, and
evaluator reports in English — fixed, never ask. Full contract:
skill-authoring-edho-ferdian §7.
4. This is not dev-kickoff. Don't pull this skill's looser discipline
into production feature work, and don't pull dev-kickoff's heavier
discipline into a fast prototyping loop where it isn't wanted — name
which mode you're in when starting.
5. Iteration has a cap. Never loop unbounded; confirm the max-iteration
count with the user if it isn't the 5-iteration default, and stop and
report honestly if the threshold isn't reached by the cap rather than
quietly extending it. Before starting a loop, or if one is behaving
oddly (spinning, score climbing while the app looks worse, scope
drifting), run the Gate 0 checklist and failure-mode guards in
references/loop-design-review.md — the iteration cap alone bounds
cost, it doesn't catch a badly-designed loop.
Done criteria for a full run: scope sourced and labeled per the priority order (never invented) · Generate produces a live, running app with commits per iteration · Evaluate reports the mode actually achieved every round · loop stops at threshold (≥7.0) or max-iteration cap, whichever comes first, with an honest final report either way.
references/evaluate-phase.md (opens in a new tab)references/frontend-craft-checklist.md (opens in a new tab)references/generate-phase.md (opens in a new tab)references/loop-design-review.md (opens in a new tab)references/spec-and-plan.md (opens in a new tab)references/worked-loop.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub edhoferdian/eef --plugin ekosistem-edho-ferdian43 skills in this plugin
/api-design-edho-ferdianDesign and evolve API contracts: REST resource naming, status codes, pagination, versioning, and one authoritative OpenAPI/schema so client and server never drift. Use for "desain API untuk fitur ini", "struktur endpoint yang baik", "API contract berubah", "REST vs apa", or a new API surface./ask-eefEntry point to the EEF skills: reads the request and the project, then loads the right skill or sequence (dev-kickoff, design-engineering, build-fix, code-review...). Use at the start of a task when no skill is obviously right, or for "ask-eef", "pakai skill apa", "mulai dari mana", "bantu kerjakan ini", "aku mau bikin", "gimana caranya"./Other plugins' skills for the same job