first-principles-thinking
यह क्या करती है
यह स्किल जाँचने में मदद करती है कि कोई योजना या डिज़ाइन सच में सबसे अच्छा तरीका है या नहीं। यह बड़े फ़ैसलों या विरासत में मिले तरीकों पर सवाल उठाने वाले लोगों के लिए है।
कब इस्तेमाल करें
- ✓जब आप पूछते हैं कि कोई आर्किटेक्चर या डिज़ाइन सच में सही तरीका है या नहीं।
- ✓जब कोई 'हम हमेशा से ऐसा ही करते आए हैं' कहकर कोई चुनाव सही ठहराता है।
- ✓जब कोई बुनियादी फ़ैसला लंबे समय तक असर डालेगा और उस पर सावधानी से सोचना है।
Skill का लिंक
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/first-principles-thinking/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“पहले सिद्धांतों से सोचकर बताइए कि क्या हमारा microservices सेटअप सही तरीका है, सिर्फ़ इसलिए नहीं कि बाकी सब यही करते हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट समस्या को उन तथ्यों में तोड़ता है जिन्हें और आगे नहीं तोड़ा जा सकता, जाँचता है कि उत्तर किन धारणाओं पर टिका है, और फिर ऊपर की ओर तर्क करके निष्कर्ष पर पहुँचता है। वह उपमा या परंपरा से तर्क करने से बचता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
First Principles Thinking
A systematic approach to decomposing complex problems into irreducible truths and reasoning upward from there — avoiding the trap of reasoning by analogy, convention, or "best practice".
When to Use
- Evaluating whether an architecture, design, or strategy is truly optimal
- Questioning "best practices" that may not fit the current context
- Breaking through when conventional solutions feel inadequate
- Making foundational decisions with long-term impact
- Challenging inherited assumptions in legacy systems or legacy thinking
- Any moment where "we've always done it this way" is the primary justification
When NOT to Use
- Trivial decisions (use Occam's Razor instead — just pick the simplest)
- Time-critical emergencies (act first, analyze later)
- Well-validated problems with proven solutions (don't reinvent the wheel)
- When you lack domain expertise AND can't acquire it (first principles without knowledge = naive solutions)
Core Methodology: 6 Phases
Phase 0: Frame the Question — Establish Axioms
Before analyzing anything, define the irreducible truths that constrain this domain.
Axioms = facts that are independently verifiable, cannot be further decomposed, and violating them definitely causes failure.
How to identify axioms:
- Ask: "Can this be further decomposed?" — If yes, it's not an axiom yet.
- Ask: "Is this provably true, not just commonly believed?" — If uncertain, it's an assumption.
- Ask: "Would violating this definitely cause failure?" — If maybe, it's a preference.
Gate: Must produce ≥3 axioms before proceeding. Each axiom stated in one sentence with a "why irreducible" justification.
### Axioms
1. [Axiom] — [Why this cannot be further decomposed]
2. [Axiom] — [Why this is provably true]
3. [Axiom] — [Why violating this causes failure]
Deep methodology:
references/axiom-based-reasoning.md
Phase 1: Identify the Problem's Essence
Strip away implementation details to find the core problem.
- State the problem clearly — What exactly needs to be solved?
- Separate symptoms from causes — Is this the real problem or a manifestation?
- Define success criteria — What would a perfect solution achieve? (Measurable.)
Key questions:
- What is the fundamental job to be done here?
- If this system/process didn't exist, what would we actually need?
- What outcome matters, independent of how we get there?
Gate: Must produce a one-sentence problem statement + measurable success criteria.
Phase 2: Surface and Challenge All Assumptions
This is the highest-leverage phase. Most "best practices" are assumptions disguised as facts.
- List explicit assumptions — What are we taking as given?
- Surface implicit assumptions — What conventions are we following without questioning?
- Test each against axioms — Is this actually a constraint (traces to axiom), or just how it's always been done?
Minimum: Produce an assumption table with ≥5 rows.
| Assumption | Why Question It | Axiom(s) Used | Verdict |
|---|---|---|---|
| "We need X" | [Challenge] | A1, A2 | Keep / Discard / Modify |
Red flags (likely false assumptions):
- "We've always done it this way"
- "Industry standard says..."
- "Everyone uses X for this"
- "That's too simple to work"
Depth standard: Each row must include why you're questioning it and which axiom informs the verdict. "Maybe not needed" without reasoning = not deep enough.
Gate: ≥5 assumptions challenged with verdicts. Each verdict must reference at least one axiom.
Deep methodology:
references/axiom-based-reasoning.md§ "Identify and Challenge Assumptions"
Phase 3: Establish Ground Truths
From the wreckage of challenged assumptions, identify what IS irreducibly true for this specific problem.
Ground Truth test:
- Can this be further decomposed? → If yes, decompose it.
- Is this provably true, not just commonly believed? → If unsure, it's still an assumption.
- Would violating this definitely cause failure? → If not, it's a preference.
Gate: Must produce ≥3 ground truths. Each must be specific and falsifiable — not generic truisms.
❌ "Users need fast response times" (too vague)
✅ "P99 latency must be < 200ms per SLA contract §3.2" (specific, verifiable)
❌ "The team is small" (relative)
✅ "Team is 3 engineers, no new hires possible before Q3" (concrete constraint)
Phase
अक्सर पूछे जाने वाले सवाल
इसे कब इस्तेमाल नहीं करना चाहिए?
मामूली फ़ैसलों, आपातकाल या पहले से सिद्ध समस्याओं के लिए, जहाँ एक सरल हल काफ़ी हो।
क्या इसके लिए डोमेन ज्ञान चाहिए?
हाँ। स्किल बताती है कि डोमेन ज्ञान के बिना पहले सिद्धांतों से तर्क करने पर अक्सर भोले उत्तर निकलते हैं।
क्या यह सबसे सरल विकल्प चुनने जैसा ही है?
नहीं। सरल फ़ैसलों के लिए स्किल Occam's Razor का सुझाव देती है।
जानकारी
लेखक का मूल विवरण
Systematic first principles thinking for any problem domain. Use when the user says "analyze from first principles", "第一性原理", "从根本分析", "从零开始思考", "think from scratch", "question this design", "is this the right approach", "challenge assumptions", "挑战假设", "为什么要这样做", "有没有更好的方案", "why are we doing it this way", or needs to evaluate decisions, designs, or strategies without relying on analogies, conventions, or "best practices". Also triggers on "这个设计合理吗", "从本质上看", "回到基本面", "what's really true here", "what are we assuming", or any request to decompose a problem to its fundamentals.
repo: mindfold-ai/Trellis
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #11022
- लाइसेंस
- AGPL-3.0
- अपडेट की गई
- 29/9/2026
कमेंट
- …
इस repository की और skills
python-design
15kसाफ़ मॉड्यूल, सरल इंटरफ़ेस और कम छिपी जटिलताओं वाली Python command-line स्क्रिप्ट लिखने और समीक्षा करने में आपके एजेंट की मदद करती है।
trellis-before-dev
15kकोड लिखना शुरू करने से पहले प्रोजेक्ट के कोडिंग दिशानिर्देश और कार्य-नोट्स पढ़ने में आपके एजेंट की मदद करती है, ताकि वह टीम की परंपराओं का पालन करे।
trellis-brainstorm
15kएक समय में एक उपयोगी सवाल पूछकर, कोड जाँचकर और एक संकीर्ण दायरे पर सहमति बनाकर नए फ़ीचर या अस्पष्ट काम को स्पष्ट करने में आपके एजेंट की मदद करती है।
trellis-break-loop
15kठीक किए गए बग का विश्लेषण करने, उसका मूल कारण प्रकार और पिछले सुधार क्यों विफल हुए यह खोजने, और दोहराव रोकने के लिए सबक सहेजने में आपके एजेंट की मदद करती है।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।