codebase-exploration
यह क्या करती है
यह स्किल आपके AI को Repowise से इंडेक्स किए गए प्रोजेक्ट की खोज करने में मदद करती है, ताकि उसकी आर्किटेक्चर और मॉड्यूल के बारे में सवालों के जवाब मिल सकें। यह उन डेवलपर्स के लिए है जो किसी नए कोडबेस से परिचित हो रहे हैं।
कब इस्तेमाल करें
- ✓जब कोई काम पूछे कि इंडेक्स किए गए प्रोजेक्ट में कोई मॉड्यूल या प्रवाह कैसे काम करता है।
- ✓जब आपको सोर्स फ़ाइलें पढ़ने से पहले पता करना हो कि कोई चीज़ कहाँ लागू है।
- ✓जब आप कोड पढ़ना शुरू करने से पहले जानना चाहें कि कौन सी फ़ाइलें मायने रखती हैं।
Skill का लिंक
https://github.com/repowise-dev/repowise/blob/main/plugins/codex/skills/codebase-exploration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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
- New area you don't know →
get_overview()once. - A specific question →
get_answer(question=…)first.- High confidence → answer it, cite the paths.
medium/lowconfidence → followbest_guesses[0].fileorfallback_targets[0]intoget_context, thenget_symbolfor bytes.
- 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_riskorget_whyinstead. - More files around a concept →
search_codebase, thenget_contexton the hits (batched), thenget_symbolonly for the bodies you actually need.
Read source directly for details the indexed context doesn't cover.
Trust signals — verify when
_meta.stale_warningis present (the index has diverged from HEAD), orconfidenceismedium/low, or- a result's
search_methodisbm25.
Otherwise the response is current — act on it.
Error handling
- "No repositories found. Run 'repowise init' first." → suggest
/prompts:repowise-init. Add--no-editor-setupif this repo is a scratch clone, a fixture, or a worktree, soinitwrites 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 (
/prompts:repowise-ask,/prompts:repowise-context,/prompts:repowise-symbol,/prompts:repowise-search) rather than grepping blind. get_answer/search_codebasecome back empty → the repo may have a template-rendered wiki. Fall back toget_contextwith explicit paths, and note that model-written pages (repowise generate, or/prompts:repowise-initwith an LLM provider) unlock richer docs + semantic search.- Tools fail to connect at all → the
repowisebinary may not be installed; suggest/prompts:repowise-init.
अक्सर पूछे जाने वाले सवाल
नए प्रोजेक्ट में यह सबसे पहले क्या करती है?
यह आर्किटेक्चर, मुख्य मॉड्यूल और एंट्री पॉइंट कवर करने वाला प्रोजेक्ट सार माँग सकती है।
क्या यह सामान्य खोज से बेहतर है?
स्किल के अनुसार सटीक नामों और स्ट्रिंग के लिए सामान्य खोज तेज़ है।
क्या इसे इंडेक्स किए गए प्रोजेक्ट की ज़रूरत है?
हाँ। यह ऐसे प्रोजेक्ट में काम करती है जिसमें .repowise फ़ोल्डर हो।
जानकारी
लेखक का मूल विवरण
Use when exploring, understanding, or answering questions about a Repowise-indexed codebase, including architecture, where code is implemented, how a module works, or which files are relevant before reading source.
repo: repowise-dev/repowise
लोकप्रियता
- GitHub स्टार
- 8.1k
- रैंकिंग में स्थान
- #12572
- लाइसेंस
- AGPL-3.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
architectural-decisions
8.1kयह आपके एजेंट को किसी आर्किटेक्चर को बदलने से पहले दर्ज किए गए फ़ैसलों और इतिहास से यह जानने में मदद करती है कि कोड ऐसे क्यों बना है।
change-review
8.1kयह आपके एजेंट को मर्ज से पहले pull request या बदलावों के समूह की समीक्षा करने में मदद करती है, जोखिम, प्रभावित फ़ाइलें और बाकी क्या बदलना चाहिए, यह दिखाते हुए।
code-health
8.1kयह आपके एजेंट को फ़ाइल-दर-फ़ाइल कोड स्वास्थ्य का स्कोर देने, सबसे जोखिम भरी फ़ाइलें ढूँढने और अगले रीफ़ैक्टर के लिए चुनने में मदद करती है, Repowise विश्लेषण से।
codebase-exploration
8.1kयह आपके एजेंट को यह बताकर कि कोड कैसे काम करता है, कौन क्या कॉल करता है और चीज़ें कहाँ बनी हैं, किसी अनजान प्रोजेक्ट को जल्दी समझने में मदद करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।