شعار Docs Scaffold

Docs Scaffold

مؤسسة
TSS-Blue-AI-Lab
docs-scaffold

Organize raw project documentation into a focused, cross-linked docs/ structure with an adaptive INDEX.md and a recommended AGENTS.md entry point. Preserve the source's natural document types; create stories only when they already exist and incremental slices only when the user wants them. Use when starting from raw documentation or restructuring scattered project docs.

نظرة عامة

الناشرTSS-Blue-AI-Lab
المستودعai-lab-agent-skills
اسم المهارةdocs-scaffold
النجوم
26
التفريعات
3
الملفات المرفقة
7
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها TSS-Blue-AI-Lab على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Docs Scaffold في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/docs-scaffold
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/docs-scaffold .claude/skills/docs-scaffold
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Docs Scaffold في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Docs Scaffold تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Docs Scaffold بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Docs Scaffold

Take raw project documentation and produce a structured docs/ folder that people and AI agents can navigate efficiently. Split monolithic files into focused documents without forcing every project into the same folder model.

This skill creates the structure. The companion resolve-docs skill can help resolve gaps afterward.

Constraints

  • Never invent content; unsupported details become entries in decisions/open-questions.md
  • Check reference file sizes before loading; read references/large-files.md for the protocol
  • Confirm both the source understanding and the planned structure before creating files
  • Preserve the source's natural content types; do not manufacture stories, tasks, or slices to fill a template
  • Create stories/ only for explicit source stories and slices/ only after the user approves an incremental breakdown
  • When work units are selected, keep one independently assignable work unit per file
  • Recommend AGENTS.md as the general project-instructions entry point, but inspect existing instruction files and help the user choose before creating or changing one
  • Do not duplicate content; keep one canonical location and link from related documents
  • Do not add source-file or heading provenance to generated documents unless the user explicitly requests it
  • Read gotchas.md before starting

Phase 0 — Understand the Source Material

Read every input file the user provides, following the large-file protocol when necessary. Identify:

  • Project purpose, domain, and boundaries
  • Existing content types: architecture, requirements, guides, operations, decisions, API material, reference data, or others
  • Components and responsibilities
  • Explicit stories, tasks, milestones, or delivery phases, if any
  • Whether an incremental slice plan would be useful or was requested
  • External systems, APIs, databases, and services
  • Cross-cutting concerns that appear in multiple places
  • Domain terminology, mixed languages, and jargon
  • Sensitive or restricted reference material that should not be copied

Present a structured summary and wait for confirmation before planning files.

Phase 1 — Plan an Adaptive Folder Structure

Design the docs/ tree from the confirmed content. Only include folders and INDEX sections that have content. Always include decisions/open-questions.md, even when it initially states that no open questions were found.

Choose the work-unit treatment explicitly:

Source and user intentResult
Reference or explanatory documentation onlyNo stories/ or slices/ folder
Source contains explicit user stories that should remain storiesstories/, one source story per file
User wants independently deliverable increments and approves the proposed boundariesslices/, one incremental slice per file
Intent is unclearShow the options and ask; do not choose a work-unit folder by default

Present the planned tree, label optional choices, explain why each folder exists, and get confirmation before creating files.

See examples/synthetic-docs-session.md for documentation-only and optional-slice examples.

Phase 2 — Split and Create Files

Read references/splitting-rules.md for content routing, work-unit structures, and cross-reference rules.

Identify shared concerns before writing documents. Put system-wide rationale and constraints in architecture docs; put actionable repeated rules in conventions/. Link between them instead of duplicating text.

When using the templates, remove every unused optional block, placeholder, and template comment from the final files.

Phase 3 — Create INDEX.md

Use templates/INDEX.md.tmpl as a flexible starting point, not a required section list.

INDEX.md must contain:

  • Task-oriented navigation instructions based on the folders that actually exist
  • One section per included folder, with links and one-line descriptions
  • No empty or placeholder sections
  • Warnings for large or restricted references that should not be auto-loaded

Phase 4 — Create or Reconcile AGENTS.md

Use templates/AGENTS.md.tmpl as an adaptive starting point. Recommend AGENTS.md at the project root as the general default, then inspect existing root instruction files before writing.

Existing stateRecommendation to present
No project instruction fileCreate AGENTS.md from the template
AGENTS.md existsPropose a merge; never overwrite it
A different instruction file existsOffer to keep it, add AGENTS.md, or make one canonical and keep the other as a short pointer
Multiple instruction files existChoose one canonical source with the user and remove duplicated guidance from the others

Individual tools may use additional filenames, so explain the trade-off and let the user decide. Keep AGENTS.md sections only when their corresponding docs or rules exist.

Phase 5 — Populate Open Questions

Use templates/open-questions.md.tmpl. Capture undefined terms, missing decisions, contradictions, vague sections, and explicit placeholders.

  • Number questions sequentially: OQ-1, OQ-2, ...
  • Group them by useful categories
  • Assign a priority and status
  • If none exist, state that clearly instead of leaving template placeholders

Phase 6 — Handle Large or Restricted References

Read references/large-files.md for the full protocol.

  • Check size, format, relevance, and sensitivity before loading
  • Distill only material relevant to the generated documentation or approved work units
  • Map distilled material to related documents or work units when that helps navigation
  • Do not copy raw references into the repository without user approval and a confidentiality, licensing, and version-control check
  • Prefer linking to an existing approved location when copying is unnecessary

Phase 7 — Verify and Summarize

Before presenting the result:

  1. Remove unused template sections, comments, and placeholders.
  2. Check that every INDEX link resolves.
  3. Check that cross-links do not create duplicate canonical content.
  4. Confirm that no stories or slices were created without the selected work-unit mode.
  5. List created and modified files, important open questions, skipped references, and any remaining limitations.

Recommended next step: use the resolve-docs skill to work through unresolved questions.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Docs Scaffold؟

Organize raw project documentation into a focused, cross-linked docs/ structure with an adaptive INDEX.md and a recommended AGENTS.md entry point. Preserve the source's natural document types; create stories only when they already exist and incremental slices only when the user wants them. Use when starting from raw documentation or restructuring scattered project docs.

لماذا تستخدم Docs Scaffold على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Docs Scaffold عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Docs Scaffold في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/docs-scaffold. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Docs Scaffold؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Docs Scaffold؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Docs Scaffold معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Docs Scaffold مجانية؟

نشرها TSS-Blue-AI-Lab على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