@kood/claude-code 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/index.js +39 -97
  2. package/package.json +1 -1
  3. package/templates/.claude/agents/dependency-manager.md +0 -1
  4. package/templates/.claude/agents/deployment-validator.md +0 -1
  5. package/templates/.claude/agents/designer.md +0 -1
  6. package/templates/.claude/agents/document-writer.md +0 -1
  7. package/templates/.claude/agents/implementation-executor.md +0 -1
  8. package/templates/.claude/agents/ko-to-en-translator.md +0 -1
  9. package/templates/.claude/agents/lint-fixer.md +0 -1
  10. package/templates/.claude/skills/stitch-design/README.md +0 -34
  11. package/templates/.claude/skills/stitch-design/SKILL.md +0 -213
  12. package/templates/.claude/skills/stitch-design/examples/DESIGN.md +0 -154
  13. package/templates/.claude/skills/stitch-loop/README.md +0 -54
  14. package/templates/.claude/skills/stitch-loop/SKILL.md +0 -316
  15. package/templates/.claude/skills/stitch-loop/examples/SITE.md +0 -73
  16. package/templates/.claude/skills/stitch-loop/examples/next-prompt.md +0 -25
  17. package/templates/.claude/skills/stitch-loop/resources/baton-schema.md +0 -61
  18. package/templates/.claude/skills/stitch-loop/resources/site-template.md +0 -104
  19. package/templates/.claude/skills/stitch-react/README.md +0 -36
  20. package/templates/.claude/skills/stitch-react/SKILL.md +0 -323
  21. package/templates/.claude/skills/stitch-react/examples/gold-standard-card.tsx +0 -88
  22. package/templates/.claude/skills/stitch-react/package-lock.json +0 -231
  23. package/templates/.claude/skills/stitch-react/package.json +0 -16
  24. package/templates/.claude/skills/stitch-react/resources/architecture-checklist.md +0 -15
  25. package/templates/.claude/skills/stitch-react/resources/component-template.tsx +0 -37
  26. package/templates/.claude/skills/stitch-react/resources/stitch-api-reference.md +0 -14
  27. package/templates/.claude/skills/stitch-react/resources/style-guide.json +0 -24
  28. package/templates/.claude/skills/stitch-react/scripts/fetch-stitch.sh +0 -30
  29. package/templates/.claude/skills/stitch-react/scripts/validate.js +0 -77
