⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v0.24.0

add-skill

guksu@guksu⭐ 19 stars· last commit 2d ago· 0 open issues

suta 저장소에서 진입 스킬 suta에 UI 패턴(애니메이션·UI·UX)을 추가하거나 기존 패턴을 수정·재검증하는 파이프라인(선택 평가 → 패턴 문서 → 데모 → 카탈로그 → 게이트). "패턴 추가해줘, 스킬 추가해줘, {패턴} 패턴으로 등록해줘, 데모 다시, 재검증, 리뷰 다시" 요청에 쓴다. 패턴 내용에 대한 단순 질문에는 쓰지 않는다.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 19 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

suta

A skill for Claude Code and Codex that helps them build React UI that works with a keyboard, returns focus where it should, doesn't overflow on small screens and respects reduced motion. It comes with 58 UI patterns you copy into your project and a check that runs after each edit.

한국어 · Live demo · Install · Full guide

What you get

  • Rules for layout and interaction problems. Keyboard access, focus moving into and back out of dialogs, overflow at 320–390px, text contrast and reduced motion. These apply even when the project has its own design system. suta's visual defaults (color, cards, screen structure) apply only to projects without a design standard; existing tokens and components are kept. New screens without a standard get conventions for 24 screen types and type sizes and fonts chosen by industry. When no screen type fits, the skeleton comes from the job the screen does (choosing, inspecting, entering, monitoring).
  • 58 patterns. Modal, bottom sheet, toast, dropdown, select, form inputs, gestures and more. Each is a dependency-free TypeScript core, a React wrapper and CSS, with keyboard and screen-reader handling. The manuals of the 53 component patterns include a table of what happens after you add the pattern (fast responses, failures, long text, disabled state, forced colors) and who handles it. Three shadow steps and five stacking steps are shared as tokens. Try them in the demo.
  • A post-edit check. As a Claude Code or Codex plugin, suta checks each edited file. Errors such as text under 11px, a button inside a decorative picture, a grid shell wider than the screen, layout-property animation or a missing reduced-motion block go back to the agent with file:line. Style warnings are only reported.

Measured on the same requests

The same four requests: without suta on the left, with suta 0.14 on the right

Same requests, model and settings in Claude Code: a scheduling SaaS landing page, a seller dashboard, a login screen and a settings screen. Left: without suta. Right: suta 0.14. Each is the first of two runs per condition.

8 runs per conditionWithout sutasuta 0.14
Accessibility violations (axe, 390px)161
Text under 12px240
Touch targets under 24px257
Pages that scroll sideways at 320px11
Picked in blind comparison (two judge models, 16 each)7 and 99 and 7
Median generation time and cost65 s, $0.18185 s, $0.60

Accessibility results and design preference are separate. The measured violations went down, but the judges' preference was split: the version without suta won settings in 8 of 8 comparisons and login in 6 of 8. One judge model was also the generating model. These four requests were measured with suta 0.14 and have not been re-measured with later versions. A judge also noted that a 0.14 landing page added customer logos and statistics that were not requested; current suta leaves such sections out unless you provide the material. Method, all results and limitations

Measured again across versions

MeasurementRunsBlind judgments (default model, other model)Accessibility violations (axe)
suta 0.17 vs. no suta: 21 requests for screen types that had no convention11763 : 63, 53 : 730 on the 0.17 side in six of seven sets
suta 0.19 vs. suta 0.17: 6 requests that match no screen convention3619 : 17, 20 : 160 for 0.19; for 0.17, 0.17 per app page and 1.67 per web page
  • Newer versions did not win more judgments. Versions 0.18 and 0.19 added a screen design order and a detail standard, yet blind comparisons against 0.17 were effectively tied. Results split by request: both judges preferred 0.19 for parcel tracking and a leave request, and 0.17 for a class schedule and stock management.
  • The reason judges cited most was an element nobody asked for. On the class schedule that 0.19 lost, judges pointed to the bottom tab bar in the 0.17 screens and called them more complete. suta does not add features or sections that were not requested; it lists them as suggestions in its report. While that rule stands, this kind of judgment will not move much.
  • In the 0.19 vs. 0.17 measurement, overflow, clipped text, text under 12px and touch targets under 24px were zero on both sides.
  • One fix based on the judges' reasons worked and one was reverted. Adding a check mark to the selected choice moved the targeted request from 1 : 3 and 0 : 4 to 3 : 1 and 3 : 1 (two runs per condition). Three rules written from the main measurement's losing reasons did not help when measured again, so they were removed.
  • Limits: two or three runs per condition, and one judge model is also the generating model. Generation takes longer and costs more than without suta (in the 0.17 measurement, 0.95–2.2 times the median time and 1.2–3.3 times the median cost per request).

