bmad-project-context
यह क्या करती है
यह स्किल AI एजेंट को वह निर्देश फ़ाइल लिखने और जाँचने देती है, जो बताती है कि AI एजेंट किसी repository में कैसे काम करें। यह उन डेवलपर्स के लिए है जो चाहते हैं कि एजेंट उनके प्रोजेक्ट के नियमों का पालन करें।
कब इस्तेमाल करें
- ✓जब आप किसी repository में AI एजेंट्स का इस्तेमाल शुरू करते हैं और AGENTS.md फ़ाइल चाहिए।
- ✓जब आपके प्रोजेक्ट के नियम बदलते हैं और एजेंट के निर्देश अपडेट करने हैं।
- ✓जब कोई एजेंट वही गलती फिर करता है और आप उसे pitfall के रूप में दर्ज करना चाहते हैं।
Skill का लिंक
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-project-context/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे repo के लिए AGENTS.md फ़ाइल सेट कीजिए, ताकि AI हमारे security और coding नियमों का पालन करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट आपकी repository पढ़ता है, जो commands और नियम मिलते हैं उन्हें जाँचता है, और निर्देश फ़ाइल के लिए एक छोटा सत्यापित ब्लॉक सुझाता है। लिखे जाने से पहले आप हर बदलाव स्वीकृत करते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Overview
A conversation that produces a repository's agent instructions: a small verified block inside AGENTS.md. The user brings rules they want followed — governance, security, standards — and the repository supplies the rest, verified.
Conversational always; the user approves every write.
Args: intent (setup | adopt | refresh | record | audit); a target repo or path; extra source paths or URLs.
Resolution rules
- Bare paths and
{skill-root}(e.g.references/best-practices.md) resolve from this skill's installed directory. {project-root}→ the project working directory.- Target → the repository being described, defaulting to
{project-root}. If it resolves to more than one working tree, or to one the user cannot commit in, ask before writing.
On Activation
Resolve customization:
uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow.- Script not found: BMad is not set up here. Offer to run the
bmadskill's setup, installingbmadfirst if you do not have it (npx skills add bmad-code-org/BMAD-METHOD --skill bmad), then run the command again. - Any other failure: read
{skill-root}/customize.tomldirectly and use defaults.
Execute
{workflow.activation_steps_prepend}; treat{workflow.persistent_facts}entries as standing context (file:= paths/globs to load, others verbatim).- Script not found: BMad is not set up here. Offer to run the
Config: if
{project-root}/_bmadexists,uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}and read{output_folder}. Standalone: skip.Load
references/best-practices.mdandreferences/template.mdbefore anything else. Every decision below is made against them.Detect intent and greet the user: setup (no instruction file in the target carries meaningful content — scaffolding alone, empty headings, a comment, a lone import line, is not meaningful; when unsure, adopt, since adopting a near-empty file costs one small ledger while setting up a meaningful one loses instructions), adopt (an instruction file has content but no managed block, whatever its state and whoever wrote it — the migration form of refresh; that file is the baseline and every instruction in it enters the ledger of step 1), refresh (a managed block exists), record (the user reports a mistake agents made), audit (re-verify and prune). A supplied intent that contradicts what detection finds — e.g.
setupagainst a file with content — is surfaced and confirmed, never silently obeyed. Fold{workflow.external_sources}into the source list. Execute{workflow.activation_steps_append}.
Setup, Adoption, and Refresh Steps
No writes until step 5!
1. Assess and report
Read AGENTS.md, harness or agent specific rule files, docs folders, and any notes carrying lessons. Report what exists and how it measures up, per best-practices.md.
Existing instructions are the baseline being improved, never raw material to discard. Open a ledger: one entry per existing section and per independently meaningful instruction, opened at retain or rewrite, carrying what an agent would get wrong without it. Entries settle as evidence arrives in steps 2–4 — retain | rewrite | relocate | automate | delete, each with its reason, its evidence, the risk if it goes, a destination for a relocation, and an approval flag. Deletion needs one of the four grounds in best-practices.md, and a relocation destination must itself be loaded or sit behind an observable trigger — a move into a file nothing reads is a deletion and needs its ground. Setup has nothing to map and opens no ledger; refresh opens entries for the lines it proposes to change or remove, the block's own included. A lesson found outside the instruction files — a warning in a README, a notes file — is an ordinary candidate, not a ledger entry.
If the target contains separable units — a workspace manifest listing members, or directories carrying their own build manifest — name them and ask whether this run covers the root only, all of them, or which. Absent that evidence, do not ask. Sibling repositories are not children; each is its own target, offered in turn.
2. Ask what they bring
Rules to follow regardless of what the repo does: governance, security and compliance, coding standards, style guides, frozen areas. Ask for outside documents too — handbooks, wikis, architecture docs, MCP knowledgebases. Note the
अक्सर पूछे जाने वाले सवाल
क्या यह बिना पूछे बदलाव लिखती है?
नहीं। स्किल कहती है कि हर लिखने की मंज़ूरी आप देते हैं।
इस संदर्भ में pitfall क्या है?
pitfall एक दर्ज की गई एजेंट गलती है, ताकि अगली बार निर्देश उससे चेतावनी दें।
क्या यह मौजूदा निर्देशों की जाँच कर सकती है?
हाँ। इसमें एक audit मोड है, जो मौजूदा निर्देशों की जाँच करता है।
जानकारी
लेखक का मूल विवरण
Set up, adopt, refresh, or audit a repository''s agent instructions (the AGENTS.md block) so AI agents work well in that repo. Also records observed agent mistakes as pitfalls. Use when invoked by name
लोकप्रियता
- GitHub स्टार
- 55k
- रैंकिंग में स्थान
- #3358
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
bmad-advanced-elicitation
55kआपके एजेंट को किसी drafts को critique के तरीकों से गुज़ारकर एक सुधार सुझाने में मदद करती है, जिसे आप स्वीकार या अस्वीकार कर सकते हैं।
bmad-agent-analyst
55kआपके एजेंट को Mary की भूमिका निभाने देती है, एक business analyst जो बाज़ार शोध, प्रतिस्पर्धी विश्लेषण करती है और अस्पष्ट ज़रूरतों को साफ़ requirements में बदलती है।
bmad-agent-architect
55kआपके एजेंट को Winston की भूमिका निभाने देती है, एक system architect जो requirements को व्यावहारिक तकनीकी डिज़ाइन में बदलता है और trade-offs समझाता है।
bmad-agent-dev
55kआपके एजेंट को Amelia की भूमिका निभाने देती है, एक senior software engineer जो स्वीकृत user stories को test-first चरणों से बनाती है और हर acceptance criterion जाँचती है।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।