원클릭으로
hook-profiles-performance-tuning
ปรับระดับ hook enforcement (minimal/standard/strict) ตามประเภทงาน — งานเร็วใช้ minimal, งาน deploy ใช้ strict
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
ปรับระดับ hook enforcement (minimal/standard/strict) ตามประเภทงาน — งานเร็วใช้ minimal, งาน deploy ใช้ strict
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Pre/Post execution validation + Phase Gate enforcement — ป้องกันการข้าม step, auto-validate output, ให้คะแนน quality score
สแกน code ใน Scaffold/ ด้วย 53 security rules (6 หมวด) — secrets, permissions, injection, AI-specific, config, dependencies — ก่อน deploy หรือหลัง Dev report
Coordinate PM/Dev/QA agents แบบ Pipeline Pattern — auto-route งานตาม role, ส่งต่ออัตโนมัติเมื่อ status เปลี่ยน, track progress ทุก handoff
Create color-coded teaching scripts / presenter talking-point documents (.md) that serve as a "live reading book" for speakers. The output is a markdown file where each color tells the presenter what to do: blue = speak this line, red = pronunciation guide, dark blue = slide header, black = stage direction & audience engagement, yellow box = terminology. Use this skill whenever the user mentions: teaching script, talking points, presenter script, key talking point, speaker notes, lecture script, training script, presentation script, สคริปต์การสอน, สคริปต์วิทยากร, คำพูดที่ต้องอ่าน, หนังสือสำหรับพูด, or any request to create a document that guides a speaker through a slide deck with exact words to say, pronunciation help, and stage directions. Also trigger when the user uploads a PowerPoint (.pptx) and asks to write a script, narration, or talking points for it.
Use for QA evidence, release readiness, rollback review, and close-out decisions.
Use for build completion evidence, code review readiness, and ready-for-QA checks.
| name | Hook Profiles — Performance Tuning |
| description | ปรับระดับ hook enforcement (minimal/standard/strict) ตามประเภทงาน — งานเร็วใช้ minimal, งาน deploy ใช้ strict |
ไม่ใช่ทุกงานต้อง validate เท่ากัน — ปรับ hook intensity ตามประเภทงาน
minimal — Essential Onlyใช้เมื่อ: งาน quick fix, exploration, research, draft ร่างแรก
| Hook | Status | เหตุผล |
|---|---|---|
| Keyword Detector | ✅ ON | จำเป็น — route ไปหา skill |
| Phase Gate | ❌ OFF | ไม่จำเป็นสำหรับงานเล็ก |
| Quality Pre-Gate | ❌ OFF | ไม่จำเป็นสำหรับ exploration |
| Quality Post-Gate | ❌ OFF | ไม่ validate output |
| Cost Tracking | ✅ ON | เบามาก — เก็บ log เฉยๆ |
| Session End | ✅ ON | จำเป็น — save state |
ผลลัพธ์: เร็วที่สุด, 3/6 hooks active
standard — Balanced (Default)ใช้เมื่อ: งานทั่วไป — สร้าง diagram, implement feature, review
| Hook | Status | เหตุผล |
|---|---|---|
| Keyword Detector | ✅ ON | Route to skill |
| Phase Gate | ✅ ON | ป้องกันข้าม step |
| Quality Pre-Gate | ✅ ON | ตรวจ source files |
| Quality Post-Gate | ✅ ON | Validate output |
| Cost Tracking | ✅ ON | Log costs |
| Session End | ✅ ON | Save state |
ผลลัพธ์: สมดุล, 6/6 hooks active
strict — Maximum Validationใช้เมื่อ: deploy, release, security audit, client delivery, phase gate review
| Hook | Status | เหตุผล |
|---|---|---|
| Keyword Detector | ✅ ON | Route to skill |
| Phase Gate | ✅ ON + enhanced | ตรวจ prerequisites + evidence |
| Quality Pre-Gate | ✅ ON + enhanced | ตรวจ source files + dependencies |
| Quality Post-Gate | ✅ ON + enhanced | Validate + score + evidence collection |
| Cost Tracking | ✅ ON | Log costs |
| Session End | ✅ ON + enhanced | Save state + generate session summary |
| Evidence Check | ✅ ON (เพิ่มใหม่) | ตรวจ evidence ก่อนเปลี่ยน card status |
| Sensitive File Scan | ✅ ON (เพิ่มใหม่) | Scan ทุก file operation สำหรับ secrets |
ผลลัพธ์: เข้มงวดที่สุด, 8/8 hooks active + enhanced mode
บอก Claude โดยตรง:
"ใช้ hook profile minimal"
"Set hook profile to strict"
"ปรับเป็น standard"
ถ้าไม่ได้กำหนด — ระบบจะ auto-detect:
| Context | Auto Profile |
|---|---|
| คำว่า "quick", "draft", "ลองดู", "explore" | minimal |
| งานทั่วไป (default) | standard |
| คำว่า "deploy", "release", "security", "client", "production", "go-live" | strict |
| Phase gate review | strict (auto) |
| Handoff to client | strict (auto) |
"ปิด Quality Post-Gate hook"
"Disable phase gate สำหรับ session นี้"
Profile state เก็บใน session state:
{
"hookProfile": "standard",
"disabledHooks": [],
"profileSetBy": "auto|user",
"profileReason": "default / user requested / auto-detected from 'deploy'"
}
บาง skill บังคับ profile เมื่อเรียกใช้:
| Skill | Minimum Profile | เหตุผล |
|---|---|---|
pmo-deploy-checklist | strict | Deploy ต้องเช็คทุกอย่าง |
pmo-security-scan | strict | Security ต้องเข้มงวด |
pmo-phase-gate-eval | strict | Phase gate ต้องครบ |
pmo-verification-evidence | standard | Evidence ต้อง validate |
pmo-blueprint | standard | Plan ต้องผ่าน review |
pmo-deep-interview | minimal OK | Research/exploration |
pmo-gap-analysis | standard | Analysis ต้อง validate |
เมื่อ hook อยู่ใน strict mode, behavior เปลี่ยน: