Logo Resolve Docs

Resolve Docs

Tổ chức
TSS-Blue-AI-Lab
resolve-docs

Interactively resolve open questions and documentation gaps in project docs. Scans all docs for unknowns, proposes resolutions from existing sources, and interviews the user for the rest. Writes answers back into the correct doc files. Use when: onboarding to a project with incomplete docs, preparing docs for a structured specification workflow, or stress-testing a design by walking through every open question.

Tổng quan

Nhà phát hànhTSS-Blue-AI-Lab
Kho mãai-lab-agent-skills
Tên kỹ năngresolve-docs
Sao
26
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được TSS-Blue-AI-Lab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Resolve Docs trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/resolve-docs
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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/resolve-docs .claude/skills/resolve-docs
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Resolve Docs trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Resolve Docs ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Resolve Docs với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Resolve Docs

Interactively find and resolve documentation gaps. Reads all project docs, identifies unknowns, proposes answers from existing sources, and interviews the user for the rest — writing everything back into the correct files.

When to Use

  • After setting up a docs/ folder for a new project — fill in the gaps
  • Before a sprint starts — ensure all stories have enough detail for implementation
  • When onboarding to an unfamiliar codebase with partial documentation
  • When preparing documentation for a structured specification workflow
  • To stress-test a design by systematically walking every open question

Prerequisites

This skill expects a docs/ folder with:

  • An INDEX.md (or similar entry point) linking to all doc files
  • A decisions/open-questions.md file tracking unresolved items (can be empty)
  • Documentation files organized by topic (architecture, stories, domain, API, conventions, etc.)

If this structure doesn't exist yet, stop and tell the user that a structured docs/ folder is a prerequisite. Recommend invoking the docs-scaffold skill through the platform's available mechanism first to create it from their initial documentation files.

How It Works

Step 1: Present your understanding

Read the docs index file and follow every link to read all documentation files. Then present a structured summary of your current understanding to the user before doing anything else:

  • What is this project? — One paragraph describing the system, its purpose, and where it sits in the landscape.
  • How does it work? — The main flows and processes in plain language.
  • What are the components/layers? — List each component with a one-line description of its responsibility.
  • What are the current stories/tasks? — List each story and what it delivers.
  • What external systems are involved? — And what you know about their APIs.
  • What cross-cutting patterns apply? — Logging, error handling, auth, etc.

End this summary with: "Is this understanding correct? Let me know if anything is wrong or missing before I continue."

Wait for the user to confirm or correct before proceeding. If they correct something, update the relevant doc immediately.

Step 2: Scan for gaps

Read all documentation files (if not already done in Step 1). Identify:

  • Explicit open questions in the open-questions file
  • TODOs, placeholders, or vague sections in any doc
  • Missing cross-references between docs
  • Acceptance criteria that reference undefined concepts
  • Sections marked with "to be defined" or similar language

Present a numbered list of all gaps found, grouped by category.

Step 3: Propose auto-resolutions (requires approval)

For each gap, check whether it can be answered from:

  1. The codebase — if code already exists, read it to extract the answer
  2. Other docs — the answer may already exist in a different file
  3. API specs or config files — for integration or configuration questions

If you find an answer from these sources, do NOT write it yet. Present the proposed resolution through the platform's structured question mechanism when one is available; otherwise ask in normal conversation. Structure the question as:

  • question: State the question ID, what you found, and from which source
  • options: Include "Yes, write it (Recommended)" and "Skip", and allow the user to provide a custom adjustment
  • header: Use the question ID (e.g., "OQ-8")

Only write the resolution after the user approves. If they provide a custom answer, use their version instead.

Step 4: Interview the user

For each gap that requires human input, ask one question at a time. Use the platform's structured question mechanism when available; otherwise ask in normal conversation and wait for the response.

