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

codebase-exploration

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

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

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

  • ✓जब आप पूछें कि प्रोजेक्ट का कोई हिस्सा कैसे काम करता है, या कोई प्रवाह शुरू से अंत तक कैसे चलता है।
  • ✓जब आपको सोर्स फ़ाइलें पढ़ने से पहले पता करना हो कि कोई फ़ीचर कहाँ लागू है।
  • ✓जब आप किसी अनजान रिपॉज़िटरी की संरचना और मुख्य मॉड्यूल का सार चाहें।

Skill का लिंक

https://github.com/repowise-dev/repowise/blob/main/plugins/claude-code/skills/codebase-exploration/SKILL.md

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

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

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

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

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

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

“इस प्रोजेक्ट में चेकआउट प्रवाह कैसे काम करता है? कोई फ़ाइल खोलने से पहले मुझे सार दीजिए।”

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

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

स्किल हर सवाल के लिए सही Repowise लुकअप चुनती है, जैसे प्रोजेक्ट का सार, उद्धरणों वाला संश्लेषित जवाब, या कॉलर्स की सूची। सटीक नामों या फ़ाइल नामों के लिए यह सामान्य खोज इस्तेमाल करती है।

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

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

Codebase Exploration with Repowise

This project has a Repowise intelligence layer. For an exact identifier, string or file name, Grep, Glob and Read are faster. For how code works, who calls it, what a change breaks and why it is shaped this way, reach for the Repowise MCP tools: they return documentation, ownership, history, decisions, and graph structure that plain file reads don't, usually in one round-trip instead of many.

Which tool for which question

You want… Call
An exact identifier, string or file name Grep, Glob and Read.
First orientation in an unfamiliar repo get_overview(): architecture summary, key modules, entry points, git health, knowledge map. Skip it once you have the map.
How X works or flows end to end get_answer(question="how does …"), one question per call: synthesised answer with citations + one confidence trust signal. Collapses the search → read → reason loop.
Callers before a rename or signature change get_context(targets=["<symbol>"], include=["references"]): definition, imports and calls; a complete list is the whole edit set.
What breaks if X changes get_risk(targets=["<file>"]).
Why X is shaped this way, before changing a pattern get_why(query="why …", targets=["<file>"]).
Before finishing a multi-file change get_change_risk(revspec="<base>..HEAD"), then get_health(targets=["<files you touched>"]).
A fuzzy concept, or symbol ids and line bounds to feed get_symbol search_codebase(query="…"): hybrid search. mode="auto" routes an identifier to indexed symbol hits (symbol_id/line bounds → pipe into get_symbol), a path to file pages (→ get_context), and prose to semantic wiki search (each hit reports search_method: embedding vs bm25). Force a branch with mode=symbol|path|concept|hybrid; narrow symbols with symbol_kind.
A triage card for specific files/symbols get_context(targets=[…]): title, summary, signatures, hotspot bit, top callers, decision titles, symbol_ids (a row without one is path::name). Batch many targets in one call.
The actual source of one symbol get_symbol("path/to/file.py::Name"): exact bytes with line bounds. Cheaper than Read + offset math. Use a symbol_id from get_context.

Recommended flow

  1. New area you don't know → get_overview() once.
  2. A specific question → get_answer(question=…) first.
    • High confidence → answer it, cite the paths.
    • medium/low confidence → follow best_guesses[0].file or fallback_targets[0] into get_context, then get_symbol for bytes.
  3. A named symbol or a path you only need to find → Grep, Glob or Read. When you need its callers, risk or history, pass it to get_context, get_risk or get_why instead.
  4. More files around a concept → search_codebase, then get_context on the hits (batched), then get_symbol only for the bodies you actually need.

Read source directly for details the indexed context doesn't cover.

Trust signals — verify when

  • _meta.stale_warning is present (the index has diverged from HEAD), or
  • confidence is medium/low, or
  • a result's search_method is bm25.

Otherwise the response is current — act on it.

Error handling

  • "No repositories found. Run 'repowise init' first." → suggest /repowise:init. Add --no-editor-setup if this repo is a scratch clone, a fixture, or a worktree, so init writes nothing outside .repowise/ (no editor config, agent hooks or git hook).
  • MCP tools unavailable → prefer the matching CLI slash commands when the plugin is installed (/repowise:ask, /repowise:context, /repowise:symbol, /repowise:search) rather than grepping blind.
  • get_answer/search_codebase come back empty → the repo may have a template-rendered wiki. Fall back to get_context with explicit paths, and note that model-written pages (repowise generate, or /repowise:init with an LLM provider) unlock richer docs + semantic search.
  • Tools fail to connect at all → the repowise binary may not be installed; suggest /repowise:init.
अक्सर पूछे जाने वाले सवाल

सामान्य खोज से यह स्किल कब बेहतर है?

स्किल के अनुसार सटीक पहचानकर्ता, स्ट्रिंग या फ़ाइल नाम के लिए सामान्य खोज और फ़ाइल पढ़ना तेज़ है।

यह किस तरह का जवाब देती है?

उद्धरणों और विश्वास संकेत के साथ एक संश्लेषित जवाब।

क्या प्रोजेक्ट का इंडेक्स होना ज़रूरी है?

हाँ। यह ऐसे प्रोजेक्ट में काम करती है जिसमें .repowise फ़ोल्डर हो।

जानकारी

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

Use when exploring, understanding, or answering questions about a codebase that has Repowise indexed (a .repowise/ directory in the project root). Activates for "how does X work", "explain the architecture", "where is Y implemented", "what does this module do", or any task that needs an understanding of structure before diving into source files.

repo: repowise-dev/repowise

लोकप्रियता

GitHub स्टार
8.1k
रैंकिंग में स्थान
#12567
लाइसेंस
AGPL-3.0
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

architectural-decisions

8.1k

यह आपके एजेंट को किसी आर्किटेक्चर को बदलने से पहले दर्ज किए गए फ़ैसलों और इतिहास से यह जानने में मदद करती है कि कोड ऐसे क्यों बना है।

कोडिंगसामान्य कोडिंग

change-review

8.1k

यह आपके एजेंट को मर्ज से पहले pull request या बदलावों के समूह की समीक्षा करने में मदद करती है, जोखिम, प्रभावित फ़ाइलें और बाकी क्या बदलना चाहिए, यह दिखाते हुए।

कोडिंगसामान्य कोडिंग

code-health

8.1k

यह आपके एजेंट को फ़ाइल-दर-फ़ाइल कोड स्वास्थ्य का स्कोर देने, सबसे जोखिम भरी फ़ाइलें ढूँढने और अगले रीफ़ैक्टर के लिए चुनने में मदद करती है, Repowise विश्लेषण से।

कोडिंगसामान्य कोडिंग

dead-code-cleanup

8.1k

यह आपके एजेंट को प्रोजेक्ट में बेकार कोड, न पहुँचने वाली फ़ाइलें और न इस्तेमाल होने वाले एक्सपोर्ट ढूँढने में मदद करती है, ताकि आप उन्हें सुरक्षित रूप से साफ़ कर सकें।

कोडिंगसामान्य कोडिंग

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