Agent Skills เป็นคอลเลกชันของ production-grade engineering skills สำหรับ AI coding agents โดย Addy Osmani (Google) ซึ่งมี 25.9K stars บน GitHub ถือเป็น framework ที่ได้รับความนิยมสูงสุดตัวหนึ่งสำหรับพัฒนา AI coding agents
ภาพรวมของ Agent Skills
Core Concept
Agent Skills ไม่ใช่แค่ collection of prompts แต่เป็น engineering methodology สมบูรณ์สำหรับ AI coding agents: มี 20 skills ครอบคลุม lifecycle ทั้งหมด ออกแบบตามหลักการของ Google engineering culture รองรับหลาย agent platforms
7 Slash Commands
Agent Skills มี commands หลัก 7 อัน:
/spec - Define requirements and specifications
/plan - Create implementation plan
/build - Execute the build process
/test - Run comprehensive tests
/review - Code review and quality check
/code-simplify - Simplify complex code
/ship - Deploy and release
โครงสร้างของแต่ละ Skill
Components หลัก
ทุก skill ใน Agent Skills มีโครงสร้างเดียวกัน:
- Overview - คำอธิบายโดยรวมของ skill
- When to Use - สถานการณ์ที่ควรใช้ skill นี้
- Process - ขั้นตอนการทำงานแบบ step-by-step
- Rationalizations - excuses ที่ AI มักใช้ + rebuttals
- Red Flags - สิ่งที่ควรหลีกเลี่ยง
- Verification - วิธีตรวจสอบความถูกต้อง
Specialist Agent Personas
Agent Skills มี 3 specialist agents: Code Reviewer - ตรวจสอบคุณภาพโค้ด Test Engineer - ทำการทดสอบอย่างครบถ้วน Security Auditor - ตรวจสอบความปลอดภัย
หลักการออกแบบที่สำคัญ
1. Process-Driven (ไม่ใช่ Reference)
Skills ออกแบบมาเพื่อเป็น process ไม่ใช่แค่ reference: เน้นขั้นตอนการทำงานที่ชัดเจน มี decision logic ที่ชัดเจน สามารถนำไปปรับใช้ได้ทันที
2. Anti-Rationalization
ระบบออกแบบมาเพื่อต่อสู้กับ rationalizations: เก็บรวบรวม excuses ที่ AI มักใช้ มี rebuttals สำหรับแต่ละ excuse บังคับให้ AI ทำงานตาม process
3. Verification is Non-Negotiable
ทุก skill ต้องมีวิธีตรวจสอบ: Test cases ที่ชัดเจน Success criteria ที่วัดได้ Quality gates ที่ต้องผ่าน
4. Progressive Disclosure
ออกแบบตามหลักการ progressive disclosure: แสดงข้อมูลที่จำเป็นก่อน เพิ่มรายละเอียดเมื่อต้องการ ไม่ overload ด้วยข้อมูลเกินไป
หลักการ Engineering จาก Google
Hyrum's Law
"With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody."
Beyoncé Rule
"If you liked it, then you should have put a test on it."
Test Pyramid
70% Unit tests 20% Integration tests 10% E2E tests
Trunk-Based Development
ทุกอย่าง merge ไปที่ trunk/main ไม่มี long-lived branches ใช้ feature flags แทน
การรองรับหลาย Platforms
Supported Agents
Agent Skills รองรับหลาย platform: Claude Code (Official Marketplace + Superpowers Marketplace) Cursor (Plugin Marketplace)
Gemini CLI
Windsurf
Copilot
OpenCode
Codex
Installation Methods
claude install @addyosmani/agent-skills
# Cursor Plugin
cursor:install-plugin agent-skills
# หรือ clone และใช้งานได้เลย
git clone https://github.com/addyosmani/agent-skills
ประโยชน์สำหรับ Ecosystem
สำหรับ Developers
เพิ่ม productivity ในการเขียนโค้ด ลด bugs ผ่าน process ที่มีระเบียบ เรียนรู้ best practices จาก Google
สำหรับ Teams
Standardize engineering practices ลบ knowledge silos เพิ่ม code quality อย่างสม่ำเสมอ
สำหรับ Organizations
ลดต้นทุนการพัฒนา เพิ่ม velocity ในการส่งมอบ สร้าง culture of engineering excellence
Version ล่าสุด
v5.0.7 — เพิ่มการรองรับ: Copilot CLI support OpenCode fixes ปรับปรุง performance ทั่วไป แหล่งอ้างอิง: https://github.com/addyosmani/agent-skills