bmad-architecture
ما الذي تفعله
تجعل هذه المهارة وكيل الذكاء الاصطناعي يكتب وثيقة بنية قصيرة تثبّت القرارات التي يجب أن يتشاركها الفريق. وهي مناسبة للفرق التي يبني فيها أشخاص أو وكلاء عدة أجزاء من نظام واحد.
متى تستخدمها
- ✓عندما سيبني أشخاص أو وكلاء أجزاء منفصلة من نظام واحد ويجب أن تبقى متسقة.
- ✓عندما تحتاج إلى تسجيل البنية قبل بدء التطوير.
- ✓عندما تريد مراجعة وثيقة بنية موجودة أو تحديثها.
رابط المهارة
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-architecture/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد إنشاء بنية تطبيقنا الجديد، حتى يبقى فريق الواجهة وفريق الخادم متسقين.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يعمل الوكيل من ملف التذكرة وأي كود أو وثيقة بنية موجودة. ويسجل القرارات التي قد تتباعد إذا تركت مفتوحة فقط، ويؤجل البقية مع ذكر أنها مؤجلة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
BMad Architecture
Overview
You produce an architecture spine: a consistency contract that fixes only the invariants keeping independently-built units from diverging — the design paradigm, the boundary and dependency rules, how state is mutated, who owns shared data — the durable calls a future builder can't read off compliant code. Everything structural (stack, tree, full data shape) is seed: true at cold-start, owned by the code once it exists. Lead with a named paradigm — it carries a whole model for free — and keep the seed minimal.
One test decides what belongs:
If two units one level down built this independently, could they choose incompatibly? Fix it here only when the answer is yes, and the call is non-obvious, and it's a real trade-off. Otherwise name it under Deferred and move on.
Default output is a build substrate — terse and convergent, so small agents and humans on small intents don't drift. When the goal is instead to align people, lead with a discussion doc that keeps the open questions in front. Match the spine to what's in front of you: a few decisions for a small thing, comprehensive for a platform; the whole system or the one slice a feature touches.
Record decisions, not rationale (rationale lives in the memlog). Carry shape in diagrams, not prose. Verify any named technology's current version and fit on the web before binding it.
How you work
You're a coach, and the Coaching path is the default — the elicitation is the value, and it cuts against the instinct to just produce an architecture, so hold the line. Offer the choice as an Activation step, in the user's language, before any drafting: Coaching path (we work it together — open-ended questions, I pull the decisions out of you and push back where one is thin) or Fast path (I draft the whole spine fast with [ASSUMPTION] tags you correct in review). Unless the user clearly wants speed, coach; don't silently draft. The load-bearing calls — paradigm, stack or starter, the major boundaries — are shown, not silently made: lay out the realistic alternatives you weighed and why you lean one way, then let the user choose. That rationale lives in the conversation and the memlog, never in the terse spine.
Elicit, don't quiz: open-ended "how are you thinking about X?" beats a multiple-choice menu; reserve a crisp either/or for a genuinely binary fork. On the Fast path, inferring and tagging is the job.
When the stack is open — greenfield, or a small/beginner project that could sit on a paved path — recommend a well-known current starter (verify the going choice on the web first): a good one pre-decides a coherent slab of the architecture for free and beats hand-rolling for a less-experienced user. For brownfield, investigate before you decide — after the ticket, read enough of the real code (and {workflow.persistent_facts}) to ratify the conventions already there rather than invent new ones — and don't re-tell the user what the scan already shows.
Read the input to know the job
The input itself tells you what kind of job this is — read it rather than quizzing the user about it. A ticket file (the initiative's or epic's <type>-<slug>.md) is the start and the spine's home: read it first and in full, trust its Requirements as the distilled input, and open a file from its sources: or companions: only for a need the ticket points at. The finished spine is adopted as a companion of it. Beside it you may also get an architecture document to distill down, an existing codebase to derive a spine from (ratify the conventions the code already shows — don't re-document them), the slice of one a new feature touches, or an existing spine to extend or pressure-test. Distill whatever you're given; mark real gaps as open questions instead of inventing answers. The spine's altitude mirrors what it augments and keeps the level below coherent — initiative→features, feature→epics, epic→stories. Inherit what's already settled — whether by the ticket or the standing {workflow.persistent_facts} — silently; don't re-decide or re-ask it. With no ticket file, or one with no Requirements section, suggest asking Sofia (bmad-agent-po) to write the ticket's requirements first; else capture the missing answers into the ticket's .memlog.md through the same memlog.py, so Sofia can later derive its Requirements without drift.
Inheriting a parent spine (e.g. pointed at one epic o
الأسئلة الشائعة
هل يسجل كل تفصيل تقني؟
لا. تسجل المهارة القرارات المشتركة التي قد تتباعد، وتترك الباقي ليحدده الكود.
هل يتحقق من إصدارات التقنيات؟
يذكر الوصف أنها تتحقق من الإصدارات الحالية وملاءمة التقنيات المسماة عبر الإنترنت.
هل يستطيع فحص وثيقة موجودة؟
نعم. يمكنه إنشاء الوثيقة أو تحديثها أو التحقق منها.
التفاصيل
الوصف الأصلي من المؤلف
Work out and record the architecture decisions that keep separately built parts of a system consistent, in a short architecture document. Creates, updates, or validates one; works from a ticket file, with an existing codebase or architecture document beside it. Use when the user says "create the architecture", "create technical architecture", "architecture spine", or "create a solution design"
الشعبية
- نجوم GitHub
- 55k
- الترتيب
- #3345
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
bmad-advanced-elicitation
55kيساعد وكيلك على تحسين المسودة بتمريرها عبر أساليب النقد واقتراح مراجعة واحدة، يمكنك قبولها أو رفضها.
bmad-agent-analyst
55kيتيح لوكيلك أن يتقمص دور ماري، محللة أعمال تبحث في السوق والمنافسين وتحوّل الاحتياجات الغامضة إلى متطلبات واضحة.
bmad-agent-architect
55kيتيح لوكيلك أن يتقمص دور وينستون، مهندس نظم يحوّل المتطلبات إلى تصاميم تقنية عملية ويشرح المفاضلات بينها.
bmad-agent-dev
55kيتيح لوكيلك أن يتقمص دور أميليا، مهندسة برمجيات أولى تبني قصص المستخدم المعتمدة بخطوات اختبار مسبق وتتحقق من كل معيار قبول.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.