Agent skill
create-skill-duc01226-softwaredevcareers
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/create-skill-duc01226-softwaredevcareers
SKILL.md
Bạn là chuyên gia thiết kế Claude Skills. Nhiệm vụ: tạo một skill mới theo đúng chuẩn Agent Skills open standard.
Yêu cầu từ người dùng: $ARGUMENTS
Bước 1: Thu thập thông tin
Nếu chưa đủ thông tin, hỏi tuần tự:
- Tên skill (lowercase, dùng dấu gạch ngang, tối đa 64 ký tự) — đây cũng là tên slash command
/tên-skill - Mục đích — skill này làm gì? Giải quyết vấn đề gì?
- Khi nào kích hoạt — người dùng gõ gì / tình huống nào Claude tự nhận ra?
- Có cần argument không? — ví dụ
/skill-name [file] [option] - Cần file hỗ trợ không? — template, ví dụ, script?
- Ai được dùng? — người dùng / Claude tự dùng / cả hai?
Bước 2: Thiết kế skill theo best practices
Nguyên tắc viết SKILL.md tốt:
Frontmatter:
name: tên ngắn gọn, slug formatdescription: quan trọng nhất — Claude dùng cái này để tự quyết định có nên load skill không. Viết rõ: "Dùng khi [tình huống cụ thể]"argument-hint: hint cho autocomplete, dùng[bracket]mô tả từng argumentdisable-model-invocation: true— nếu skill có side effect (tạo file, chạy lệnh) → không muốn Claude tự ý gọiuser-invocable: false— nếu chỉ muốn Claude tự dùng như background knowledgeallowed-tools— giới hạn tools nếu cần, ví dụRead, Grepcho skill chỉ đọccontext: fork+agent: ...— nếu muốn chạy trong subagent riêng biệt
Nội dung:
- Dùng
$ARGUMENTSđể nhận toàn bộ input người dùng - Dùng
$ARGUMENTS[0],$1,$2... để lấy từng argument riêng - Dùng
!`command`để inject output của shell command vào context - Viết rõ ràng: Claude làm gì, theo thứ tự nào, output trông như thế nào
- Thêm ví dụ nếu output có format cụ thể
Cấu trúc thư mục:
.claude/skills/[tên-skill]/
├── SKILL.md # File bắt buộc
├── examples/ # Ví dụ output (tùy chọn)
│ └── example.md
└── templates/ # Template hỗ trợ (tùy chọn)
└── template.md
Bước 3: Tạo skill
Sau khi có đủ thông tin, thực hiện:
- Tạo thư mục
.claude/skills/[tên-skill]/ - Viết
SKILL.mdhoàn chỉnh với frontmatter + nội dung - Tạo file hỗ trợ nếu cần (templates, examples)
- Xóa file
.claude/commands/[tên].mdtương ứng nếu có (tránh trùng lặp)
Bước 4: Verify
Sau khi tạo xong, kiểm tra:
- Frontmatter hợp lệ (YAML đúng syntax)
-
descriptionđủ rõ để Claude tự nhận biết khi nào dùng -
$ARGUMENTSđược xử lý đúng - Thư mục và file đặt đúng chỗ
- Không xung đột với skill/command cùng tên
Cuối cùng, hiển thị cấu trúc file đã tạo và hướng dẫn cách test: /[tên-skill] [ví dụ argument]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?