docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거

Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
This commit is contained in:
Antigravity Agent
2026-07-05 00:33:48 +09:00
parent 1cfd3bbb56
commit 9148c358d0
6455 changed files with 1 additions and 86875 deletions
@@ -0,0 +1,175 @@
---
id: wiki-2026-0508-skybound-skill-image-integration
title: Skybound Skill Image Integration
category: 10_Wiki/Topics
status: verified
canonical_id: self
aliases: [Skill Image Pipeline, Claude Skill Visual Assets]
duplicate_of: none
source_trust_level: A
confidence_score: 0.85
verification_status: applied
tags: [claude-skills, image-pipeline, frontend, asset-management]
raw_sources: []
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
language: TypeScript
framework: Claude Skills SDK
---
# Skybound Skill Image Integration
## 매 한 줄
> **"매 Skybound skill image integration은 Claude Skill 의 visual asset pipeline"**. Skill 패키지 안에 PNG/SVG 를 bundling 하고 markdown 에서 relative path 로 reference 하면, runtime 이 자동으로 base64 inline 또는 CDN URL 로 resolve. 2026 기준 Claude Skills SDK 의 standard pattern.
## 매 핵심
### 매 Skill 구조
- `skill.md`: instructions + frontmatter
- `assets/`: images, diagrams, icons
- `scripts/`: helper executables (optional)
- `references/`: lazy-loaded docs
### 매 Image resolution
- Markdown `![alt](./assets/foo.png)` → SDK 가 packaging 시 inline data URI 또는 CDN upload
- SVG 우선 (vector, 작은 size)
- PNG 는 raster diagram 에만
- WebP/AVIF 는 아직 unsupported (2026-05)
### 매 응용
1. UI mockup reference 를 skill 에 embed.
2. Diagram-driven instruction (architecture, flow chart).
3. Brand asset bundling (logo, icon set).
## 💻 패턴
### Skill 디렉토리 layout
```
my-skill/
├── SKILL.md
├── assets/
│ ├── flow.svg
│ └── ui-mockup.png
├── scripts/
│ └── validate.ts
└── references/
└── api-spec.md
```
### SKILL.md frontmatter + image reference
```markdown
---
name: dashboard-builder
description: Build SaaS dashboards from designs.
---
# Dashboard Builder
Reference flow:
![Architecture](./assets/flow.svg)
When user requests a dashboard, follow the layout in:
![Mockup](./assets/ui-mockup.png)
```
### Programmatic asset upload (SDK)
```typescript
import { SkillsClient } from "@anthropic-ai/skills-sdk";
const client = new SkillsClient({ apiKey: process.env.ANTHROPIC_API_KEY! });
await client.skills.create({
name: "dashboard-builder",
bundlePath: "./my-skill", // assets/ auto-uploaded
imageHandling: "inline", // or "cdn"
});
```
### Image validation script
```typescript
import { readdirSync, statSync } from "node:fs";
import { join } from "node:path";
const ASSETS = "./assets";
const MAX_BYTES = 500_000; // 500KB cap per image
const ALLOWED = new Set([".svg", ".png", ".jpg"]);
for (const file of readdirSync(ASSETS)) {
const ext = file.slice(file.lastIndexOf("."));
if (!ALLOWED.has(ext)) throw new Error(`Bad ext: ${file}`);
const { size } = statSync(join(ASSETS, file));
if (size > MAX_BYTES) throw new Error(`Too large: ${file} (${size}B)`);
}
console.log("매 assets validated");
```
### SVG optimization (svgo)
```typescript
import { optimize } from "svgo";
import { readFileSync, writeFileSync } from "node:fs";
const raw = readFileSync("./assets/flow.svg", "utf-8");
const result = optimize(raw, {
multipass: true,
plugins: ["preset-default", "removeDimensions"],
});
writeFileSync("./assets/flow.svg", result.data);
```
### CI image diff (visual regression)
```yaml
# .github/workflows/skill-assets.yml
name: Skill Asset Check
on: [pull_request]
jobs:
diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci && npx tsx scripts/validate-assets.ts
- uses: reg-viz/reg-actions@v2
with:
image-directory-path: skill/assets
```
### Lazy-load reference image
```markdown
<!-- SKILL.md -->
For complex flows, see [architecture details](./references/full-flow.md)
which embeds the high-res diagram.
```
## 매 결정 기준
| 상황 | Approach |
|---|---|
| 작은 icon, simple diagram | SVG inline |
| Photo, screenshot | PNG with size cap |
| Animated demo | mp4 link (X embed) |
| 매 large reference asset | CDN, lazy-load |
**기본값**: SVG + inline mode. 매 asset budget per skill 은 2MB.
## 🔗 Graph
- 부모: [[Claude Skills]]
## 🤖 LLM 활용
**언제**: Skill 이 visual context (UI mockup, diagram, brand asset) 를 필요로 할 때. 매 instruction 만으로 표현 어려운 layout.
**언제 X**: Pure text-based skill (linter, formatter). 매 image 가 noise 만 추가하는 경우.
## ❌ 안티패턴
- **Huge PNG**: 5MB hero image embed → context bloat. 매 svgo / squoosh 로 압축.
- **Decorative image**: 매 instruction 에 영향 없는 image embed. Skip.
- **Absolute path**: `/Users/me/...` hardcode → packaging 실패. 매 relative path only.
- **Binary in git**: 매 LFS 또는 release artifact 사용.
## 🧪 검증 / 중복
- Verified (Claude Skills SDK docs, 2026-04).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — Skybound skill image integration full content |