wiki
यह क्या करती है
यह स्किल एजेंट को सिखाती है कि कई रिपॉज़िटरी और सेवाओं से बने बड़े सॉफ़्टवेयर प्रोजेक्ट का नक्शा कैसे बनाएँ। यह एक ज्ञान-आधार बनाती है जो समझाता है कि हिस्से आपस में कैसे जुड़ते हैं, ताकि लोग और AI पूरे सिस्टम को समझ सकें।
कब इस्तेमाल करें
- ✓जब किसी टीम में दस या ज़्यादा रिपॉज़िटरी हों और अब कोई पूरे सिस्टम को नहीं समझता।
- ✓जब उपयोगकर्ता को कई सेवाओं में व्यावसायिक नियमों को कोड तक वापस खोजना हो।
- ✓जब उपयोगकर्ता मौजूदा टीम ज्ञान-आधार को अपडेट कराना चाहता है और उसकी फ़ाइल नाम बनाए रखना चाहता है।
Skill का लिंक
https://github.com/Tencent/teamai-cli/blob/main/skill-data/wiki/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी टीम की कई रिपॉज़िटरी में पंद्रह माइक्रोसर्विसेज़ हैं। क्या आप बता सकते हैं कि वे कैसे जुड़ती हैं, और हर दावे को कोड से जोड़ सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट स्क्रिप्ट की मदद से कोड पढ़ता है और घटकों के आपसी संबंधों का ग्राफ़ बनाता है। वह ऐसे दस्तावेज़ लिखता है जिनमें हर दावा कोड की पंक्ति का हवाला देता है, और हर संबंध पर विश्वास-लेबल होता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
wiki: AI cognition engineering for large codebases
Prerequisites: an accessible source directory (multiple repositories supported), Python 3, and an installed teamai CLI. The methodology, sub-agent prompts, templates and scripts ship with the CLI. Run
teamai skill path wikito get their absolute path;{SKILL_DIR}in this document refers to that path; a reference file you open on its own writes that directory asSKILL_DIRin braces. Write the knowledge-base documents in Simplified Chinese, as earlier releases did. When updating an existing knowledge base, keep its file names and headings;validate_kb.pyaccepts both the current English and the earlier Chinese headings. The Phase 0 structural baseline usesteamai import --dir. TeamAI does not ship a separate team-wiki CLI. No extra plugin is required.
The problem: large projects (10+ repositories, dozens of microservices, years of iteration) defeat global understanding by AI. The context window cannot hold all the code, component relations are scattered everywhere, and business rules hide deep in call chains. Letting AI read the code directly is both slow (huge token counts) and inaccurate (no global view).
The solution: use architecture reverse-engineering to systematically compress a huge codebase into a structured, verifiable, AI-Native deep knowledge base. Every conclusion traces back to a code line, every relation carries a confidence label, and every update is incrementally verified. AI reads the knowledge base instead of the source, and gains global architecture awareness for about 1/50 of the tokens.
For recalled source freshness, current means only that the cited file matches the scan baseline; check current source when available before relying on claims marked stale, missing or unknown.
Usage
The user states the mode in natural language, or simply says "build a codebase knowledge base":
default Standard: single-session core path
--deep Full K1~K4 + G1~G9
--update Incremental update of an existing knowledge/
continue Resume from the _review/progress.json checkpoint
Agent architecture
| Agent | File | When started |
|---|---|---|
| Knowledge base document generator Agent | {SKILL_DIR}/references/agents/kb-doc-generator.md |
Phase K2, every component batch |
| Graph RAG Agent | {SKILL_DIR}/references/agents/graph-rag-agent.md |
Phase K3 |
Main agent responsibilities: workflow orchestration, confirmation point management, progress.json maintenance, quality report aggregation.
Entry decision
This decision must run first on every activation.
IF the user input contains "--update" or "incremental update":
→ Update mode
ELSE IF the user input contains "continue" or "resume":
→ Continue mode
ELSE:
→ Check whether _review/progress.json exists under the user-specified directory
IF it exists → report the state, wait for "resume last run" or "start over"
ELSE → Phase 0
Continue mode
Step 1: Locate progress.json
Step 2: Read and parse it, show a resume summary
Step 3: Jump according to current_phase:
"phase0_done" → Phase K1
"phasek1_waiting_confirm" → Show k1-architecture-map.md, wait for confirmation ①
"phasek1_confirmed" → Phase K2
"phasek2_batch_N" → Continue Phase K2 from batch N (skip completed ones)
"phasek2_waiting_confirm" → Wait for confirmation ②
"phasek2_confirmed" → Phase K3
"phasek3_done" → Phase K4
"phasek4_done"/"completed" → Report completion, ask whether to --update or rerun a component
Update mode (incremental update)
Trigger: the user asks for an "incremental update", or specifies the --update mode in this skill.
Precondition: an existing progress.json in the completed state.
Step 1: Read progress.json, get file_hash_cache
Step 2: Scan project_root, compute the current SHA256 of every file
Step 3: Compare hashes, classify: added / modified / deleted
Step 4: Show the change summary, wait for user confirmation:
┌────────────────────────────────────┐
│ Change summary │
│ Added: N files │
│ Modified: N files (incl. Aurora.py)│
│ Deleted: N files │
│ Affected components: [list] │
│ Affected graph documents: G1/G2/G6/G7 │
└────────────────────────────────────┘
Step 5: Rerun only the affected scope:
- Phase K2: regenerate t
अक्सर पूछे जाने वाले सवाल
यह किस आकार के प्रोजेक्ट के लिए है?
स्किल कहती है कि यह दस या ज़्यादा रिपॉज़िटरी और सालों के बदलाव वाले प्रोजेक्ट के लिए उपयुक्त है।
क्या इसके लिए अतिरिक्त सॉफ़्टवेयर चाहिए?
स्किल कहती है कि इसे Python 3 और teamai CLI चाहिए, कोई अतिरिक्त प्लगइन नहीं।
दस्तावेज़ किस भाषा में लिखे जाते हैं?
स्किल कहती है कि यह सरलीकृत चीनी में लिखती है, जैसा पिछले संस्करण लिखते थे।
जानकारी
लेखक का मूल विवरण
Make AI truly understand large codebases: for multi-repository, multi-microservice projects that have evolved over years, run architecture reverse-engineering + a Graph RAG graph + multi-language AST to compress a huge codebase into a structured knowledge base, where every conclusion traces back to a code line and every relation carries a confidence label. Suited to projects with 10+ repositories or microservices that AI cannot understand globally by reading the code directly. Triggers: architecture analysis, architecture reverse-engineering, codebase knowledge base, code-to-knowledge, archite
repo: Tencent/teamai-cli
लोकप्रियता
- GitHub स्टार
- 5.7k
- रैंकिंग में स्थान
- #14744
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
core
5.7kआपके एजेंट को टीम के साझा AI स्किल्स और नियमों को pull और push से सिंक करने, उनकी स्थिति जाँचने, स्वास्थ्य जाँच चलाने और दूसरे TeamAI वर्कफ़्लो तक पहुँचने देती है।
setup
5.7kआपके एजेंट को टीम के लिए TeamAI सेट अप करने में मदद करती है, एडमिन के रूप में नई टीम रिपॉज़िटरी बनाकर या मौजूदा से जुड़कर, और सदस्यों, भूमिकाओं व हटाने का प्रबंधन करके।
share
5.7kआपके एजेंट को कोडिंग सेशन से मिली बातों को छोटे टीम लर्निंग में बदलने और teamai contribute कमांड से टीम के ज्ञान-आधार पर प्रकाशित करने देती है।
workflow-local
5.7kआपके एजेंट को इसी मशीन पर बिना निगरानी के टीम वर्कफ़्लो चलाने देती है, CI जॉब या क्लाउड एजेंट के लिए, हर उत्तर रन शुरू होने से पहले तय करके।
मिलती-जुलती skills
technical-documentation
394kयह आपके एजेंट को साफ़ तकनीकी डॉक्स और एजेंट निर्देश फ़ाइलें लिखने और जांचने में मदद करती है, ताकि लोग और AI टूल उन्हें आसानी से समझ सकें।
architecture-decision-records
280kयह आपके एजेंट को project structure से जुड़े ज़रूरी फैसलों को दर्ज करने देता है। इससे पता चलता है कि कोई चुनाव क्यों किया गया, और बदलावों का साफ़ इतिहास बना रहता है।
code-tour
280kआपके एजेंट को exact file और line references के साथ step-by-step code walkthrough बनाने देता है। intro, explanations और reviews के लिए उपयोगी है।