Jerry PM (iOS Engineer) เล่าเรื่องเปลี่ยนจาก one-off prompt ไปเป็น specialist agent brief 25 ตัว — โครง fixed format 5 ส่วน (Trigger/Mission/Operating Rules/Output Contract/Quality Gates) ที่ทำให้ agent เป็น teammate ไม่ใช่ chatbot
เดิม prompt Claude Code shape เดียวกันตลอด — บอก bug, paste ไฟล์, ถามให้ fix. ใช้ได้กับงานเล็ก แต่พังทันทีเมื่องานจริง — UIKit screen ที่ต้อง move ไป Clean Architecture โดยไม่พัง module อื่น, performance pass บน image-heavy list ที่ “feels slow” แต่ไม่มี smoking gun
ปัญหาไม่ใช่ Claude — ปัญหาคือ ad-hoc prompt ไม่มี memory ว่างานควร plan/constrain/verify ยังไง. ทุก session ต้องอธิบายซ้ำ: inspect ก่อน, อย่าพัง pattern เดิม, บอกว่าเปลี่ยนอะไร, บอกวิธี verify
เลยเลิก one-off prompt แล้วเก็บ specialist agent brief แทน — 1 ตัวต่อ task type แต่ละตัวมี rule ในตัว. Pack นี้ 25 ตัว แจกฟรี
ทำไม Fixed Format ชนะ Prompt List
Prompt = ขอ output · Agent = นิยามว่างานถูกจัดการยังไง ก่อน/ระหว่าง/หลัง output
Format 5 ส่วน ที่ agent ทั้ง 25 ตัวตาม:
- Trigger — 1 บรรทัดทดสอบว่า agent นี้ใช่มั้ย — กันไม่ให้หยิบ Refactor Agent ตอนต้องการ Performance Agent
- Mission — งานเดียวที่ agent ปกป้อง ทุกอย่างที่มันทำต้อง trace กลับมาที่ประโยคนี้
- Operating Rules — judgment จริงอยู่ตรงนี้ — อ่าน codebase ยังไง, ขอบเขต architecture, จัด tradeoff แทนการเดา
- Output Contract — shape ของคำตอบสุดท้าย — ไม่ต้อง parse format ต่างกันทุกครั้ง
- Quality Gates — check ที่ต้องผ่านก่อนบอกว่าเสร็จ
พอมี structure นี้ agent หยุด behave เป็น chatbot กลายเป็น teammate ที่รู้ convention ของคุณอยู่แล้ว
25 Agent, 5 Category
Foundation
Agent ที่หยิบก่อนทุกครั้ง — ตัดสินว่างานควร approach ยังไง:
- Project Planning
- iOS Clean Architecture
- iOS Code Review
- Refactor
- Python Quality
Mobile Specialist
ที่ใช้ทุกวัน:
- SwiftUI Architecture
- UIKit
- UIKit MVVM
- iOS Performance & Memory
- Android Kotlin
- React Native (cross-platform)
Web, Backend & Data
- Next.js Frontend
- FastAPI Backend
- PostgreSQL Database
- Supabase Python
- FastMCP Server
- Agno Agent Expert
Quality, Security & Ops
- Test Automation
- Security Audit
- Kubernetes DevOps
- Android Game C++
Product & Docs
Layer ที่ใช้จริงใน production app:
- Product iOS App
- Product Clean Code
- Hybrid Mobile
- Technical Docs
Agent เหล่านี้ถูก build ให้ defer ไปที่ repo เมื่อ generic best practice กับ convention จริงของ app ขัดกัน
Agent ที่รันเกือบทุก Project
iOS Clean Architecture Agent
ใช้ตอน screen โตเกิน “just put it in the view controller”. Force separation ระหว่าง rendering, state mapping, use case, external service — ไม่ยอมให้ business logic แอบกลับเข้า UI layer (failure mode ที่ทำให้ codebase เจ็บใน 2 ปี)
UIKit MVVM Agent + UIKit Agent
Cover day-to-day — งานส่วนใหญ่อยู่ใน mixed UIKit/SwiftUI codebase ไม่ใช่ greenfield SwiftUI. MVVM agent เข้ม input/output contract ของ view model + view controller อยู่นิ่ง (bind, render, forward action) — result unit-testable จริง ไม่ใช่ testable แค่ในทฤษฎี
iOS Performance & Memory Agent
เชื่อถือมากสุดเพราะไม่ยอมเดา. ต้องมี hypothesis + measurement plan ก่อนแตะอะไร — Instruments, signpost, allocation check. Optimize root cause ไม่ใช่ paper over symptom. บน image-heavy screen = ต่างระหว่าง real fix กับ fix ที่ดูเหมือน work จนกว่าจะเจอ device ถัดไป
iOS Code Review Agent
รันก่อน merge เกือบทุกครั้ง — เช็ค retain cycle, main-thread UI update, async cancellation, architecture drift. จัด rank finding ตาม severity ไม่ dump wall of style nit — ทำให้จริง ๆ อ่าน output ไม่ใช่ skim ผ่าน
วิธีรันจริง
Starter pattern ที่ทุก agent ใน pack ใช้ร่วมกัน — สำคัญกว่า brief แต่ละตัว:
- ก่อน edit — inspect ไฟล์ที่เกี่ยว infer pattern เดิม อย่าเดาว่าเป็น fresh slate
- Flag risk + เขียน short plan + todo list สำหรับงาน multi-step
- Implement เฉพาะ scoped change — ไม่มี drive-by rewrite
- ปิดจบด้วย: ไฟล์ที่เปลี่ยน, command ที่ใช้ verify, ผลลัพธ์, risk ที่ยัง open
ส่วนสุดท้ายคือส่วนที่ prompt ส่วนใหญ่ skip — และคือส่วนที่ save เวลาจริง เพราะไม่ต้องถามซ้ำ “wait, did this get tested?”
Bare-bones ของ brief 1 ตัวเมื่อ paste ใน Claude Code:
---
trigger:
mission:
---
[paste the full agent brief]
[add: repo path, architecture rules, banned patterns,
test/lint commands, and your definition of done]
Block สุดท้าย (repo path, architecture rule, test command จริง) = สิ่งที่เปลี่ยน generic specialist เป็นอะไรที่เข้าใจ app คุณ เฉพาะ ไม่ใช่ textbook iOS advice ที่ ignore team convention
ฟรี
Pack ฟรี ไม่มี email wall ไม่มี upsell: zerix1.gumroad.com/l/mzkcnd
ถ้าจะลอง 3 ตัวเท่านั้น — เริ่มจาก iOS Clean Architecture, UIKit MVVM, iOS Code Review. Trio ที่ save debug time มากสุด
แหล่งที่มา: “25 Claude Code Agents I Actually Use” โดย Jerry PM ตีพิมพ์ 19 มิ.ย. 2026 บน Medium · อ่านต้นฉบับ