This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
DaleStudy ์ปค๋ฎค๋ํฐ์ Agent Skills ๋ชจ์์ง. AI ์ฝ๋ฉ ์ด์์คํดํธ(Claude Code, Cursor, GitHub Copilot)์ฉ ์ฌ์ฌ์ฉ ๊ฐ๋ฅํ ์คํฌ ์ ์๋ฅผ ์ ๊ณตํ๋ค.
์ด ์ ์ฅ์๋ ๋น๋ ๊ณผ์ ์๋ ์์ ์ฝํ
์ธ ์ ์ฅ์๋ค. ๊ฐ ์คํฌ์ SKILL.md ํ์ผ๋ก ์ ์๋๋ฉฐ, ๋ฐฐํฌ ์ ๋จ์ํ ZIP์ผ๋ก ์์ถ๋์ด dist/ ๋๋ ํ ๋ฆฌ์ .skill ํ์ฅ์๋ก ์ ์ฅ๋๋ค.
# ๋ก์ปฌ ์ ์ฅ์์์ ํน์ ์คํฌ ์ค์น ํ
์คํธ
npx skills add . --skill bun --agent claude-code --global --yes
# Bun ์ฌ์ฉ ์
bunx skills add . --skill bun --agent claude-code --global --yes์ค์น ํ ~/.agents/skills/{skill-name} ๋ฐ ~/.claude/skills/{skill-name} (์ฌ๋ณผ๋ฆญ ๋งํฌ)์์ ํ์ธ ๊ฐ๋ฅ
์ด ์ ์ฅ์๋ GitHub๋ฅผ ํตํด ์ง์ ๋ฐฐํฌ๋๋ค. npx skills add dalestudy/skills๋:
- GitHub ์ ์ฅ์ ํด๋ก
skills/๋๋ ํ ๋ฆฌ์์ SKILL.md ํ์ผ ์ฝ๊ธฐ- ์ ํํ ์คํฌ์
~/.agents/skills/์ ์ค์น
๋ณ๋ ๋น๋/ํจํค์ง ๊ณผ์ ์์. skills/{skill-name}/SKILL.md ํ์ผ์ ์์ ํ๋ฉด ์ฆ์ ๋ฐฐํฌ๋๋ค.
GitHub Actions๊ฐ ์๋์ผ๋ก ์คํ๋จ (์ค์ผ์ค: ๋งค์ผ 11:00, 23:00 UTC):
- ๋ชจ๋ ์คํฌ์ ์ค์น ๊ฐ๋ฅ์ฑ ๊ฒ์ฆ
.github/workflows/ci.yml์matrix.skill๋ฐฐ์ด์ ๋ช ์๋ ์คํฌ๋ง ํ ์คํธ ๋์
์ ์คํฌ ์ถ๊ฐ ์ CI ์
๋ฐ์ดํธ ํ์: matrix.skill ๋ฐฐ์ด์ ์คํฌ๋ช
์ถ๊ฐ
๊ฐ ์คํฌ์ Agent Skills ์คํ์ ๋ฐ๋ฅธ๋ค:
skills/{skill-name}/
โโโ SKILL.md # YAML frontmatter + Markdown ์ง์์ฌํญ (ํ์)
ํต์ฌ ์์น:
- SKILL.md๋ ์คํ ๊ฐ๋ฅํ ์ง์์ฌํญ์ด์ ๋ฉํ๋ฐ์ดํฐ๋ฅผ ํฌํจ
descriptionํ๋๋ ์คํฌ ํ์ฑํ ์กฐ๊ฑด์ ๋ช ํํ ๊ธฐ์ (ํ์ผ ํจํด, ํค์๋, ์ฌ์ฉ ์ํฉ)allowed-tools๋ ์คํฌ์ด ์๊ตฌํ๋ ๋๊ตฌ ๊ถํ์ ์ ์ธ (์:Bash(bun:*))
---
name: skill-name
description: "์คํฌ ์ค๋ช
+ ํ์ฑํ ์กฐ๊ฑด. ๋ค์ ์ํฉ์์ ์ฌ์ฉ: (1) ..., (2) ..., (3) ..."
license: MIT
compatibility: ํ์ํ CLI ๋๊ตฌ (์: Requires bun CLI)
metadata:
author: DaleStudy
version: "1.0"
allowed-tools: Bash(command:*) Bash(another:*) # ๊ณต๋ฐฑ์ผ๋ก ๊ตฌ๋ถ
---
# ์คํฌ ์ ๋ชฉ
์คํฌ ์ง์์ฌํญ (Markdown)์ค์:
description์ AI ์์ด์ ํธ๊ฐ ์ธ์ ์ด ์คํฌ์ ์ฌ์ฉํ ์ง ํ๋จํ๋ ์ฃผ์ ๊ธฐ์ค- ๊ตฌ์ฒด์ ์ธ ํ์ผ ํจํด (
.stories.tsx), ํค์๋ (bun,CSF), ์ฌ์ฉ ์ํฉ์ ๋ช ์ allowed-tools๋ ๊ถํ ํ๋กฌํํธ ์ต์ํ๋ฅผ ์ํด ์ ํํ ๊ธฐ์
์คํฌ์ GitHub ์ ์ฅ์๋ฅผ ํตํด ์ง์ ๋ฐฐํฌ๋๋ค:
npx skills add dalestudy/skills --skill bun์ ๋ช ๋ น์:
https://github.com/DaleStudy/skills์ ์ฅ์ ํด๋กskills/bun/SKILL.mdํ์ผ ๋ณต์ฌ~/.agents/skills/bun/์ ์ค์น
์ ์คํฌ ์ถ๊ฐ ์ ๋ฐ๋์ /skill-creator ์คํฌ์ ์ฌ์ฉํ๋ผ:
/skill-creator๋๋ "์ ์คํฌ ๋ง๋ค์ด์ค"๋ผ๊ณ ์์ฒญํ๋ฉด ์๋ ํ์ฑํ๋๋ค.
/skill-creator๋ ๋ค์ ์์
์ ์ํ:
- SKILL.md frontmatter ํ์ ๊ฒ์ฆ
descriptionํ๋์ ํ์ฑํ ์กฐ๊ฑด ๋ช ํ์ฑ ํ์ธ.github/workflows/ci.yml์matrix.skill๋ฐฐ์ด ์ ๋ฐ์ดํธdist/๋๋ ํ ๋ฆฌ์.skillํ์ผ ์์ฑ
- bun: Node.js ๋์ Bun ๋ฐํ์ ์ฌ์ฉ
- git: Git ๋ฒ์ ๊ด๋ฆฌ ๋ชจ๋ฒ ๊ด๋ก ๋ฐ ์ํฌํ๋ก์ฐ
- github-actions: GitHub Actions ์ํฌํ๋ก์ฐ ์์ฑ ๋ฐ ๋ณด์
- mcp: MCP(Model Context Protocol) ์๋ฒ ์์ฑยท๊ตฌํ
- skill-creator: ์ ์คํฌ ์์ฑ ๊ฐ์ด๋
- storybook: Storybook CSF 3.0 ์คํ ๋ฆฌ ์์ฑ
- testing: React Testing Library ๋ฐ Vitest ํ ์คํ ๋ชจ๋ฒ ๊ด๋ก
- typescript: TypeScript ํ์ ์ ์ ๋ฐ ๋ชจ๋ฒ ๊ด๋ก
๋ชจ๋ PR์์ .github/workflows/claude-code-review.yml ์ํฌํ๋ก์ฐ๊ฐ ์๋์ผ๋ก:
- skill-creator ์ค์น:
npx skills add . --skill skill-creator --agent claude-code --global --yes์คํ - Claude Code ์๋ ํ์ฑํ: SKILL.md ๋ณ๊ฒฝ ์ skill-creator์
description๋งค์นญ์ผ๋ก ์๋ ๋ก๋ - ๊ฒ์ฆ ์ํ (SKILL.md ๋ณ๊ฒฝ ์):
- โ Frontmatter YAML ๋ฌธ๋ฒ ์ ํ์ฑ
- โ
nameํ๋์ ๋๋ ํ ๋ฆฌ๋ช ์ผ์น - โ
descriptionํ๋์ ํธ๋ฆฌ๊ฑฐ ์กฐ๊ฑด ํฌํจ ์ฌ๋ถ - โ
.github/workflows/ci.yml์matrix.skill๋ฐฐ์ด ์ ๋ฐ์ดํธ ํ์ธ - โ ๋ค์ด๋ฐ ๊ท์น (์๋ฌธ์, ํ์ดํ, ์ต๋ 64์)
# SKILL.md ๋ณ๊ฒฝ์ ํฌํจํ ํ
์คํธ PR ์์ฑ
mkdir -p skills/test-skill
cat > skills/test-skill/SKILL.md <<EOF
---
name: test-skill
description: "ํ
์คํธ ์คํฌ"
---
# Test Skill
EOF
git add skills/test-skill/
git commit -m "test: add test-skill for validation testing"
git push origin test/skill-validation
gh pr create --title "test: Skill validation workflow" \
--body "Testing skill-creator integration in GitHub App"๊ธฐ๋ ๊ฒฐ๊ณผ: Claude Code๊ฐ PR์ description ํ๋ ๋ถ์กฑ ๋ฐ CI matrix ๋๋ฝ์ ์ง์ ํ๋ ์ฝ๋ฉํธ ์์ฑ
- ์คํฌ ์ถ๊ฐ ํ CI ์
๋ฐ์ดํธ ํ์:
.github/workflows/ci.yml์matrix.skill๋ฐฐ์ด์ ์ ์คํฌ๋ช ์ถ๊ฐ - SKILL.md๋ง ์์ ํ๋ฉด ๋จ: ๋น๋ ๊ณผ์ ์์, ๋ณ๊ฒฝ์ฌํญ์ ์ฆ์ ๋ฐ์๋จ
description์์ฑ์ด ํต์ฌ: AI ์์ด์ ํธ๊ฐ ์ฌ๋ฐ๋ฅธ ์ํฉ์์ ์คํฌ์ ํ์ฑํํ๋๋ก ๊ตฌ์ฒด์ ์ผ๋ก ๊ธฐ์- GitHub App ์๋ ๊ฒ์ฆ: SKILL.md ๋ณ๊ฒฝ ์ skill-creator๊ฐ ์๋์ผ๋ก PR ๋ฆฌ๋ทฐ์์ ๊ฒ์ฆ ์ํ