Логотип 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

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — TSS-Blue-AI-Lab. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Docs Scaffold в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать 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?

С любым количеством. В TypingMind вы можете использовать Docs Scaffold с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Docs Scaffold?

Навык опубликован на GitHub. Издатель — TSS-Blue-AI-Lab. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