Structure each question as:

  • question: State the question ID, describe the gap and why it matters
  • header: Use the question ID (e.g., "OQ-1")
  • options: Always include your recommended answer as the first option with "(Recommended)" suffix, plus "Skip" as the last option. Allow the user to provide a custom answer.
  • If the question has natural multiple-choice answers (e.g., "Maven or Gradle?"), list those as options with your recommendation first

Do not batch questions. Wait for the user's response before moving to the next question.

Step 5: Write answers back

After the user approves or provides an answer (not on "skip"):

  1. Check if the answer is already in the target doc. If the correct doc file already contains the resolved information, no edit is needed there — just note this.
  2. If the answer is new information, write it into the correct doc file first (not just the open-questions file). State which file you updated and what you added.
  3. Update the open-questions file — remove fully resolved items, or narrow the scope if only partially resolved.
  4. If a new question emerged during the conversation, add it to the open-questions file.

Always tell the user exactly which files were updated and why, so there's a clear audit trail per resolution.

Step 6: Handle reference files (e.g., OpenAPI specs)

Projects often have reference files such as OpenAPI/Swagger specs, database schemas, or configuration dumps. These are valuable for resolving gaps but vary widely in size.

If resolving a gap requires information from a reference file:

  1. Check the actual file size first. Not all reference files are large — some OpenAPI specs are under 100KB and perfectly safe to load.
  2. If the file is small (under ~200KB): load it directly into context. No need to ask the user or distill — just read it and extract what you need.
  3. If the file is large (200KB+): do NOT auto-load it. Tell the user: "I need to check [file name] to answer this. It's approximately [size] — should I load it?"
  4. If the user approves a large file, load only the relevant section — search for specific paths, schemas, or keys rather than reading the entire file
  5. Distill the findings into the appropriate doc file (e.g., extract relevant endpoints into an API reference doc) so future queries don't need the full reference
  6. Add a note in the distilled doc pointing to the full reference file, with a warning not to auto-load it if it's large

Rules

  • For Steps 3 and 4, prefer a structured question interface when the platform provides one. Otherwise use normal conversation while preserving the same one-question-at-a-time approval flow.
  • Never guess or fabricate answers — if you don't know, ask
  • Keep doc edits minimal and focused — don't rewrite entire files
  • Preserve existing structure and cross-references
  • After completing a session, summarize: how many gaps resolved, how many remaining, what was added to which files

Example Session

User: [invokes the resolve-docs skill]

Agent: [Reads all docs, presents understanding summary]
       "Is this understanding correct?"

User: "Yes"

Agent: [Scans for gaps, finds 12 open questions + 3 undocumented gaps]
       "Found 15 gaps. 2 can be resolved from existing docs."

       [Structured question or conversational prompt: "OQ-8 is already answered in the API spec. Write it?"]
User: "Yes"
Agent: [Updates open-questions.md, notes API doc already had the info]

       [Structured question or conversational prompt: "OQ-1: How does the app connect to the database?
        Recommended: Use an embedded database locally and the configured integration database for integration tests"]
User: "Yes"
Agent: [Writes to architecture doc, updates open-questions.md]

       ... continues through all gaps ...

Agent: "Session complete. 11 resolved, 4 skipped. Updated: architecture.md,
        data-model.md, open-questions.md"

Câu hỏi thường gặp

Kỹ năng AI Resolve Docs làm được gì?

Interactively resolve open questions and documentation gaps in project docs. Scans all docs for unknowns, proposes resolutions from existing sources, and interviews the user for the rest. Writes answers back into the correct doc files. Use when: onboarding to a project with incomplete docs, preparing docs for a structured specification workflow, or stress-testing a design by walking through every open question.

Vì sao nên dùng Resolve Docs trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Resolve Docs là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Resolve Docs trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/resolve-docs. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Resolve Docs?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Resolve Docs với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Resolve Docs với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Resolve Docs có miễn phí không?

Kỹ năng này được TSS-Blue-AI-Lab phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