Requests, screens and per-set judgments

What was fixed in the pattern code (suta 0.18–0.20)

Apart from the judgments, the 53 component patterns were read against their code and defects were fixed. Tests went from 754 to 1,322.

  • Pull-to-refresh did not work on touch: the browser cancelled the gesture after about 22px.
  • The bottom tab bar was drawn above an open sheet and its scrim.
  • Swipe-to-delete and drag-to-reorder treated a cancelled gesture as a release, deleting the row or committing the order.
  • The quantity stepper's + and − buttons did not respond to the keyboard, and the long-press menu did not open with Enter or Space.
  • The drawer and the zoom lightbox did not move, trap or restore focus.
  • The floating label and the select placeholder had 3.2:1 contrast.
  • With dark color tokens, menus, sheets and modals kept a white surface and their text disappeared (0.20; 1.09:1 on the dropdown menu).
  • In right-to-left screens (dir="rtl") swipe-to-delete did not open (0.20).

These were checked in headless Chromium and jsdom tests, not with real screen readers, iOS, Android or Safari. The 0.19.0 and 0.20.0 release notes list the patterns whose behavior changed.

For a keyboard example, the demo home page shows a walking-rewards app built with and without suta 0.11.0: with suta, the goal-celebration dialog moved focus to its button instead of leaving it at the top of the page, in both runs.

Installation

Claude Code — run in the chat:

/plugin marketplace add Guksu/suta
/plugin install suta@suta

Codex — run in a terminal, then approve suta's post-edit check in /hooks:

codex plugin marketplace add Guksu/suta
codex plugin add suta@suta

Other agents / skill only — installs the guidelines and patterns without the plugin's post-edit check:

npx skills add Guksu/suta --skill suta

Install options and migration · Updating · skills.sh listing

Try it

After installing, ask your agent:

Use suta to build a login screen with email, password, a sign-in button and a password reset link. Keep it simple and make it usable with a keyboard.

The agent reads the guidelines and adapts the pattern code to your project. If the project already has design tokens or a component library, suta uses them and changes them only for usability problems such as low contrast or a missing focus state, and it says what it changed. The plugin also checks layout and motion after edits. Skill and pattern documentation is in Korean; English usage notes are in the full guide.

