diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index d3a448f..8533d9b 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -5,15 +5,15 @@
"email": "contact@wigtn.com"
},
"metadata": {
- "description": "AI-native Vibe Coding — From idea to Deploy, Zero friction. Unified plugin with 11 agents, 5 commands, 7 skills, team-based parallel build, 20 design styles, screen-spec generator.",
- "version": "0.1.16"
+ "description": "AI-native Vibe Coding — From idea to Deploy, Zero friction. Unified plugin with 11 agents, 5 commands, 8 skills, team-based parallel build, 20 design styles, screen-spec generator.",
+ "version": "0.1.17"
},
"plugins": [
{
"name": "wigtn-plugins",
- "description": "Unified AI-native Vibe Coding plugin: PRD generation, digging analysis, screen-spec (IA / User Flow / Wireframe HTML / Dev Handoff), team-based parallel implementation, quality-gated auto-commit, 20 design styles, frontend (React/Next.js), backend (NestJS/Prisma), mobile (React Native/Expo), AI integration (STT/LLM), DevOps (Docker/CI-CD). 11 agents, 5 commands, 7 skills.",
+ "description": "Unified AI-native Vibe Coding plugin: PRD generation, digging analysis, screen-spec (IA / User Flow / Wireframe HTML / Dev Handoff), team-based parallel implementation, quality-gated auto-commit, 20 design styles, frontend (React/Next.js), backend (NestJS/Prisma), mobile (React Native/Expo), AI integration (STT/LLM), DevOps (Docker/CI-CD). 11 agents, 5 commands, 8 skills.",
"source": "./plugins/wigtn-plugins",
- "version": "0.1.16",
+ "version": "0.1.17",
"author": {
"name": "WIGTN Crew",
"email": "contact@wigtn.com"
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 1ae704e..ed4a4e5 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,11 +1,10 @@
{
"name": "wigtn-plugins",
- "version": "0.1.16",
- "description": "AI-native Vibe Coding — From idea to Deploy, Zero friction. Unified plugin with 11 agents, 5 commands, 7 skills, team-based parallel build, 20 design styles.",
+ "version": "0.1.17",
+ "description": "AI-native Vibe Coding — From idea to Deploy, Zero friction. Unified plugin with 11 agents, 5 commands, 8 skills, team-based parallel build, 20 design styles.",
"author": {
"name": "WIGTN Crew",
"url": "https://github.com/wigtn"
},
-
"repository": "https://github.com/wigtn/wigtn-plugins"
}
diff --git a/CLAUDE.md b/CLAUDE.md
index ee60f61..17ef1da 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -4,7 +4,7 @@
A unified Claude Code plugin enabling AI-powered Vibe Coding: idea to production with minimal friction.
-**Version**: 0.1.16
+**Version**: 0.1.17
**License**: Apache-2.0
**Repository**: https://github.com/wigtn/wigtn-plugins
@@ -14,11 +14,11 @@ A unified Claude Code plugin enabling AI-powered Vibe Coding: idea to production
wigtn-plugins/
├── .claude-plugin/ # Marketplace metadata
├── plugins/
-│ └── wigtn-plugins/ # Unified plugin: 11 agents, 5 commands, 7 skills, 20 design styles
+│ └── wigtn-plugins/ # Unified plugin: 11 agents, 5 commands, 8 skills, 20 design styles
│ ├── .claude-plugin/ # Plugin metadata
│ ├── agents/ # 11 agent definitions
│ ├── commands/ # 5 commands (/prd, /screen-spec, /implement, /auto-commit, /review-pr)
-│ ├── skills/ # 7 skills (code-review-levels, design-system-reference, handdrawn-diagram, screen-spec, team-memory-protocol, wigtn-ppt)
+│ ├── skills/ # 8 skills (code-review-levels, design-system-reference, editorial-diagram, handdrawn-diagram, knowledge-wiki, screen-spec, team-memory-protocol, wigtn-ppt)
│ └── hooks/ # Hooks configuration
├── CLAUDE.md # This file
├── README.md # English docs
@@ -66,7 +66,7 @@ PRD 리뷰(digging)는 4렌즈 전부 **코드베이스 grounding**만 하던
- **PASS** (커밋): critical 0 AND major 0 AND minor <5
- **Security Critical**: critical의 부분집합 → 항상 FAIL (zero-tolerance, no score-cap hack)
- **정밀도**: major+ finding은 게이트 반영 전 adversarial refute 1회로 오탐 강등
-- **하드 게이트 (hook 강제)**: 게이트가 프롬프트라 컨텍스트가 차면 스킵될 수 있으므로, `hooks.json`의 PreToolUse가 `git commit`을 가로채 강제한다. 롤업 PASS 시 `/auto-commit`이 repo 루트(`git rev-parse --show-toplevel`)의 `.wigtn/gate-pass`(mtime = PASS 시각)를 기록하고, 커밋 메시지에 `Quality Score:` 신호가 있는데 30분 내 아티팩트가 없으면 hook이 커밋을 **차단(exit 2)**한다. 수동 커밋(신호 없음)·`--no-review`(신호 제거)는 무마찰. hook·auto-commit 모두 toplevel 기준이라 하위 디렉토리 cwd에서도 일치한다.
+- **하드 게이트 (hook 강제)**: 게이트가 프롬프트라 컨텍스트가 차면 스킵될 수 있으므로, `hooks.json`의 PreToolUse가 `git commit`을 가로채 강제한다. 롤업 PASS 시 `/auto-commit`이 repo 루트(`git rev-parse --show-toplevel`)의 `.wigtn/gate-pass`(mtime = PASS 시각)를 기록하고, 커밋 메시지에 `Quality Gate: PASS` 신호(레거시 `Quality Score:`도 인식)가 있는데 30분 내 아티팩트가 없으면 hook이 커밋을 **차단(exit 2)**한다. 수동 커밋(신호 없음)·`--no-review`(신호 제거)는 무마찰. hook·auto-commit 모두 toplevel 기준이라 하위 디렉토리 cwd에서도 일치한다.
- **객관 체크 게이트 (기본-on, PASS 날조 방어)**: gate-pass는 모델이 쓰는 아티팩트라 리뷰 날조 시 함께 써질 수 있다. Step 3.5가 빠른 검증 명령(`package.json`의 `typecheck`/`lint`, 또는 `tsconfig.json`)을 감지하면 `.wigtn/checks.sh`를 **자동 생성**하고, hook이 커밋 직전 **직접 실행**해 non-zero면 차단 — 모델이 못 꾸미는 exit code에 게이트를 바인딩("리뷰가 좋았음" → "객관 검증 통과"). 감지 실패 시 무마찰. `.wigtn/checks.sh` 편집(전체 테스트 추가)·삭제로 커스터마이즈/opt-out.
## Conventions
@@ -109,6 +109,9 @@ Hooks are defined in `plugins/wigtn-plugins/hooks/hooks.json` and follow the Cla
| `plugins/wigtn-plugins/skills/team-memory-protocol/` | Cross-agent shared context management |
| `plugins/wigtn-plugins/skills/wigtn-ppt/` | WIGTN-brand HTML presentation generator (Light/Dark themes, principles-based, no template) |
| `plugins/wigtn-plugins/skills/wigtn-ppt/references/` | `brand.md` (palette, logo, purple-dot signature), `design-guide.md` (layouts) |
+| `plugins/wigtn-plugins/skills/editorial-diagram/` | Editorial diagrams as single HTML + inline SVG — 12 type routing, 4px coordinate tables, `check.py` validator, SVG/PNG export |
+| `plugins/wigtn-plugins/skills/editorial-diagram/references/` | `types.md` (12 types), `geometry.md` (coordinate tables), `tokens.md` (semantic tokens + contrast) |
+| `assets/` | README diagrams (architecture, pipeline) — `*.html` source + light/dark PNG, generated by the `editorial-diagram` skill. Regeneration commands are in each HTML's header comment |
| `plugins/wigtn-plugins/agents/prd-reviewer.md` | PRD digging — 4 adversarial lenses + conditional external grounding (self-contained) |
| `plugins/wigtn-plugins/agents/team-build-coordinator.md` | Team-based parallel build orchestration |
diff --git a/README.cn.md b/README.cn.md
index a2bb04d..f4025fa 100644
--- a/README.cn.md
+++ b/README.cn.md
@@ -6,10 +6,10 @@
**一个插件。11 个智能体。从创意到通过验证的提交。**
-
+


-
+

[](https://github.com/wigtn/wigtn-plugins/stargazers)
@@ -42,6 +42,16 @@ WIGTN Plugins 是一个 Claude Code 插件,由 11 个专业智能体负责需
/auto-commit → findings 汇总 + 客观检查 + 提交
```
+
+
+
+
+
+
+
+本图由插件自带的 `editorial-diagram` 技能生成 — 源文件:[`assets/architecture.html`](assets/architecture.html)
+
---
## 快速开始
@@ -63,6 +73,21 @@ WIGTN Plugins 是一个 Claude Code 插件,由 11 个专业智能体负责需
## 流水线
+
+
+
+
+
+
+
+独立步骤可以并行,存在依赖的步骤保持顺序。运行时间取决于任务、模型和已配置的检查。
+
+源文件:[`assets/pipeline.html`](assets/pipeline.html)
+
+
+流水线详情 — 点击展开
+
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ /prd "基于 OAuth 的 SaaS 仪表盘" │
@@ -165,7 +190,7 @@ WIGTN Plugins 是一个 Claude Code 插件,由 11 个专业智能体负责需
Layer 3 — PLAN 台账 ─────────── 任务复选框 + 执行日志
```
-独立步骤可以并行,存在依赖的步骤保持顺序。运行时间取决于任务、模型和已配置的检查。
+
---
@@ -213,13 +238,15 @@ WIGTN Plugins 是一个 Claude Code 插件,由 11 个专业智能体负责需
-技能(6 个) — 点击展开
+技能(8 个) — 点击展开
| 技能 | 提供内容 |
|------|---------|
| `code-review-levels` | 深度审查(Level 3:调用链、边界情况、并发)和架构审查(Level 4:SOLID、层违规、可扩展性) |
| `design-system-reference` | 20 个风格指南 — 排版、色彩、组件、动效、反模式。与 design-discovery 协同进行上下文感知推荐 |
+| `editorial-diagram` | 以单个 HTML + 内联 SVG 生成规整(editorial)的架构/流程/对比图。12 种类型路由、预先验算的 4px 坐标表、密度预算、WIGTN 或客户品牌令牌、`check.py` 校验(网格/溢出/对比度/无障碍)、SVG + PNG 导出 |
| `handdrawn-diagram` | 通过 Mermaid `look:handDrawn` 生成手绘(草图)风格的架构/流程图,输出可提交的 SVG + PNG。在 README、GitHub、Devpost、幻灯片上渲染一致 |
+| `knowledge-wiki` | 通过 4 级导出闸门将会话知识沉淀到团队 wiki。仅在 `~/.config/wigtn/knowledge-wiki.yml` 列出的路径下运行;密钥、个人信息、客户标识在导出前被拦截 |
| `screen-spec` | 从 PRD 生成 5 种 UI 产物 — IA、用户流程、屏幕规格、可点击 Wireframe HTML、Dev Handoff。灰度 + 语义色 lo-fi 线框图(风格在 `/implement` 决定)。由 `/screen-spec` 调用 |
| `team-memory-protocol` | 并行构建中跨智能体共享上下文(SHARED_CONTEXT)管理 |
| `wigtn-ppt` | 基于品牌令牌生成 WIGTN 品牌 HTML 演示文稿(Light/Dark 主题,无需模板)。每张幻灯片带签名紫点,缺少 logo 资源时回退到 CSS/SVG 字标 |
@@ -259,15 +286,17 @@ WIGTN Plugins 是一个 Claude Code 插件,由 11 个专业智能体负责需
-钩子(4 个) — 点击展开
+钩子(7 个) — 点击展开
| 钩子 | 触发器 | 功能 |
|------|--------|------|
-| 危险命令拦截 | `Bash` PreToolUse | 拦截 `rm -rf /`、`git push --force`、`DROP TABLE` |
-| 流水线完成 | Stop | 推送前提醒审查 |
-| 前端格式化 | `Write\|Edit` PostToolUse | 提醒对 `.tsx`、`.jsx`、`.css` 运行 prettier/eslint |
-| 后端模式合规 | `Write\|Edit` PostToolUse | 检查 `.ts`、`.py`、`.go` 的错误处理、验证、日志 |
-
+| 提交质量闸门 | `Bash` PreToolUse | 运行 `hooks/gate.sh` — 每次提交都执行 `.wigtn/checks.sh`(类型检查 / lint),非零退出即拦截;当提交信息带有 `Quality Gate: PASS` 标记时,另需 30 分钟内的 `.wigtn/gate-pass` 产物 |
+| 危险命令拦截 | `Bash` PreToolUse | 拦截对 `/`、`~`、`$HOME` 的递归强制删除,强制推送,硬重置,以及 `DROP DATABASE\|TABLE\|SCHEMA` |
+| 闸门健康告警 | SessionStart | 当 `hooks/gate.sh` 路径无法解析时向 stderr 告警 — 此时提交闸门失效,提交会在没有客观检查的情况下通过 |
+| 前端格式化 | `Write\|Edit` PostToolUse | 提醒对 `.ts`、`.tsx`、`.js`、`.jsx`、`.css`、`.scss` 运行 prettier/eslint(`.ts`/`.js` 同时触发后端提醒) |
+| 后端模式合规 | `Write\|Edit` PostToolUse | 提醒核对 `.ts`、`.js`、`.py`、`.go`、`.java` 的错误处理、输入校验、日志 |
+| 流水线完成 | Stop | 推送前提醒审查变更 |
+| 知识沉淀 | Stop | 运行 `knowledge_wiki/accumulate.py` — 通过 4 级导出闸门沉淀会话知识(未在 `~/.config/wigtn/knowledge-wiki.yml` 配置时不启用) |
---
diff --git a/README.ko.md b/README.ko.md
index c1c5bab..b1fdcfa 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -6,10 +6,10 @@
**하나의 플러그인. 11개 에이전트. 아이디어에서 검증된 커밋까지.**
-
+


-
+

[](https://github.com/wigtn/wigtn-plugins/stargazers)
@@ -42,6 +42,16 @@ WIGTN Plugins은 요구사항, 아키텍처, 구현, 리뷰를 담당하는 11
/auto-commit → findings 롤업 + 객관 검증 + 커밋
```
+
+
+
+
+
+
+
+이 도식은 플러그인 자체의 `editorial-diagram` 스킬로 생성했습니다 — 소스: [`assets/architecture.html`](assets/architecture.html)
+
---
## 빠른 시작
@@ -63,6 +73,21 @@ WIGTN Plugins은 요구사항, 아키텍처, 구현, 리뷰를 담당하는 11
## 파이프라인
+
+
+
+
+
+
+
+독립적인 단계는 병렬로, 의존성이 있는 단계는 순서대로 실행합니다. 실행 시간은 작업·모델·설정된 검사에 따라 달라집니다.
+
+소스: [`assets/pipeline.html`](assets/pipeline.html)
+
+
+파이프라인 상세 — 클릭하여 펼치기
+
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ /prd "OAuth 기반 SaaS 대시보드" │
@@ -165,7 +190,7 @@ WIGTN Plugins은 요구사항, 아키텍처, 구현, 리뷰를 담당하는 11
Layer 3 — PLAN 원장 ─────────── 태스크 체크박스 + 실행 로그
```
-독립적인 단계는 병렬로, 의존성이 있는 단계는 순서대로 실행합니다. 실행 시간은 작업·모델·설정된 검사에 따라 달라집니다.
+
---
@@ -213,13 +238,15 @@ WIGTN Plugins은 요구사항, 아키텍처, 구현, 리뷰를 담당하는 11
-스킬 (6개) — 클릭하여 펼치기
+스킬 (8개) — 클릭하여 펼치기
| 스킬 | 제공하는 것 |
|------|-----------|
| `code-review-levels` | 심층 리뷰 (Level 3: 호출 체인, 에지 케이스, 동시성) 및 아키텍처 리뷰 (Level 4: SOLID, 계층 위반, 확장성) |
| `design-system-reference` | 20개 스타일 가이드 — 타이포그래피, 색상, 컴포넌트, 모션, 안티패턴. design-discovery와 연동하여 컨텍스트 기반 추천 |
+| `editorial-diagram` | 정갈한(editorial) 아키텍처/흐름/비교 다이어그램을 단일 HTML + 인라인 SVG로 생성. 12개 유형 라우팅, 미리 검산된 4px 좌표표, 밀도 예산, WIGTN·클라이언트 브랜드 토큰, `check.py` 검증(그리드/오버플로/대비/접근성), SVG + PNG export |
| `handdrawn-diagram` | Mermaid `look:handDrawn`로 손그림(스케치) 스타일 아키텍처/플로우 다이어그램을 커밋 가능한 SVG + PNG로 생성. README, GitHub, Devpost, 슬라이드에서 동일하게 렌더 |
+| `knowledge-wiki` | 세션 지식을 4단 반출 게이트를 거쳐 팀 위키에 축적. `~/.config/wigtn/knowledge-wiki.yml`에 지정한 경로에서만 동작하며, 시크릿·개인정보·고객 식별 정보는 반출 전에 차단 |
| `screen-spec` | PRD로부터 5종 UI 산출물 생성 — IA, User Flow, 화면별 명세, 클릭 가능한 Wireframe HTML, Dev Handoff. 흑백 + 의미색 lo-fi 와이어프레임(스타일은 `/implement`에서 결정). `/screen-spec`에서 호출 |
| `team-memory-protocol` | 병렬 빌드 중 에이전트 간 공유 컨텍스트(SHARED_CONTEXT) 관리 |
| `wigtn-ppt` | 브랜드 토큰 기반 WIGTN 브랜드 HTML 프레젠테이션 생성(Light/Dark 테마, 템플릿 불필요). 모든 슬라이드에 시그니처 퍼플 점, 로고 에셋이 없으면 CSS/SVG 워드마크 폴백 |
@@ -259,15 +286,17 @@ WIGTN Plugins은 요구사항, 아키텍처, 구현, 리뷰를 담당하는 11
-훅 (4개) — 클릭하여 펼치기
-
-| 훅 | 트리거 | 기능 |
-|----|--------|------|
-| 위험 명령 차단 | `Bash` PreToolUse | `rm -rf /`, `git push --force`, `DROP TABLE` 차단 |
-| 파이프라인 완료 | Stop | 푸시 전 변경사항 검토 알림 |
-| 프론트엔드 포맷팅 | `Write\|Edit` PostToolUse | `.tsx`, `.jsx`, `.css` 파일 prettier/eslint 알림 |
-| 백엔드 패턴 준수 | `Write\|Edit` PostToolUse | `.ts`, `.py`, `.go` 파일 에러 핸들링, 입력 검증, 로깅 확인 |
-
+훅 (7개) — 클릭하여 펼치기
+
+| 훅 | 트리거 | 하는 일 |
+|----|--------|--------|
+| 커밋 품질 게이트 | `Bash` PreToolUse | `hooks/gate.sh` 실행 — 모든 커밋에서 `.wigtn/checks.sh`(타입체크/lint)를 돌려 non-zero면 차단. 커밋 메시지에 `Quality Gate: PASS` 신호가 있으면 30분 이내의 `.wigtn/gate-pass` 아티팩트도 요구 |
+| 위험 명령 차단 | `Bash` PreToolUse | `/`·`~`·`$HOME`에 대한 재귀 강제 삭제, force push, hard reset, `DROP DATABASE\|TABLE\|SCHEMA` 차단 |
+| 게이트 상태 경고 | SessionStart | `hooks/gate.sh` 경로를 해석하지 못하면 stderr로 경고 — 커밋 게이트가 비활성이라 객관 체크 없이 커밋이 통과함을 알림 |
+| 프론트엔드 포맷팅 | `Write\|Edit` PostToolUse | `.ts`, `.tsx`, `.js`, `.jsx`, `.css`, `.scss`에 prettier/eslint 실행 리마인드 (`.ts`/`.js`는 백엔드 리마인드도 같이 발화) |
+| 백엔드 패턴 준수 | `Write\|Edit` PostToolUse | `.ts`, `.js`, `.py`, `.go`, `.java`의 에러 처리·입력 검증·로깅 확인 리마인드 |
+| 파이프라인 완료 | Stop | 푸시 전 변경사항 검토 리마인드 |
+| 지식 축적 | Stop | `knowledge_wiki/accumulate.py` 실행 — 세션 지식을 4단 반출 게이트로 축적 (`~/.config/wigtn/knowledge-wiki.yml` 설정이 없으면 비활성) |
---
diff --git a/README.md b/README.md
index 4ddb138..14045f5 100644
--- a/README.md
+++ b/README.md
@@ -6,10 +6,10 @@
**One plugin. 11 agents. From idea to a verified commit.**
-
+


-
+

[](https://github.com/wigtn/wigtn-plugins/stargazers)
@@ -42,6 +42,16 @@ WIGTN Plugins is a Claude Code plugin with 11 specialized agents for requirement
/auto-commit → Findings rollup + objective checks + commit
```
+
+
+
+
+
+
+
+Diagram generated by this plugin's own `editorial-diagram` skill — source: [`assets/architecture.html`](assets/architecture.html)
+
---
## Quick Start
@@ -63,6 +73,21 @@ That's it. The plugin handles PRD generation, 4-category quality analysis, archi
## The Pipeline
+
+
+
+
+
+
+
+Independent steps can run in parallel; dependent steps remain ordered. Runtime varies with the task, model, and configured checks.
+
+Source: [`assets/pipeline.html`](assets/pipeline.html)
+
+
+Full pipeline detail — click to expand
+
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ /prd "SaaS dashboard with OAuth" │
@@ -165,7 +190,7 @@ Shared Memory (3 layers):
Layer 3 — PLAN ledger ───────── task checkboxes + execution log
```
-Independent steps can run in parallel; dependent steps remain ordered. Runtime varies with the task, model, and configured checks.
+
---
@@ -213,13 +238,15 @@ Independent steps can run in parallel; dependent steps remain ordered. Runtime v
-Skills (6) — click to expand
+Skills (8) — click to expand
| Skill | What it provides |
|-------|-----------------|
| `code-review-levels` | Deep review (Level 3: call chains, edge cases, concurrency) and architecture review (Level 4: SOLID, layer violations, scalability) |
| `design-system-reference` | 20 style guides with typography, color, components, motion, and anti-patterns. Works with design-discovery for context-aware recommendations |
+| `editorial-diagram` | Editorial (clean) architecture / flow / comparison diagrams as a single HTML + inline SVG. 12 type routing, precomputed 4px coordinate tables, density budget, WIGTN or client brand tokens, `check.py` validator (grid / overflow / contrast / a11y), SVG + PNG export |
| `handdrawn-diagram` | Generates a hand-drawn (sketch-style) architecture or flow diagram as committable SVG + PNG via Mermaid `look:handDrawn`. Renders identically on README, GitHub, Devpost, and slides |
+| `knowledge-wiki` | Accumulates session knowledge into a team wiki through a 4-stage export gate. Runs only inside paths listed in `~/.config/wigtn/knowledge-wiki.yml`; secrets, personal data, and customer identifiers are blocked before export |
| `screen-spec` | Generates 5 UI artifacts from PRD — IA, User Flow, Screen Spec, clickable Wireframe HTML, Dev Handoff. Lo-fi wireframe (grayscale + semantic colors); style decisions deferred to `/implement`. Invoked by `/screen-spec` |
| `team-memory-protocol` | SHARED_CONTEXT management for cross-agent coordination during parallel builds |
| `wigtn-ppt` | Generates a WIGTN-brand HTML presentation (Light/Dark themes) from brand tokens — no template needed. Signature purple dot on every slide, with a CSS/SVG wordmark fallback when logo assets are absent |
@@ -259,15 +286,17 @@ The `design-discovery` agent recommends the best style for your project context
-Hooks (4) — click to expand
+Hooks (7) — click to expand
| Hook | Trigger | What it does |
|------|---------|-------------|
-| Dangerous Command Blocker | `Bash` PreToolUse | Blocks `rm -rf /`, `git push --force`, `DROP TABLE` |
-| Pipeline Completion | Stop | Reminds to review before pushing |
-| Frontend Formatting | `Write\|Edit` PostToolUse | Reminds prettier/eslint for `.tsx`, `.jsx`, `.css` |
-| Backend Pattern Compliance | `Write\|Edit` PostToolUse | Checks error handling, validation, logging for `.ts`, `.py`, `.go` |
-
+| Commit Quality Gate | `Bash` PreToolUse | Runs `hooks/gate.sh` — executes `.wigtn/checks.sh` (typecheck / lint) on every commit and blocks on a non-zero exit; additionally requires a fresh `.wigtn/gate-pass` artifact when the message carries a `Quality Gate: PASS` signal |
+| Dangerous Command Blocker | `Bash` PreToolUse | Blocks recursive force-removal of `/`, `~` or `$HOME`, force-push, hard reset, and `DROP DATABASE\|TABLE\|SCHEMA` |
+| Gate Health Warning | SessionStart | Warns on stderr when `hooks/gate.sh` cannot be resolved — the commit gate is inactive and commits would land without objective checks |
+| Frontend Formatting | `Write\|Edit` PostToolUse | Reminds prettier/eslint for `.ts`, `.tsx`, `.js`, `.jsx`, `.css`, `.scss` (`.ts`/`.js` also trigger the backend reminder) |
+| Backend Pattern Compliance | `Write\|Edit` PostToolUse | Reminds to verify error handling, input validation, logging for `.ts`, `.js`, `.py`, `.go`, `.java` |
+| Pipeline Completion | Stop | Reminds to review changes before pushing |
+| Knowledge Accumulation | Stop | Runs `knowledge_wiki/accumulate.py` — captures session knowledge through the 4-stage export gate (inactive unless configured in `~/.config/wigtn/knowledge-wiki.yml`) |
---
diff --git a/assets/architecture-dark.png b/assets/architecture-dark.png
new file mode 100644
index 0000000..1f978da
Binary files /dev/null and b/assets/architecture-dark.png differ
diff --git a/assets/architecture-light.png b/assets/architecture-light.png
new file mode 100644
index 0000000..3369148
Binary files /dev/null and b/assets/architecture-light.png differ
diff --git a/assets/architecture.html b/assets/architecture.html
new file mode 100644
index 0000000..9d10667
--- /dev/null
+++ b/assets/architecture.html
@@ -0,0 +1,166 @@
+
+
+
+
+wigtn-plugins architecture
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/assets/pipeline-dark.png b/assets/pipeline-dark.png
new file mode 100644
index 0000000..2526130
Binary files /dev/null and b/assets/pipeline-dark.png differ
diff --git a/assets/pipeline-light.png b/assets/pipeline-light.png
new file mode 100644
index 0000000..59c0fb3
Binary files /dev/null and b/assets/pipeline-light.png differ
diff --git a/assets/pipeline.html b/assets/pipeline.html
new file mode 100644
index 0000000..97e781f
--- /dev/null
+++ b/assets/pipeline.html
@@ -0,0 +1,211 @@
+
+
+
+
+wigtn-plugins pipeline
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/plugins/wigtn-plugins/.claude-plugin/plugin.json b/plugins/wigtn-plugins/.claude-plugin/plugin.json
index 8c7776b..8fbd157 100644
--- a/plugins/wigtn-plugins/.claude-plugin/plugin.json
+++ b/plugins/wigtn-plugins/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "wigtn-plugins",
- "version": "0.1.16",
- "description": "AI-native Vibe Coding — From idea to Deploy, Zero friction. 11 agents, 5 commands, 7 skills, team-based parallel build, 20 design styles, screen-spec generator (IA / User Flow / Wireframe HTML), WIGTN-brand PPT generator.",
+ "version": "0.1.17",
+ "description": "AI-native Vibe Coding — From idea to Deploy, Zero friction. 11 agents, 5 commands, 8 skills, team-based parallel build, 20 design styles, screen-spec generator (IA / User Flow / Wireframe HTML), WIGTN-brand PPT generator, editorial diagram generator.",
"agents": [
"./agents/ai-agent.md",
"./agents/architecture-decision.md",
@@ -27,6 +27,7 @@
"./skills/design-system-reference",
"./skills/screen-spec",
"./skills/code-review-levels",
+ "./skills/editorial-diagram",
"./skills/handdrawn-diagram",
"./skills/wigtn-ppt",
"./skills/knowledge-wiki"
diff --git a/plugins/wigtn-plugins/skills/editorial-diagram/SKILL.md b/plugins/wigtn-plugins/skills/editorial-diagram/SKILL.md
new file mode 100644
index 0000000..b0ae248
--- /dev/null
+++ b/plugins/wigtn-plugins/skills/editorial-diagram/SKILL.md
@@ -0,0 +1,176 @@
+---
+name: editorial-diagram
+description: >-
+ 구조·흐름·비교를 설명하는 정갈한(editorial) 다이어그램을 단일 HTML + 인라인 SVG로
+ 생성한다. 4px 그리드·밀도 예산·단일 악센트 규칙으로 "AI가 그린 티"를 제거하고,
+ WIGTN 브랜드 토큰(또는 클라이언트 토큰)을 적용한다. 발표 슬라이드·제안서·문서용.
+ SVG/PNG로 export 가능. 손그림 톤이 필요하면 handdrawn-diagram, 수치 차트는
+ dataviz 스킬을 쓴다. Triggers on: '다이어그램', '아키텍처 다이어그램', '구조도',
+ '도식', '플로우 그려줘', '시스템 구성도', '스윔레인', '타임라인 그려줘', '로드맵 도식',
+ '2x2', '사분면', '레이어 구조', 'diagram', 'architecture diagram', 'flow diagram',
+ 'swimlane', 'quadrant', 'layer stack', 'editorial diagram', '슬라이드용 도식'.
+allowed-tools: Read, Write, Edit, Bash, Glob, Grep
+---
+
+# Editorial Diagram (단일 HTML + 인라인 SVG)
+
+좌표를 손으로 찍는 SVG는 **규칙 없이 그리면 반드시 어긋난다.** 이 스킬은 산문 조언이
+아니라 **고정된 좌표표 + 검증 스크립트**로 그 실패를 막는다. 좌표를 창작하지 말고
+[references/geometry.md](references/geometry.md)의 표에서 **읽어 쓴다.**
+
+## 이 스킬을 쓰지 않는 경우
+
+| 요청 | 대신 | 이유 |
+|---|---|---|
+| 손그림·스케치 톤, README/Devpost | `handdrawn-diagram` | Mermaid `look:handDrawn` |
+| 막대·꺾은선·산점도·히트맵 등 **수치 차트** | `dataviz` | 축·스케일·팔레트 규칙이 다름 |
+| 화면 레이아웃/와이어프레임 | `screen-spec` | UI 명세 도메인 |
+| 목록·전후 비교표·도형 1개 | 그냥 텍스트/표 | 다이어그램이 값을 더하지 않음 |
+
+**판별 질문**: *"잘 쓴 문단 하나보다 이 그림이 더 알려주는가?"* 아니면 그리지 않는다.
+
+## 워크플로우
+
+### Step 1 — 요청 계약 (4요소)
+
+아래 4가지가 확정되어야 그린다. 빠진 것은 **한 번에 묶어** 묻거나, 맥락에서
+명백하면 가정하고 **명시적으로 선언**한다.
+
+| 요소 | 예시 | 없으면 생기는 일 |
+|---|---|---|
+| **내용** | "프론트 → 게이트웨이 → 주문 서비스 → DB" | 무엇을 그릴지 모름 |
+| **도착지** | 16:9 슬라이드 / 문서 인라인 / OG 이미지 | 캔버스·타이포 램프 결정 불가 |
+| **청중** | 임원 / 혼합 / 엔지니어 | 용어 깊이·노드 수 결정 불가 |
+| **강조점** | "주문 서비스 병목만 강조" | 악센트를 어디 쓸지 모름 (→ 전부 균일 = 밋밋) |
+
+### Step 2 — 렌더 전 선언 (필수)
+
+그리기 **전에** 한 단락으로 말한다. 이걸 건너뛰면 사용자는 완성된 뒤에야
+잘못된 유형이었음을 안다.
+
+```
+유형: 파이프라인 (4노드 가로) · 캔버스: slide-16x9 (1280×720)
+강조: 주문 서비스 1개 (퍼플 점)
+뺀 것: 캐시 계층, 리트라이 로직 — 임원 청중이라 3단계로 압축
+```
+
+### Step 3 — 유형 선택
+
+[references/types.md](references/types.md)에서 고른다. 12개 유형 각각에
+"언제 쓰나 / 언제 쓰면 안 되나 / 노드 예산 / 어느 좌표표를 쓰나"가 있다.
+
+### Step 4 — 토큰 로드
+
+[references/tokens.md](references/tokens.md)를 Read. 기본은 **WIGTN Light**.
+클라이언트 제안서면 클라이언트 토큰으로 오버라이드(같은 파일에 절차 있음).
+
+### Step 5 — 작성
+
+1. `assets/template.html`을 복사해 시작한다. 스캐폴드에 토큰·마커·a11y·폰트가 이미 있다.
+2. [references/geometry.md](references/geometry.md)의 좌표표를 **그대로 옮겨 적는다.**
+ 계산하지 않는다. 표에 없는 배치가 필요하면 표의 규칙(마진 64, 4의 배수)으로 파생한다.
+3. 라벨은 **글자 수 예산**을 지킨다(geometry.md §라벨 예산). 초과하면 줄이거나 `` 2줄.
+
+### Step 6 — 검증 (건너뛰지 않는다)
+
+```bash
+python3 "${CLAUDE_PLUGIN_ROOT}/skills/editorial-diagram/scripts/check.py" out.html
+```
+
+4px 위반·밀도 초과·라벨 오버플로·악센트 남용·a11y 누락·대비 미달을 잡는다.
+**FAIL이면 고치고 다시 돌린다.** PASS 후 PNG를 렌더해 눈으로 한 번 더 본다.
+
+### 검증기의 계약 (지키면 통과, 벗어나면 FAIL)
+
+`check.py`는 **임의 SVG 검증기가 아니다.** 브라우저를 다시 구현하지 않으므로,
+`template.html`이 만드는 *정규 형태*만 검증하고 그 밖은 조용히 통과시키지 않고 끊는다.
+검증할 수 없는 것을 통과시키면 게이트가 꺼진 줄도 모르게 꺼진다.
+
+| 규칙 | 벗어나면 |
+|---|---|
+| 색은 **3/6자리 HEX 또는 선언된 `var(--토큰)`만** — 토큰뿐 아니라 **모든 도형의 `fill`/`stroke`**에 적용 (`rgb()`·`color-mix()`·색이름 금지, `none`/`transparent`는 허용) | FAIL |
+| 노드는 `rect`/`polygon`/`circle`/`ellipse` + `class="node"` (`g`·`path` 노드 금지) | FAIL |
+| 폰트 크기는 `px`/`rem`/`em`만 (`pt`·`%`·`calc()` 금지) | FAIL |
+| 색·폰트·정렬은 **클래스 규칙**으로 (`text`/`tspan`/`g`의 표현 속성·인라인 style 금지) | FAIL |
+| ``는 묶기 전용, ``은 줄바꿈 전용 — 둘 다 `class`·`style` 금지 | FAIL |
+| 루트 `