Skip to content
Back to skills

Canvas Design

ASecurity

내부 UI 기준 확보 wrapper. draft 후보 생성, 사용자 PICK, 확정본 승격, 보드·진입점·프로토타입 재생성을 한 경로로 수행한다. 공개 진입점이 아니며 /ux, /impl, /impl-loop 내부에서 호출된다.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
developmentnode

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add Daeguk-Sun/dcNess --skill canvas-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Canvas Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Canvas Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/daeguk-sun-canvas-design/badge)](https://www.skillsdirectory.com/skills/daeguk-sun-canvas-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: canvas-design
description: 내부 UI 기준 확보 wrapper. draft 후보 생성, 사용자 PICK, 확정본 승격, 보드·진입점·프로토타입 재생성을 한 경로로 수행한다. 공개 진입점이 아니며 /ux, /impl, /impl-loop 내부에서 호출된다.
---

# canvas-design

> 공개 진입점이 아니다. 외부 workflow는 `/spec → /design → /impl → /acceptance`를 유지한다.

## 목적

UI 기준을 `docs/design-variants/`에 남긴다. 사람은 후보를 PICK하고 생성 결과를 검수한다. 화면·전이·여정의 의미와 보드 배치는 메인이 진본을 읽어 작성한다.

산출물 계약의 진본은 [`docs/plugin/design-variants.md`](../../docs/plugin/design-variants.md)다. 이 스킬은 계약을 반복하지 않고 실행 순서와 권한만 소유한다.

## 입력

- 대상 화면 ID와 관련 ux-flow
- 기준 소스: `existing-confirmed` / `user-provided` / `new-draft` / `skip`. 확정 목업보다 먼저 손으로 만든 프로토타입은 `user-provided` 의 1회 입력이다([손으로 만든 프로토타입](../../docs/plugin/design-variants.md#손으로-만든-프로토타입)).
- 관련 issue·impl task·design.md

## 실행

1. `templates/design-variants/` seed가 없을 때만 복사한다. 기존 파일은 보존한다. 단 `_lib/` 엔진 4개 파일(`canvas.js`, `only-variant.js`, `report-size.js`, `show-ids.js`)이 배포본과 다르면 배포본으로 교체하고 교체한 파일을 보고한다. 프로젝트는 `_lib/`를 수정하지 않으므로 교체로 잃는 내용이 없고, 교체하지 않으면 엔진 수정이 기존 프로젝트에 도달하지 않는다.
2. 기존 확정본·사용자 기준·신규 draft·skip 중 경로를 정한다.
3. draft가 필요하면 foreground designer를 호출한다. designer는 `drafts/`에 확정본과 같은 형식의 후보만 만든다.
4. 후보를 사용자에게 제시해 PICK을 받는다. NG면 다시 만들고, OK면 선택본을 같은 이름의 `screens/<screen-id>.html`로 이동한다.
5. 같은 화면의 탈락 후보만 제거한다. 다른 화면 후보는 보존한다.
6. 메인이 확정 목업과 모든 ux-flow를 읽어 보드·입구 페이지를 LLM으로 작성하고 `node "$CLAUDE_PLUGIN_ROOT/scripts/design/verify-boards.mjs" --project-root .` 실행 → 실패 수정 → 재검증한다. 화면 그림은 확정 목업 iframe만 쓴다. designer 또는 메인이 확정 목업·ux-flow를 읽어 `prototype.html`을 작성한 뒤 `node "$CLAUDE_PLUGIN_ROOT/scripts/design/verify-prototype.mjs" --project-root .`로 검증하고 실패를 수정한다. 가능한 환경에서는 `--browser`로 핵심 여정·뒤로 실행 검사를 하고, 미연결·도달 불가 목록 및 미실행 이유를 호출자에게 반환한다.
7. 확정본 경로, 보드 경로, 핵심 node-id, 의도적 차이를 호출자에게 반환한다.

사용자 PICK 대기 중에는 결론을 내리지 않는다.

## 결론

- `PASS` — 필요한 PICK·승격·재생성·검사가 끝났다.
- `ESCALATE` — 기준 충돌, seed 실패, 화면 ID 충돌, 사용자 중단처럼 임의 진행할 수 없다.

결론 줄에 결론 enum 하나를 명시한다.

## 권한

- designer: `docs/design-variants/drafts/`만 write
- 메인: PICK, 순수 이동, 후보 정리, 보드·두 진입점·프로토타입 작성 및 검증, 프로젝트 포인터 갱신
- 프로젝트: `_lib/` 수정 금지

`canvas-design`은 helper begin/end-step 비대상 main-owned checkpoint다. designer Agent의 spawn/완료만 SubagentStart/PostToolUse lifecycle hook이 기록한다.

## 호출자

`/ux`, `/impl`, `/impl-loop`는 승격 절차를 복제하지 않고 이 스킬을 호출한다. `design: required` impl task에는 반환된 확정본과 node-id 매핑을 기록한다.

보고 끝에 별도 줄 `결론: <ENUM>`을 쓴다(각 agent의 기존 결론 값 사용). MUST FIX를 보고하는 agent는 별도 줄 `MUST FIX: <정수>`도 쓴다. 줄 전체가 정확히 일치해야 하며 앞뒤 공백은 허용한다. 여러 선언이 있으면 마지막 줄을 사용하고, 누락·형식 오류·허용되지 않은 값은 판정 실패다. 나머지 보고 본문은 자유 prose다.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.