@@ -1,54 +0,0 @@
1
- # Stitch Build Loop Skill
2
-
3
- Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern.
4
-
5
- ## Install
6
-
7
- ```bash
8
- npx add-skill google-labs-code/stitch-skills --skill stitch-loop --global
9
- ```
10
-
11
- ## What It Does
12
-
13
- Enables continuous, autonomous website development through a "baton" system:
14
-
15
- 1. Agent reads task from `next-prompt.md`
16
- 2. Generates page via Stitch MCP tools
17
- 3. Integrates into site structure
18
- 4. Writes next task to continue the loop
19
-
20
- ## Prerequisites
21
-
22
- - Stitch MCP Server access
23
- - A `DESIGN.md` file (generate with the `design-md` skill)
24
- - A `SITE.md` file for project context
25
-
26
- ## Example Prompt
27
-
28
- ```text
29
- Read my next-prompt.md and generate the page using Stitch, then prepare the next iteration.
30
- ```
31
-
32
- ## Skill Structure
33
-
34
- ```
35
- stitch-loop/
36
- ├── SKILL.md — Core pattern instructions
37
- ├── README.md — This file
38
- ├── resources/
39
- │ ├── baton-schema.md — Baton file format spec
40
- │ └── site-template.md — SITE.md/DESIGN.md templates
41
- └── examples/
42
- ├── next-prompt.md — Example baton
43
- └── SITE.md — Example site constitution
44
- ```
45
-
46
- ## Works With
47
-
48
- - **`design-md` skill**: Generate `DESIGN.md` from existing Stitch screens
49
- - **CI/CD**: GitHub Actions can trigger new iterations on push
50
- - **Agent chains**: Dispatch to other agents (Jules, etc.)
51
-
52
- ## Learn More
53
-
54
- See [SKILL.md](./SKILL.md) for complete instructions.
@@ -1,316 +0,0 @@
1
- ---
2
- name: stitch:loop
3
- description: 반복적 빌드 루프로 웹사이트 자율 구축
4
- ---
5
-
6
- <purpose>
7
- 작업 바통 전달 방식으로 웹사이트를 점진적으로 구축하는 자율 루프 실행
8
- </purpose>
9
-
10
- ---
11
-
12
- <trigger_conditions>
13
-
14
- | 트리거 | 반응 |
15
- |--------|------|
16
- | "빌드 루프 시작" | 즉시 실행 |
17
- | "점진적 구축" | 즉시 실행 |
18
- | "next-prompt 실행" | 즉시 실행 |
19
-
20
- </trigger_conditions>
21
-
22
- ---
23
-
24
- <workflow>
25
-
26
- <step number="1">
27
- <action>작업 읽기</action>
28
- <tools>Read</tools>
29
- <details>
30
- `next-prompt.md`에서 다음 작업 추출:
31
- ```yaml
32
- ---
33
- page: about
34
- ---
35
- 회사 소개 페이지 생성
36
- - 팀 소개 섹션
37
- - 연혁 타임라인
38
- ```
39
- </details>
40
- </step>
41
-
42
- <step number="2">
43
- <action>컨텍스트 참조</action>
44
- <tools>Read</tools>
45
- <details>
46
- 필수 문서:
47
- - `SITE.md`: 비전, 사이트맵, 로드맵
48
- - `DESIGN.md`: 디자인 시스템
49
-
50
- 완료된 페이지 확인 (중복 생성 방지)
51
- </details>
52
- </step>
53
-
54
- <step number="3">
55
- <action>페이지 생성</action>
56
- <tools>Stitch MCP (또는 직접 구현)</tools>
57
- <details>
58
- 프롬프트 구성:
59
- 1. `next-prompt.md` 내용
60
- 2. `DESIGN.md`의 디자인 시스템 블록
61
- 3. 페이지 요구사항
62
-
63
- **중요:** YAML `page` 필드가 출력 파일명 결정
64
- </details>
65
- </step>
66
-
67
- <step number="4">
68
- <action>통합</action>
69
- <tools>Write, Edit</tools>
70
- <details>
71
- - 생성된 HTML/CSS/JS를 프로덕션으로 이동
72
- - 경로 수정 (`/assets/` → 실제 경로)
73
- - 네비게이션 링크 업데이트
74
- </details>
75
- </step>
76
-
77
- <step number="5">
78
- <action>문서화</action>
79
- <tools>Edit</tools>
80
- <details>
81
- `SITE.md` 업데이트:
82
- - 사이트맵에 완료된 페이지 추가
83
- - 로드맵에서 완료 항목 제거
84
- </details>
85
- </step>
86
-
87
- <step number="6">
88
- <action>바통 전달</action>
89
- <tools>Write</tools>
90
- <details>
91
- `next-prompt.md` 작성:
92
- ```yaml
93
- ---
94
- page: contact
95
- ---
96
- 문의 페이지 생성
97
- - 문의 폼
98
- - 지도 임베드
99
- - 연락처 정보
100
-
101
- [DESIGN.md의 디자인 시스템 블록 포함 필수]
102
- ```
103
- </details>
104
- </step>
105
-
106
- </workflow>
107
-
108
- ---
109
-
110
- <baton_system>
111
-
112
- ## 핵심 개념
113
-
114
- **바통 파일 (`next-prompt.md`):**
115
- - 에이전트 간 상태 전달 메커니즘
116
- - 메모리 불필요 (파일이 상태)
117
- - CI/CD 자동화 가능
118
- - 사람 검토 가능
119
-
120
- ## 필수 규칙
121
-
122
- | 규칙 | 이유 |
123
- |------|------|
124
- | YAML `page` 필드 필수 | 출력 파일명 결정 |
125
- | DESIGN.md 블록 포함 | 스타일 일관성 |
126
- | 완료 페이지 확인 | 중복 생성 방지 |
127
- | 네비게이션 업데이트 | UX 연속성 |
128
-
129
- ## 바통 파일 구조
130
-
131
- ```yaml
132
- ---
133
- page: [페이지명]
134
- ---
135
- [작업 설명]
136
-
137
- [요구사항]
138
-
139
- ---
140
- Design System:
141
- [DESIGN.md에서 복사]
142
- ---
143
- ```
144
-
145
- </baton_system>
146
-
147
- ---
148
-
149
- <examples>
150
-
151
- ## 초기 바통 파일
152
-
153
- **next-prompt.md:**
154
- ```yaml
155
- ---
156
- page: index
157
- ---
158
- 홈페이지 생성
159
- - 히어로 섹션 (CTA 버튼)
160
- - 주요 기능 3개 소개
161
- - 푸터 (SNS 링크)
162
-
163
- ---
164
- Design System:
165
- ## Colors
166
- - Primary: #3B82F6 (파란색)
167
- - Secondary: #64748B (회색)
168
-
169
- ## Typography
170
- - Heading: Inter 32px Bold
171
- - Body: Inter 16px Regular
172
-
173
- ## Spacing
174
- - Section: 64px
175
- - Element: 24px
176
- ---
177
- ```
178
-
179
- ---
180
-
181
- ## 루프 실행 후
182
-
183
- **1. index.html 생성됨**
184
-
185
- **2. SITE.md 업데이트:**
186
- ```markdown
187
- ## Sitemap
188
- - [x] Home (`index.html`)
189
- - [ ] About
190
- - [ ] Contact
191
- ```
192
-
193
- **3. 다음 바톤 (next-prompt.md):**
194
- ```yaml
195
- ---
196
- page: about
197
- ---
198
- 회사 소개 페이지 생성
199
- - 팀 소개 카드 (사진, 이름, 직책)
200
- - 연혁 타임라인
201
-
202
- ---
203
- Design System:
204
- [동일한 디자인 시스템 블록]
205
- ---
206
- ```
207
-
208
- </examples>
209
-
210
- ---
211
-
212
- <site_md_structure>
213
-
214
- ```markdown
215
- # Site Vision
216
-
217
- [웹사이트의 목적과 목표]
218
-
219
- ## Sitemap
220
-
221
- - [x] Home (`index.html`)
222
- - [ ] About (`about.html`)
223
- - [ ] Contact (`contact.html`)
224
-
225
- ## Roadmap
226
-
227
- ### Phase 1 (진행중)
228
- - [x] 홈페이지
229
- - [ ] 회사 소개
230
- - [ ] 문의 페이지
231
-
232
- ### Phase 2
233
- - [ ] 블로그
234
- - [ ] 제품 페이지
235
- ```
236
-
237
- </site_md_structure>
238
-
239
- ---
240
-
241
- <integration_checklist>
242
-
243
- **페이지 통합 시:**
244
- - [ ] HTML/CSS/JS 파일 이동 완료
245
- - [ ] 상대 경로 수정 (`/assets/` → `./assets/`)
246
- - [ ] 네비게이션 링크 업데이트
247
- - [ ] SITE.md 사이트맵 체크
248
- - [ ] 플레이스홀더 제거 (Lorem ipsum 등)
249
- - [ ] 접근성 검증 (ARIA, alt 텍스트)
250
-
251
- </integration_checklist>
252
-
253
- ---
254
-
255
- <failure_modes>
256
-
257
- | 실패 패턴 | 해결 |
258
- |----------|------|
259
- | `next-prompt.md` 미작성 | 루프 중단 → 항상 작성 |
260
- | 디자인 시스템 누락 | 스타일 불일치 → DESIGN.md 블록 포함 |
261
- | 완료 페이지 재생성 | 리소스 낭비 → SITE.md 확인 |
262
- | 네비게이션 미업데이트 | UX 단절 → 모든 링크 검증 |
263
-
264
- </failure_modes>
265
-
266
- ---
267
-
268
- <best_practices>
269
-
270
- | 원칙 | 방법 |
271
- |------|------|
272
- | **상태 보존** | 바통 파일로 진행 상황 관리 |
273
- | **일관성** | 항상 DESIGN.md 참조 |
274
- | **검증** | 각 단계 후 SITE.md 업데이트 |
275
- | **자동화** | CI/CD 파이프라인 통합 가능 |
276
-
277
- ## 자동화 예시
278
-
279
- ```yaml
280
- # .github/workflows/build-loop.yml
281
- name: Stitch Build Loop
282
- on:
283
- push:
284
- paths:
285
- - 'next-prompt.md'
286
-
287
- jobs:
288
- build:
289
- runs-on: ubuntu-latest
290
- steps:
291
- - uses: actions/checkout@v2
292
- - name: Run stitch-loop skill
293
- run: claude skill stitch-loop
294
- - name: Commit changes
295
- run: |
296
- git add .
297
- git commit -m "chore: 빌드 루프 실행"
298
- git push
299
- ```
300
-
301
- </best_practices>
302
-
303
- ---
304
-
305
- <validation>
306
-
307
- **체크리스트:**
308
- - [ ] `next-prompt.md` YAML frontmatter 포함
309
- - [ ] `page` 필드 명시
310
- - [ ] DESIGN.md 블록 포함
311
- - [ ] SITE.md 사이트맵 최신화
312
- - [ ] 중복 페이지 생성 없음
313
- - [ ] 네비게이션 링크 동작
314
- - [ ] 플레이스홀더 제거
315
-
316
- </validation>
@@ -1,73 +0,0 @@
1
- ---
2
- stitch-project-id: 13534454087919359824
3
- ---
4
- # Project Vision & Constitution
5
-
6
- > **AGENT INSTRUCTION:** Read this file before every iteration. It serves as the project's "Long-Term Memory." If `next-prompt.md` is empty, pick the highest priority item from Section 5 OR invent a new page that fits the project vision.
7
-
8
- ## 1. Core Identity
9
- * **Project Name:** Oakwood Furniture Co.
10
- * **Stitch Project ID:** `13534454087919359824`
11
- * **Mission:** A premium online furniture showroom showcasing handcrafted, sustainable wood furniture.
12
- * **Target Audience:** Design-conscious homeowners, interior designers, eco-minded buyers.
13
- * **Voice:** Warm, refined, artisanal, and trustworthy.
14
-
15
- ## 2. Visual Language (Stitch Prompt Strategy)
16
- *Strictly adhere to these descriptive rules when prompting Stitch. Do NOT use code.*
17
-
18
- * **The "Vibe" (Adjectives):**
19
- * *Primary:* **Warm** (Inviting, cozy, natural materials).
20
- * *Secondary:* **Minimal** (Clean layouts, breathing room, gallery-like).
21
- * *Tertiary:* **Artisanal** (Handcrafted feel, attention to detail).
22
-
23
- * **Color Philosophy (Semantic):**
24
- * **Backgrounds:** Warm barely-there cream (#FCFAFA). Soft, inviting canvas.
25
- * **Accents:** Deep muted teal-navy (#294056) for CTAs and highlights.
26
- * **Text:** Charcoal near-black (#2C2C2C) for headlines, soft gray (#6B6B6B) for body.
27
-
28
- ## 3. Architecture & File Structure
29
- * **Root:** `site/public/`
30
- * **Asset Flow:** Stitch generates to `queue/` -> Validate -> Move to `site/public/`.
31
- * **Navigation Strategy:**
32
- * **Global Header:** Logo, Shop, Collections, About, Contact.
33
- * **Global Footer:** Sustainability, Craftsmanship, Shipping Info, Social Links.
34
-
35
- ## 4. Live Sitemap (Current State)
36
- *The Agent MUST update this section when a new page is successfully merged.*
37
-
38
- * [x] `index.html` - Homepage with hero and featured collections.
39
- * [x] `collections.html` - Overview of furniture categories.
40
- * [x] `about.html` - Our story and craftsmanship philosophy.
41
- * [ ] `contact.html` - Contact form and showroom locations.
42
-
43
- ## 5. The Roadmap (Backlog)
44
- *If `next-prompt.md` is empty or completed, pick the next task from here.*
45
-
46
- ### High Priority
47
- - [ ] **Product Detail Page:** Template for individual furniture items.
48
- - [ ] **Contact Page:** Contact form with showroom map.
49
-
50
- ### Medium Priority
51
- - [ ] **Sustainability Page:** Our commitment to eco-friendly practices.
52
- - [ ] **Care Guide:** How to maintain wood furniture.
53
-
54
- ## 6. Creative Freedom Guidelines
55
- *When the backlog is empty, follow these guidelines to innovate.*
56
-
57
- 1. **Stay On-Brand:** New pages must fit the "Warm + Minimal + Artisanal" vibe.
58
- 2. **Enhance the Core:** Support the furniture shopping experience.
59
- 3. **Naming Convention:** Use lowercase, descriptive filenames.
60
-
61
- ### Ideas to Explore
62
- *Pick one, build it, then REMOVE it from this list.*
63
-
64
- - [ ] `materials.html` - Showcase of wood types and finishes
65
- - [ ] `custom.html` - Custom furniture ordering process
66
- - [ ] `gallery.html` - Customer homes featuring our furniture
67
- - [ ] `blog.html` - Design tips and furniture care articles
68
-
69
- ## 7. Rules of Engagement
70
- 1. Do not recreate pages in Section 4.
71
- 2. Always update `next-prompt.md` before completing.
72
- 3. Consume ideas from Section 6 when you use them.
73
- 4. Keep the loop moving.
@@ -1,25 +0,0 @@
1
- ---
2
- page: contact
3
- ---
4
- A warm, inviting contact page for Oakwood Furniture Co.
5
-
6
- **DESIGN SYSTEM (REQUIRED):**
7
- - Platform: Web, Desktop-first
8
- - Theme: Light, minimal, photography-first
9
- - Background: Warm barely-there cream (#FCFAFA)
10
- - Surface: Crisp very light gray (#F5F5F5) for cards
11
- - Primary Accent: Deep muted teal-navy (#294056) for buttons and links
12
- - Text Primary: Charcoal near-black (#2C2C2C) for headlines
13
- - Text Secondary: Soft warm gray (#6B6B6B) for body copy
14
- - Font: Modern sans-serif (Manrope or similar), clean and approachable
15
- - Buttons: Subtly rounded corners (8px), comfortable padding
16
- - Cards: Gently rounded corners (12px), whisper-soft shadows on hover
17
- - Layout: Centered content, max-width container, generous whitespace
18
- - No harsh shadows, no aggressive colors - serene and trustworthy
19
-
20
- **Page Structure:**
21
- 1. **Header:** Navigation with logo, Shop, Collections, About, Contact (active)
22
- 2. **Hero Section:** Warm headline "Get in Touch" with a brief welcome message
23
- 3. **Contact Form:** Name, email, message fields with the teal-navy submit button
24
- 4. **Showroom Info:** Address, hours, and an embedded map or beautiful showroom photo
25
- 5. **Footer:** Sustainability, Craftsmanship, Shipping links, and social icons
@@ -1,61 +0,0 @@
1
- # Baton File Schema
2
-
3
- The baton file (`next-prompt.md`) is the communication mechanism between loop iterations. It tells the next agent what to build.
4
-
5
- ## Format
6
-
7
- ```yaml
8
- ---
9
- page: <filename-without-extension>
10
- ---
11
- <prompt-content>
12
- ```
13
-
14
- ## Fields
15
-
16
- ### Frontmatter (YAML)
17
-
18
- | Field | Type | Required | Description |
19
- |-------|------|----------|-------------|
20
- | `page` | string | Yes | Output filename (without `.html` extension) |
21
-
22
- ### Body (Markdown)
23
-
24
- The body contains the full Stitch prompt, which must include:
25
-
26
- 1. **One-line description** with vibe/atmosphere keywords
27
- 2. **Design System block** (required) — copied from `DESIGN.md` Section 6
28
- 3. **Page Structure** — numbered list of sections/components
29
-
30
- ## Example
31
-
32
- ```markdown
33
- ---
34
- page: achievements
35
- ---
36
- A competitive, gamified achievements page with terminal aesthetics.
37
-
38
- **DESIGN SYSTEM (REQUIRED):**
39
- - Platform: Web, Desktop-first
40
- - Theme: Dark, minimal, data-focused
41
- - Background: Deep charcoal/near-black (#0f1419)
42
- - Primary Accent: Teal/Cyan (#2dd4bf)
43
- - Text Primary: White (#ffffff)
44
- - Font: Clean sans-serif (Inter, SF Pro, or system default)
45
- - Layout: Centered content, max-width container
46
-
47
- **Page Structure:**
48
- 1. Header with title "Achievements" and navigation
49
- 2. Badge grid showing locked/unlocked states with icons
50
- 3. Progress section with milestone bars
51
- 4. Footer with links to other pages
52
- ```
53
-
54
- ## Validation Rules
55
-
56
- Before completing an iteration, validate your baton:
57
-
58
- - [ ] `page` frontmatter field exists and is a valid filename
59
- - [ ] Prompt includes the design system block
60
- - [ ] Prompt describes a page NOT already in `SITE.md` sitemap
61
- - [ ] Prompt includes specific page structure details
@@ -1,104 +0,0 @@
1
- # Site Template
2
-
3
- Use these templates when setting up a new project for the build loop.
4
-
5
- ## SITE.md Template
6
-
7
- ```markdown
8
- # Project Vision & Constitution
9
-
10
- > **AGENT INSTRUCTION:** Read this file before every iteration. It serves as the project's "Long-Term Memory."
11
-
12
- ## 1. Core Identity
13
- * **Project Name:** [Your project name]
14
- * **Stitch Project ID:** [Your Stitch project ID]
15
- * **Mission:** [What the site achieves]
16
- * **Target Audience:** [Who uses this site]
17
- * **Voice:** [Tone and personality descriptors]
18
-
19
- ## 2. Visual Language
20
- *Reference these descriptors when prompting Stitch.*
21
-
22
- * **The "Vibe" (Adjectives):**
23
- * *Primary:* [Main aesthetic keyword]
24
- * *Secondary:* [Supporting aesthetic]
25
- * *Tertiary:* [Additional flavor]
26
-
27
- ## 3. Architecture & File Structure
28
- * **Root:** `site/public/`
29
- * **Asset Flow:** Stitch generates to `queue/` → Validate → Move to `site/public/`
30
- * **Navigation Strategy:** [How nav works]
31
-
32
- ## 4. Live Sitemap (Current State)
33
- *Update this when a new page is successfully merged.*
34
-
35
- * [x] `index.html` - [Description]
36
- * [ ] `about.html` - [Description]
37
-
38
- ## 5. The Roadmap (Backlog)
39
- *Pick the next task from here if available.*
40
-
41
- ### High Priority
42
- - [ ] [Task description]
43
- - [ ] [Task description]
44
-
45
- ### Medium Priority
46
- - [ ] [Task description]
47
-
48
- ## 6. Creative Freedom Guidelines
49
- *When the backlog is empty, follow these guidelines to innovate.*
50
-
51
- 1. **Stay On-Brand:** New pages must fit the established vibe
52
- 2. **Enhance the Core:** Support the site mission
53
- 3. **Naming Convention:** Use lowercase, descriptive filenames
54
-
55
- ### Ideas to Explore
56
- *Pick one, build it, then REMOVE it from this list.*
57
-
58
- - [ ] `stats.html` - [Description]
59
- - [ ] `settings.html` - [Description]
60
-
61
- ## 7. Rules of Engagement
62
- 1. Do not recreate pages in Section 4
63
- 2. Always update `next-prompt.md` before completing
64
- 3. Consume ideas from Section 6 when you use them
65
- ```
66
-
67
- ## DESIGN.md Template
68
-
69
- Generate this using the `design-md` skill from an existing Stitch screen, or create manually:
70
-
71
- ```markdown
72
- # Design System: [Project Name]
73
- **Project ID:** [Stitch Project ID]
74
-
75
- ## 1. Visual Theme & Atmosphere
76
- [Describe mood, density, aesthetic philosophy]
77
-
78
- ## 2. Color Palette & Roles
79
- - **[Descriptive Name]** (#hexcode) – [Functional role]
80
- - **[Descriptive Name]** (#hexcode) – [Functional role]
81
-
82
- ## 3. Typography Rules
83
- [Font family, weights, sizes, spacing]
84
-
85
- ## 4. Component Stylings
86
- * **Buttons:** [Shape, color, behavior]
87
- * **Cards:** [Corners, background, shadows]
88
- * **Inputs:** [Stroke, background, focus states]
89
-
90
- ## 5. Layout Principles
91
- [Whitespace strategy, margins, grid alignment]
92
-
93
- ## 6. Design System Notes for Stitch Generation
94
- **Copy this block into every baton prompt:**
95
-
96
- **DESIGN SYSTEM (REQUIRED):**
97
- - Platform: [Web/Mobile], [Desktop/Mobile]-first
98
- - Theme: [Dark/Light], [descriptors]
99
- - Background: [Description] (#hex)
100
- - Primary Accent: [Description] (#hex)
101
- - Text Primary: [Description] (#hex)
102
- - Font: [Description]
103
- - Layout: [Description]
104
- ```
@@ -1,36 +0,0 @@
1
- # Stitch to React Components Skill
2
-
3
- ## Install
4
-
5
- ```bash
6
- npx add-skill google-labs-code/stitch-skills --skill react:components --global
7
- ```
8
-
9
- ## Example Prompt
10
-
11
- ```text
12
- Convert my Landing Page screen in my Podcast Stitch Project to a React component system.
13
- ```
14
-
15
- ## Skill Structure
16
-
17
- This repository follows the **Agent Skills** open standard. Each skill is self-contained with its own logic, validation scripts, and design tokens.
18
-
19
- ```text
20
- skills/react-components/
21
- ├── SKILL.md — Core instructions & workflow
22
- ├── package.json — Validator dependencies
23
- ├── scripts/ — Networking & AST validation
24
- ├── resources/ — Style guides & API references
25
- └── examples/ — Gold-standard code samples
26
- ```
27
-
28
- ## How it Works
29
-
30
- When activated, the agent follows a high-fidelity engineering pipeline:
31
-
32
- 1. **Retrieval**: Uses a system-level `curl` script to bypass TLS/SNI issues on Google Cloud Storage.
33
- 2. **Mapping**: Cross-references Stitch metadata with the local `style-guide.json` to ensure token consistency.
34
- 3. **Generation**: Scaffolds components using a strict Atomic Design pattern.
35
- 4. **Validation**: Runs an automated AST check using `@swc/core` to prevent hardcoded hex values or missing interfaces.
36
- 5. **Audit**: Performs a final self-correction check against a 20-point architecture checklist.