waishnav/self-improvement-frontend-design-skill-loop-for-codex · Archived

frontend-design-improvements-loop

Run repeatable single-track frontend-design benchmark loops for this repo.

First seen May 13, 2026

Installation

$ npx skills add waishnav/self-improvement-frontend-design-skill-loop-for-codex --skill frontend-design-improvements-loop

Summary

  • Run repeatable single-track frontend-design benchmark loops for this repo.
  • Use this when creating sequential experiment versions, tuning frontend-design SKILL.md instructions, running Codex from inside `experiments/version-X/` with the shared `prompt.md`, capturing full-page `/1.. /5` screenshots, and scoring outputs against Opus-with-skill reference sets.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from waishnav/self-improvement-frontend-design-skill-loop-for-codex.

npx skills add waishnav/self-improvement-frontend-design-skill-loop-for-codex

Browse all from waishnav/self-improvement-frontend-design-skill-loop-for-codex

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 13
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents codex

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,827 B
  • docs SUMMARY.md 399 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Frontend Design Improvements Loop

Use this skill to run end-to-end benchmark iterations that improve frontend-design behavior through instruction tuning, not model weight tuning.

Scope

  • Repository: improved-frontend-skills-for-gpt
  • Canonical prompt: repo root prompt.md (same prompt for every version)
  • Active version workspace: experiments/version-X/
  • Preferred raw baseline skill seed: global $frontend-design at /home/waishnav/.agents/skills/frontend-design/SKILL.md
  • Primary references:

- research/targetted-designs/ - research/theo-screenshots-2k-clean/opus45withskill/ - research/theo-screenshots-2k-clean/opus_iterations/

Read references/opustargets.md, references/mutationaxes.md, and references/experiment_topologies.md before drafting a new version.

Non-Negotiables

  1. Never modify prompt.md unless explicitly asked.
  2. Always run Codex in the target version folder (-C experiments/version-X/...).
  3. Keep one mutation hypothesis per version.
  4. Keep each version self-contained (SKILL.md, t4-canvas/, README.md, CRITQUES.md, screenshots/).
  5. Do not delete previous versions.
  6. New versions must be isolated by default: do not inherit prior t4-canvas implementation unless explicitly requested.
  7. Run one active experiment at a time (strict sequential loop; no parallel sibling branches).
  8. Carry forward only one prioritized critique into the next mutation.
  9. Keep SKILL.md portable: no experiment/version labels or repo-specific benchmarking terms.

Workflow

1) Choose baseline and one mutation hypothesis

  • Baseline is the latest completed experiments/version-*.
  • Pick one mutation axis only (see references/mutation_axes.md).
  • Read the previous version CRITQUES.md and pick exactly one highest-impact issue to target.
  • Write the hypothesis in the new version README before implementation.

2) Create the next version

  • For true raw start (no version baseline), use:

- scripts/newfreshversion.sh <new-version-dir>

  • Use scripts/newversionfrom_previous.sh <previous-version-dir> <new-version-dir>.
  • Default behavior is isolated: copy prior SKILL.md, create fresh empty t4-canvas/.
  • Legacy mode only when explicitly requested: --copy-app.
  • For raw baseline seeding from global frontend skill: use --skill-source global.

2b) Keep the loop sequential

  • Do not create sibling versions in the same iteration.
  • Do not run multiple mutation theses in parallel.
  • Complete critique and keep/drop decision for the current version before creating the next version.

3) Tune frontend-design skill instructions

  • Edit only experiments/version-X/.agents/skills/frontend-design/SKILL.md.
  • Keep constraints auditable and measurable.
  • Avoid vague language; use explicit guards and pass/fail criteria.
  • Apply one mutation change set only for this version.
  • Translate critique findings into generic rules; do not write benchmark- or version-specific wording inside SKILL.md.

4) Run Codex headlessly with canonical prompt

  • Use scripts/runheadlessiteration.sh <version-dir> <repo-root>/prompt.md [run-label].
  • Optional reliability args: [max-attempts] [retry-delay-sec].
  • This forces codex exec to run with cwd inside version folder and logs artifacts.
  • Prefer short, restartable runs over one giant run.

5) Capture screenshots for /1.. /5

  • Start the version app in t4-canvas/.
  • Use Playwright CLI to capture full-page screenshots for routes /1 to /5 in desktop/tablet/mobile profiles.
  • Preferred command:

- scripts/capture_screenshots.sh <version-dir> [base-url]

  • Save under experiments/version-X/screenshots/<route>/{desktop,tablet,mobile}.png.

6) Critique and score

  • Score against rubric in references/scoring_rubric.md.
  • Compare against Opus reference sets (not generic web quality).
  • Write critique notes to experiments/version-X/CRITQUES.md after every run.
  • Record critique in a structured way:

- issue - evidence - likely root-cause rule - proposed generic fix

  • Record:

- wins - regressions - next mutation

7) Decide next action

  • If net gain: keep mutation and continue.
  • If mixed: keep only if rubric delta is positive on target dimensions.
  • If regression: revert mutation in next version and try a different axis.
  • In all cases, pick one next mutation only.

Reliability Pattern For Long Runs

  • Design for 3-7 minute chunks per run.
  • Do not require tmux by default; run direct codex exec with artifact checkpoints.
  • Persist outputs every run:

- artifacts/<run-label>/events.jsonl - artifacts/<run-label>/stderr.log - artifacts/<run-label>/final.md

  • If interrupted, continue with codex exec resume --last and continue from latest checkpoint.

Deliverable Contract Per Version

Each version must include:

  • experiments/version-X/.agents/skills/frontend-design/SKILL.md (mutation applied)
  • experiments/version-X/README.md with:

- hypothesis - exact mutation - rubric score delta - next step

  • experiments/version-X/CRITQUES.md with expected-vs-output critique notes
  • experiments/version-X/screenshots/1/{desktop,tablet,mobile}.png ... screenshots/5/{desktop,tablet,mobile}.png

Scripts

  • scripts/newfreshversion.sh
  • scripts/newversionfrom_previous.sh
  • scripts/runheadlessiteration.sh
  • scripts/capture_screenshots.sh