repo-foundation
यह क्या करती है
यह टूल मौजूदा programming project में नए features जोड़ने, bugs ठीक करने या किसी हिस्से की शुरुआत करने में मदद करता है। इसका उपयोग नए project की शुरुआती बुनियाद रखने या अधूरे रह गए काम को आगे बढ़ाने के लिए भी किया जा सकता है।
कब इस्तेमाल करें
- ✓जब आप किसी project में नया feature जोड़ना चाहते हों।
- ✓जब आपको किसी code में bug ठीक करना हो।
- ✓जब आप नया project या उसका कोई नया हिस्सा शुरू कर रहे हों।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/repo-foundation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस project में user login को log करने वाला नया feature जोड़ो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल मौजूदा project का विश्लेषण करता है, आपके पहले से किए गए बदलावों को सुरक्षित रखता है, और नए निर्देशों को व्यवस्थित तरीके से लागू करता है। इससे काम कुशलता से होता है और दोबारा करने की ज़रूरत नहीं पड़ती।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Repo foundation
When to Use
- Use when the user asks to add a feature, fix a bug, or start a module in an existing project.
- Use when establishing the minimum foundation for a new repository or subsystem.
- Use when requirements authorize a schema, public-contract, ownership, or architecture migration.
- Use when resuming unfinished work or reconciling stale notes with repository evidence.
Build on a foundation that's just big enough, add features on top of it, and change the architecture only when requirements force it. Aim for the least total rework.
Core principles
- No universal dogma: don't impose a layout, error pattern, or framework the project doesn't need. Plain standard library is fine.
- Scope, baseline, and user work:
- Establish a clean baseline before mutating code: use the pre-existing revision/commit when Git exists; use a file inventory or snapshot when uninitialized or greenfield.
- In a dirty workspace, protect pre-existing uncommitted user modifications. You may edit distinct parts of the same file as long as user work is preserved. Stop and ask only if there is an actual collision or ambiguous intent.
- Never create commits or force Git initialization solely for handoff or tracking.
- Reuse conventions only with healthy repository precedent. Don't treat accidental patterns or temporary workarounds as precedent, and don't expand into out-of-scope cleanup.
- Don't push, publish, deploy, change branch protection, install system hooks, or buy anything unless the user asks.
- Prose, naming, and restraint:
- Names reflect business domain concepts and ownership.
- Add comments only for information code cannot express: grounded rationale, non-obvious invariants, units, rounding, ordering, protocol quirks, or compatibility.
- Do not narrate syntax; do not invent tickets, incidents, owners, or production histories.
- Treat error and CLI text as contract surface: check callers and parsers before rewording.
- Never invent ticket, PR, or incident references. An inaccessible or unverified reference is not evidence of fabrication. Preserve existing references unless repository evidence establishes that they are incorrect or obsolete; report material uncertainty instead of deleting them.
- Do not strip valuable comments merely for cosmetic brevity; do not enforce arbitrary comment ratios.
- Do not add abstractions, wrappers, or factory layers without concrete ownership, contract, or test seam needs.
- Preserve consumed public contracts as defined in
references/shared-contracts.md§1: keep documented types, values, errors, and serialization. Change a contract only when the task clearly authorizes it, then update callers, tests, and docs in scope. - Verification rigor & proportionate testing:
- Record baseline failures and distinguish: (1) pre-existing failures outside scope, (2) in-scope failures to fix, (3) regressions from current changes, and (4) environment errors.
- Verify the final code state; never use pre-cleanup test results to certify modified code.
- Add or update persistent tests when a change introduces behavior, fixes a defect, alters a contract, or exposes a meaningful coverage gap. Prefer the repository's existing test framework and structure. Do not add tests solely for file-count or coverage optics. For documentation-only or mechanically verified changes, use the relevant lightweight checks and explain any material verification gap.
- Check every requirement before you say you're done. Say what you verified, what you only read, and what you assumed. A command that exits 0 doesn't count if the file it should make isn't there.
- Failure invariants & state preservation: if an operation can fail halfway, decide what must stay untouched. Validate inputs and ownership first, build the replacement on the side, keep the old state until the new one is ready, and test the failure boundary.
Mode selection
| Mode | Trigger | Core Actions | Exit Criteria |
|---|---|---|---|
| Bootstrap | New repository from scratch or an area lacking minimal foundation (no build/test/run commands, conventions, or boundaries). | Elicit critical constraints, choose just-enough design, set up minimal tooling/checks, implement and verify the first representative slice. Read bootstrap. | Representative slice works and is verified; run/build commands are documented; repo is stable for subsequent work. |
…
अक्सर पूछे जाने वाले सवाल
'preserving user edits' का क्या मतलब है?
इसका मतलब है कि अगर आपने code में पहले से बदलाव शुरू किए हैं, तो टूल आपका काम मिटाएगा नहीं। वह नए निर्देशों को आपके किए हुए काम के साथ जोड़ने की कोशिश करेगा।
'public contract' क्या है?
यह इस बात का समझौता है कि code के अलग-अलग हिस्से आपस में कैसे बात करेंगे। टूल यह सुनिश्चित करता है कि ये समझौते बने रहें, या ज़रूरत पड़ने पर सही तरीके से अपडेट हों।
क्या टूल मेरे project का architecture बदल देगा?
सिर्फ तभी जब नई ज़रूरतों को पूरा करने के लिए यह बिल्कुल ज़रूरी हो। लक्ष्य यह होता है कि दोबारा काम से बचने के लिए कम से कम बदलाव किए जाएँ।
जानकारी
लेखक का मूल विवरण
Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5615
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।