Try the patterns in the [live

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • .agents/skills/add-skill/SKILL.md7.9 KBe96e366a8ef8upstream ↗
    ---
    name: add-skill
    description: suta 저장소에서 진입 스킬 suta에 UI 패턴(애니메이션·UI·UX)을 추가하거나 기존 패턴을 수정·재검증하는 파이프라인(선택 평가 → 패턴 문서 → 데모 → 카탈로그 → 게이트). "패턴 추가해줘, 스킬 추가해줘, {패턴} 패턴으로 등록해줘, 데모 다시, 재검증, 리뷰 다시" 요청에 쓴다. 패턴 내용에 대한 단순 질문에는 쓰지 않는다.
    metadata:
      internal: true
    ---
    
    # add-skill — 패턴 추가 파이프라인
    
    이 저장소의 반복 작업이다. 작업 전 `docs/harness-rules.md`를 읽는다. 설계 단일 출처는 `docs/design/2026-08-19-fe-skills.md`다.
    
    이 스킬은 저장소 관리용이다. frontmatter의 `metadata.internal: true`는 `npx skills add`가 일반 사용자에게 이 스킬을 설치 후보로 보여 주지 않게 한다. 사용자가 설치하는 것은 진입 스킬 `skills/suta` 하나다.
    
    ## 불변 구조 — 왜 이 모양인가
    
    ```
    skills/suta/
    ├─ SKILL.md                      # 진입 스킬 — UI 요청에 자동으로 걸린다. 패턴 색인은 생성 블록
    ├─ references/catalog.md         # 패턴 카탈로그(한 줄 설명) — 생성 블록
    └─ patterns/{pattern-name}/
       ├─ PATTERN.md                 # 정본: 언제 쓰는가·사용 방법·핵심 패턴 (SKILL.md가 아니다)
       ├─ references/                # 상세(변형·엣지 케이스·접근성) — 필요할 때만 로드
       └─ assets/                    # 예시 컴포넌트 코드 (정본의 일부, 실행 가능한 파일)
    demo/src/demos/{pattern-name}/   # assets/를 import해 렌더링하는 데모 페이지
    ```
    
    - **패턴 문서는 `PATTERN.md`다.** `SKILL.md`로 만들면 도구가 패턴마다 별도 스킬로 등록해, 스킬 목록 예산을 넘기고 진입 스킬과 경쟁한다. 검사 스크립트가 `skills/` 아래 SKILL.md가 하나뿐인지 본다.
    - **assets/의 코드가 유일한 구현본이다.** 데모는 그 파일을 import만 한다 — 복사본을 만들면 한쪽만 고치는 순간 문서가 거짓말이 된다.
    - **패턴 문서는 설치된 프로젝트에서 단독으로 완결되어야 한다.** PATTERN.md는 사용 방법과 핵심 패턴을 담고, 전체 구현은 "assets/{파일}을 읽어라"로 가리킨다. demo/ 경로는 참조하지 않는다(설치 시 존재하지 않는다).
    
    ## 절차
    
    ### 0. 착수 확인
    
    - 브랜치 확인(`branch` 스킬) — 작업은 `feat/{pattern-name}`에서.
    - `skills/suta/patterns/`에 같은/유사 패턴이 이미 있는지 확인 — 있으면 신규가 아니라 확장이다.
    
    ### 1. 선택 평가 → 패턴 문서 (정본 먼저)
    
    0. `evals/selection/{pattern-name}.json`을 **먼저** 쓴다(Red): `should` — 이 패턴이 골라져야 하는 요청 3개 이상(구어체 1개·영어 표현 1개 포함), `shouldNot` — 이웃 패턴의 요청 3개 이상(골라지면 안 됨). `node scripts/evalSelection.mjs {pattern-name}`이 실패하는 것을 확인한 뒤 description을 쓴다(Green).
    1. `skills/suta/patterns/{pattern-name}/PATTERN.md` 작성:
       - frontmatter `name`(폴더명과 일치)·`description` — 3인칭으로 "무엇을 하는가 + 언제 쓰는가"만. 80~300자(150~250자 권장). **첫 문장이 진입 스킬 카탈로그의 한 줄 요약이 된다** — "무엇을 구현한다."로 짧게 끝낸다. 사용자가 실제로 쓸 표현을 따옴표로 나열하고 핵심 영어 용어를 한 번 넣는다. 구현 방식 요약·에이전트 명령문 금지.
       - 본문: **언제 이 패턴을 쓰는가 → 사용 방법(설치·적용 단계) → 사용 예시(최소 코드) → 커스터마이즈 포인트(duration·easing 등) → 주의사항(접근성·성능)**. 명령형, ≤500줄.
    2. `assets/`에 예시 컴포넌트 작성. 기술 기준: **CSS 우선** — CSS transition/animation으로 되는 것은 CSS로, 어려운 것(제스처·레이아웃 전이)만 TypeScript로 쓰고 PATTERN.md에 "왜 이 기술인가" 한 줄을 명시한다.
    3. 접근성은 선택이 아니다: `prefers-reduced-motion` 대응을 모든 패턴에 포함한다.
    4. 코드 컨벤션: 화살표 함수, useCallback/useMemo 지양, 인자 2개 이상이면 named-object, useEffect는 명명된 함수로.
    5. 다른 패턴의 코드가 필요하면 import하지 않고 파일을 복사하되, 첫 줄의 `@shared-core {파일} origin: {패턴}` 헤더를 유지한다.
    
    ### 2. 데모 구현
    
    1. `demo/src/demos/{pattern-name}/`에 데모 페이지 작성 — `@skills` alias(= `skills/suta/patterns`)로 assets/ 컴포넌트를 import해 렌더링한다.
    2. `demo/src/demos/index.ts`의 데모 레지스트리에 등록한다(라우팅·목록·카탈로그 카테고리는 레지스트리가 단일 출처). `title`·`description`과 영어 `titleEn`·`descriptionEn` 모두.
    3. 데모는 쇼케이스다: 트리거 버튼·리플레이 등 확인 장치는 데모 쪽에 두고, assets/ 컴포넌트를 데모 편의를 위해 오염시키지 않는다.
    4. **데모 콘텐츠는 suta 고유 브랜드(국수집 테마)로 쓴다** — 토스·당근·인스타그램 등 레퍼런스 앱의 실제 UI 문구·탭 이름·구성을 복제하지 않는다. 레퍼런스 언급은 PATTERN.md의 "언제 쓰는가"(관례 설명)까지만.
    5. **데모 안 문구는 한국어·영어 두 벌이다.** 파일 위에 `const COPY = defineCopy({ ko: {...}, en: {...} })`(`demo/src/demoLang.ts`)를 두고 컴포넌트에서 `const t = COPY[useDemoLang()]`로 읽는다. 경로·가격·아이콘처럼 언어와 무관한 값은 COPY 밖에 둔다. 기준 예시는 `demo/src/demos/bottom-nav/BottomNavDemo.tsx`. 패턴이 화면 낭독 문구를 한국어로 박아 두었으면 데모에서 고치지 말고 패턴에 선택 prop(기본값 한국어)을 더한다. `npx vitest run src/tests/demoCopy.test.tsx -t {패턴}`이 영어 화면에 한글이 남았는지 본다.
    6. 로직이 있는 부분(상태 전이·옵저버·제스처)은 테스트를 먼저 쓴다(Red→Green). 순수 시각 효과에 빈 테스트를 양산하지 않는다.
    
    ### 3. 카탈로그·문서
    
    1. `npm run catalog` — 진입 스킬 `skills/suta/SKILL.md`의 패턴 색인 블록과 `skills/suta/references/catalog.md`의 카탈로그 블록을 다시 만든다. 손으로 고치지 않는다(검사 스크립트가 동기 여부를 본다). 색인에는 데모 레지스트리의 `title`이 실린다.
    2. 상세 안내 `docs/guide.md`와 `docs/guide.en.md`의 패턴 표에 한 행씩 더하고, `README.md`·`README.ko.md`의 배지 숫자(패턴 수·tests 수)를 갱신한다.
    3. 화면 비교 — 수정이면 고치기 전·후 데모를 같은 폭으로 찍어 한 장(줄 머리 AS-IS·TO-BE)으로, 새 패턴이면 데모 캡처를 `docs/worklog/assets/{날짜}-{주제}.jpg`로 두고 워크로그에 싣는다(`AGENTS.md` 규칙 12).
    
    ### 4. 게이트 검증 — 전부 통과해야 완료
    
    | # | 게이트 | 명령/방법 |
    |---|--------|----------|
    | 1 | 빌드·린트·테스트 | `npm run build && npm run lint && npm test` |
    | 2 | 구조·선택 평가 | `npm run validate` — 진입 스킬·패턴 구조, 카탈로그·매니페스트 동기, 배지, 선택 평가(트리거 + 패턴), 레이아웃·모션 통합 검사(error 0) |
    | 3 | 브라우저 실동작 | 데모 페이지를 브라우저로 열어 스크린샷/녹화로 실제 동작 확인 |
    | 4 | 모션 리뷰 | `fe-craft` 스킬로 이징·타이밍·reduced-motion 리뷰, 지적 반영 |
    
    ### 5. 종료
    
    - 워크로그 기록(`docs` 스킬, `docs/templates/worklog.md` 형식).
    - 커밋·PR은 사용자가 명시 요청한 경우에만 `pr` 스킬로(PR 베이스 main). 요청 없으면 "커밋은 직접 진행하세요"로 안내.
    - 세션 중단·인계 시 `handoff` 스킬.
    
    ## 에러 핸들링
    
    - 게이트 실패 → 수정 후 해당 게이트부터 재실행(전체 재시작 불필요).
    - 모션 리뷰에서 설계 문서와 충돌하는 지적 → 임의 판단하지 말고 사용자 확인 후 설계 문서 먼저 갱신.
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/guksu-suta-agents-skills-add-skill.md

// REPO STATS

19 stars
0 open issues
Last commit: 2d ago