Phát triển phần mềm với Claude Code
Dani Zysman
AI Curriculum Manager @ DataCamp

/skill-name hoặc tự động
Personal skills (mọi dự án):
~/.claude/
/skills/
/my-skill/
SKILL.md
Project skills (dự án này):
project/
/.claude/
/skills/
/unit-tests/
SKILL.md
___
# SKILL.md
name: unit-tests
description: Generate pytest unit tests for Python functions
___
When asked to write unit tests:
1. Identify the function's inputs and outputs
2. Write tests for normal cases first
3. Add edge cases (empty input, invalid data)
4. Use descriptive test names
5. Run pytest to verify tests pass
Frontmatter = name + description | Body = hướng dẫn từng bước
Công thức tạo một skill:
mkdir -p .claude/skills/unit-testscode .claude/skills/unit-tests/SKILL.md (hoặc trình soạn thảo bạn chọn)claude và kiểm tra skill với /skillsmusic-analytics-api/
app.py
routes.py
models.py
CLAUDE.md
.claude/
agents/
code-reviewer.md
skills/ # <- Thư mục Skills
unit-tests/
SKILL.md
| Tính năng | Skills | Agents |
|---|---|---|
| Là gì | Hướng dẫn Claude làm theo | Trợ lý chuyên biệt |
| Cách hoạt động | Claude thực thi các bước | Agent tự hoạt động |
| Vị trí | .claude/skills/ |
.claude/agents/ |
| Gọi | /skill-name hoặc tự động |
@agent-name hoặc tự động |
Cả hai mở rộng Claude Code - dùng skills cho quy trình, agents cho chuyên môn

Phát triển phần mềm với Claude Code