using-agent-skills
Skill này làm gì
Công cụ này giúp AI chọn skill (bộ hướng dẫn) tốt nhất cho một tác vụ. Nó đóng vai trò như hướng dẫn quyết định nên làm theo quy trình nào, từ khởi tạo dự án đến sửa lỗi.
Khi nào nên dùng
- ✓Khi bạn không chắc nên đưa hướng dẫn nào cho AI.
- ✓Khi bạn bắt đầu một dự án mới hoặc tác vụ phức tạp.
- ✓Khi AI cần quyết định quy trình nào để giải quyết một vấn đề.
Liên kết skill
https://github.com/addyosmani/agent-skills/blob/main/skills/using-agent-skills/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
📦 Skill này nằm trong các gói sau
Ví dụ cách nhờ AI
“Tôi nên dùng skill nào để triển khai một tính năng mới?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI phân tích tác vụ của bạn và so sánh với danh sách các quy trình (skill) có sẵn. Nó chọn skill phù hợp nhất dựa trên mô tả tác vụ của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Using Agent Skills
Overview
Agent Skills is a collection of engineering workflow skills organized by development phase. Each skill encodes a specific process that senior engineers follow. This meta-skill helps you discover and apply the right skill for your current task.
Skill Discovery
When a task arrives, identify the development phase and apply the corresponding skill:
Task arrives
│
├── Don't know what you want yet? ──────→ interview-me
├── Have a rough concept, need variants? → idea-refine
├── New project/feature/change? ──→ spec-driven-development
├── No quality bar written down? ──→ constraint-driven-development
├── Have a spec, need tasks? ──────→ planning-and-task-breakdown
├── Implementing code? ────────────→ incremental-implementation
│ ├── UI work? ─────────────────→ frontend-ui-engineering
│ ├── API work? ────────────────→ api-and-interface-design
│ ├── Need better context? ─────→ context-engineering
│ ├── Need doc-verified code? ───→ source-driven-development
│ └── Stakes high / unfamiliar code? ──→ doubt-driven-development
├── Writing/running tests? ────────→ test-driven-development
│ └── Browser-based? ───────────→ browser-testing-with-devtools
├── Something broke? ──────────────→ debugging-and-error-recovery
├── Reviewing code? ───────────────→ code-review-and-quality
│ ├── Too complex? ─────────────→ code-simplification
│ ├── Security concerns? ───────→ security-and-hardening
│ └── Performance concerns? ────→ performance-optimization
├── Committing/branching? ─────────→ git-workflow-and-versioning
├── CI/CD pipeline work? ──────────→ ci-cd-and-automation
├── Deprecating/migrating? ────────→ deprecation-and-migration
├── Writing docs/ADRs? ───────────→ documentation-and-adrs
├── Adding logs/metrics/alerts? ───→ observability-and-instrumentation
└── Deploying/launching? ─────────→ shipping-and-launch
Core Operating Behaviors
These behaviors apply at all times, across all skills. They are non-negotiable.
1. Surface Assumptions
Before implementing anything non-trivial, explicitly state your assumptions:
ASSUMPTIONS I'M MAKING:
1. [assumption about requirements]
2. [assumption about architecture]
3. [assumption about scope]
→ Correct me now or I'll proceed with these.
Don't silently fill in ambiguous requirements. The most common failure mode is making wrong assumptions and running with them unchecked. Surface uncertainty early — it's cheaper than rework.
2. Manage Confusion Actively
When you encounter inconsistencies, conflicting requirements, or unclear specifications:
- STOP. Do not proceed with a guess.
- Name the specific confusion.
- Present the tradeoff or ask the clarifying question.
- Wait for resolution before continuing.
Bad: Silently picking one interpretation and hoping it's right. Good: "I see X in the spec but Y in the existing code. Which takes precedence?"
3. Push Back When Warranted
You are not a yes-machine. When an approach has clear problems:
- Point out the issue directly
- Explain the concrete downside (quantify when possible — "this adds ~200ms latency" not "this might be slower")
- Propose an alternative
- Accept the human's decision if they override with full information
Sycophancy is a failure mode. "Of course!" followed by implementing a bad idea helps no one. Honest technical disagreement is more valuable than false agreement.
4. Enforce Simplicity
Your natural tendency is to overcomplicate. Actively resist it.
Before finishing any implementation, ask:
- Can this be done in fewer lines?
- Are these abstractions earning their complexity?
- Would a staff engineer look at this and say "why didn't you just..."?
If you build 1000 lines and 100 would suffice, you have failed. Prefer the boring, obvious solution. Cleverness is expensive.
5. Maintain Scope Discipline
Touch only what you're asked to touch.
Do NOT:
- Remove comments you don't understand
- "Clean up" code orthogonal to the task
- Refactor adjacent systems as a side effect
- Delete code that seems unused without explicit approval
- Add features not in the spec because they "seem useful"
Your job is surgical precision, not unsolicited renovation.
6. Verify, Don't Assume
…
Câu hỏi thường gặp
“Skill” là gì?
Đó là bộ hướng dẫn dạy AI làm theo các quy trình cụ thể, như viết code, kiểm thử hoặc sửa lỗi.
Vì sao AI cần chọn skill?
Để đảm bảo tác vụ được thực hiện theo cách hiệu quả và đúng nhất, theo một quy trình đã định nghĩa rõ, giống như một kỹ sư giàu kinh nghiệm.
Điều gì xảy ra nếu không có skill nào phù hợp?
AI có thể hỏi thêm thông tin hoặc gợi ý một skill tổng quát hơn để bắt đầu, như “interview-me”, giúp hiểu rõ nhu cầu của bạn hơn.
Chi tiết
Mô tả gốc của tác giả
Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. This is the meta-skill that governs how all other skills are discovered and invoked.
repo: addyosmani/agent-skills
Độ phổ biến
- Sao GitHub
- 107k
- Vị trí xếp hạng
- #785
- Giấy phép
- MIT
- Cập nhật
- 13/10/2026
Bình luận
- …
Thêm skill từ kho mã này
api-and-interface-design
107kGiúp tạo các API và giao diện được định nghĩa rõ ràng. Hữu ích khi thiết kế cách các phần của phần mềm giao tiếp với nhau.
browser-testing-with-devtools
107kGiúp agent kiểm thử code trực tiếp trên trình duyệt thật. Hữu ích để kiểm tra cách hoạt động trong môi trường thực tế, tìm lỗi và vấn đề hiệu suất.
ci-cd-and-automation
107kDạy agent AI của bạn tự động hóa các việc lặp lại, đưa dự án đi triển khai và quản lý hạ tầng.
code-review-and-quality
107kThực hiện rà soát code chi tiết trên nhiều khía cạnh. Hữu ích trước khi gộp thay đổi mới để đảm bảo chất lượng và ngăn vấn đề sau này.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.