extract-and-name
ทำอะไรได้บ้าง
Use when a function exceeds 40 lines or a file exceeds 300. Extracts cohesive sub-units with names that describe intent.
การติดตั้งจะเปิดรายการนี้ในแอปเดสก์ท็อป AgentsRoom ของคุณ หากยังไม่ได้ติดตั้งแอป ระบบจะพาคุณไปยังหน้าดาวน์โหลด
SKILL.md
--- name: extract-and-name description: Use when a function exceeds 40 lines or a file exceeds 300. Extracts cohesive sub-units with names that describe intent. --- # Extract and name When you spot an oversized function or file: 1. Identify cohesive blocks (paragraphs of code that do one thing). 2. Extract each into its own function. Name it after WHAT it does, not HOW. 3. Keep the public surface stable — extraction is internal only. 4. After extraction, the original function should read like a high-level outline. 5. Don't extract for the sake of it: a 60-line linear setup is fine. The signal is "I had to scroll to understand".
แท็ก
เจาะลึกเพิ่มเติม
Claude Ads: ทักษะ Claude Code ที่ตรวจสอบบัญชีโฆษณาของคุณ
Claude Ads เป็นทักษะโอเพนซอร์สสำหรับ Claude Code ที่ตรวจสอบบัญชีโฆษณาบนสิบสองแพลตฟอร์ม ตั้งแต่ Google และ Meta ไปจนถึง Reddit และ X พร้อมหลักฐานสำหรับทุกข้อค้นพบ v2.1.0 ทำอะไรได้บ้าง ติดตั้งอย่างปลอดภัยอย่างไร มีข้อจำกัดอะไร และรันใน AgentsRoom ได้อย่างไร
AGENTS.md: ไฟล์บริบทเดียวสำหรับทุกเอเจนต์การเขียนโค้ด (Codex, Antigravity, Claude)
AGENTS.md คือไฟล์คำแนะนำที่พกพาได้ซึ่งเอเจนต์การเขียนโค้ด AI ของคุณอ่านก่อนที่จะสัมผัสโค้ดของคุณ ว่าควรใส่อะไรในนั้น มันแตกต่างจาก CLAUDE.md อย่างไร และจะรักษาบริบทเดียวกันระหว่าง Codex, Antigravity และ Claude ได้อย่างไร
ดาวน์โหลด AgentsRoom
รันเอเจนต์ AI ทั้งหมดของคุณในทุกโปรเจกต์ จากหน้าต่างเดียว
แอปคู่หู: ตรวจสอบเอเจนต์ของคุณได้ทุกที่
นำของคุณเอง: Claude, Codex, Antigravity CLI, หรือผู้ให้บริการ AI อื่น ๆ
ส่งข้อบกพร่องและคำขอไปยังแบ็คล็อกสาธารณะของคุณโดยตรง