मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग15k · #10978

principle-foundational-thinking

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

यह स्किल असिस्टेंट को लॉजिक लिखने से पहले डेटा का आकार और काम का क्रम डिज़ाइन करने का नियम देती है। यह उन इंजीनियरों के लिए है जिन्हें मज़बूत नींव और कम दोबारा लिखना चाहिए।

कब इस्तेमाल करें

  • ✓जब आप मूल प्रकार या डेटा संरचना चुनने वाले हैं।
  • ✓जब आप तय कर रहे हैं कि सेटअप का काम फ़ीचर से पहले आना चाहिए या नहीं।
  • ✓जब सिस्टम के कई हिस्से एक ही साझा डेटा को बदल सकते हों।

Skill का लिंक

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-foundational-thinking/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-foundational-thinking/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“सिंक लॉजिक लिखने से पहले मूल डेटा प्रकार सही करने में मदद कीजिए, ताकि बाकी सब सरल हो जाए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

असिस्टेंट पहले मूल डेटा आकार तय करता है, देखता है कि उसे कैसे एक्सेस किया जाता है, और फ़ीचर से पहले टेस्ट और टाइप जैसे साझा सेटअप का क्रम तय करता है। नई नींव जोड़ने से पहले वह मृत कोड हटा देता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Foundational Thinking

Structural decisions protect option value. Code-level decisions protect simplicity.

Data structures first. Get the data shape right before writing logic. Define core types early, trace every access pattern, and choose structures that match the dominant paths.

At code level, DRY the structure, not every line. Types and data models should converge. Three similar statements still beat a premature abstraction. Prefer explicit over clever. Test behavior and edge cases, not line counts.

Concurrency corollary. Before sharing state between actors, ask "what happens if another actor modifies this concurrently?" If not "nothing", isolate.

Scaffold first. If something helps every later phase, do it first. Ask "does every subsequent phase benefit from this existing?" CI, linting, test infrastructure, and shared types are scaffold. Sequence for option value: setup before features, tests before fixes. Keep commits small and single-purpose.

Each increment should land a coherent abstraction or deepen one that exists. Do not spread a new capability across callers as special-case coordination.

Subtraction comes before scaffolding. Remove dead code first, then lay foundations.

अक्सर पूछे जाने वाले सवाल

डेटा संरचना पहले सही क्यों करें?

जब डेटा का आकार मुख्य रास्तों में फ़िट बैठ जाए, तो आगे का कोड अक्सर अपने-आप स्पष्ट हो जाता है।

क्या इसका मतलब हर चीज़ को अमूर्त बनाना है?

नहीं। स्किल स्पष्ट कोड को तरजीह देती है और समय से पहले एब्स्ट्रैक्शन से चेतावनी देती है।

साझा स्टेट का क्या?

जब कई एक्टर एक साथ स्टेट साझा करें, तो स्किल पूछती है कि क्या उन्हें सच में ज़रूरत है, और अगर नहीं, तो उन्हें अलग करती है।

जानकारी

लेखक का मूल विवरण

Apply before writing logic: choosing core types and data structures, sequencing scaffold-vs-feature work, asking what concurrent actors share. Get the data structures right so downstream code becomes obvious.

repo: cursor/plugins

लोकप्रियता

GitHub स्टार
15k
रैंकिंग में स्थान
#10978
लाइसेंस
—
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

advisor

15k

अगर आप इसे चालू करते हैं, तो आपका एजेंट बड़े फ़ैसले से पहले या किसी त्रुटि में अटकने पर एक ज़्यादा शक्तिशाली दूसरे मॉडल से सलाह ले सकता है।

AI और एजेंटएजेंट

check-agent-compatibility

15k

जाँचती है कि AI कोडिंग एजेंट किसी रिपॉज़िटरी को शुरू, सत्यापित और दस्तावेज़ित कर सकते हैं या नहीं, और एक अनुकूलता स्कोर के साथ मुख्य समस्याएँ लौटाती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

cli-for-agents

15k

आपके एजेंट को कमांड-लाइन टूल ऐसे डिज़ाइन या जाँचना सिखाती है कि AI एजेंट उन्हें बिना प्रॉम्प्ट चला सकें, साफ़ help टेक्स्ट और उदाहरणों के साथ।

कोडिंगAPI और सर्वर (backend)

continual-learning

15k

पिछली चैट की समीक्षा का काम एक समर्पित मेमोरी अपडेटर को सौंपकर आपकी AGENTS.md नोट्स को अद्यतन रखती है।

AI और एजेंटएजेंट

मिलती-जुलती skills