extract-and-name

AgentsRoom द्वाराAgentsRoom द्वारा सत्यापितअभी तक कोई इंस्टॉल नहींअभी तक कोई लाइक नहीं7 मई 2026 को अपडेट किया गयाश्रेणी: इंजीनियरिंग

यह क्या करता है

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".

टैग

refactorquality

और जानें

AgentsRoom डाउनलोड करें

अपने सभी AI एजेंट्स को, अपने सभी प्रोजेक्ट्स पर, एक ही विंडो से चलाएं।

मुफ़्तAgentsRoom डाउनलोड करें

कंपेनियन ऐप: चलते-फिरते अपने एजेंट्स मॉनिटर करें

Claude, Codex, Antigravity CLI या किसी अन्य AI प्रदाता का उपयोग करें।

एक्सटेंशन इंस्टॉल करें
Chrome Web Store

बग और अनुरोध सीधे अपने सार्वजनिक बैकलॉग में भेजें।

मल्टी-प्रोजेक्ट
मल्टी-प्रोवाइडर
मल्टी-एजेंट
लाइव स्टेटस
फाइल डिफ और कमिट
मोबाइल ऐप
लाइव प्रीव्यू
एजेंट टीमें
ब्राउज़र ऑटोमेशन
बैकलॉग-संचालित डेव
प्रॉम्प्ट लाइब्रेरी
स्किल्स लाइब्रेरी
सभी सुविधाएँ देखें