Logo Frontend Design Improvements Loop

Frontend Design Improvements Loop

Cộng đồng
Waishnav
frontend-design-improvements-loop

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.

Tổng quan

Nhà phát hànhWaishnav
Kho mãself-improvement-frontend-design-skill-loop-for-codex
Tên kỹ năngfrontend-design-improvements-loop
Sao
13
Bản fork
0
Tệp đi kèm
23
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 23 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Waishnav công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Frontend Design Improvements Loop trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Waishnav/self-improvement-frontend-design-skill-loop-for-codex/tree/main/.agents/skills/frontend-design-improvements-loop
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Waishnav/self-improvement-frontend-design-skill-loop-for-codex.git /tmp/self-improvement-frontend-design-skill-loop-for-codex
mkdir -p .claude/skills
cp -r /tmp/self-improvement-frontend-design-skill-loop-for-codex/.agents/skills/frontend-design-improvements-loop .claude/skills/frontend-design-improvements-loop
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Frontend Design Improvements Loop trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Frontend Design Improvements Loop ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Frontend Design Improvements Loop với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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/opus45_with_skill/
    • research/theo-screenshots-2k-clean/opus_iterations/

Read references/opus_targets.md, references/mutation_axes.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/new_fresh_version.sh <new-version-dir>
  • Use scripts/new_version_from_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/run_headless_iteration.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/new_fresh_version.sh
  • scripts/new_version_from_previous.sh
  • scripts/run_headless_iteration.sh
  • scripts/capture_screenshots.sh

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Frontend Design Improvements Loop làm được gì?

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.

Vì sao nên dùng Frontend Design Improvements Loop trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Frontend Design Improvements Loop là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Frontend Design Improvements Loop trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Waishnav/self-improvement-frontend-design-skill-loop-for-codex/tree/main/.agents/skills/frontend-design-improvements-loop. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Frontend Design Improvements Loop?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Frontend Design Improvements Loop với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Frontend Design Improvements Loop với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Frontend Design Improvements Loop có miễn phí không?

Kỹ năng này được Waishnav phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