moai-workflow-jit-docs

Discovers, loads, and caches relevant documentation based on user intent and project context.

2|Updated May 27, 2026
One-click install
npx skills add https://github.com/yekinya/moai-novel --skill moai-workflow-jit-docs-yekinya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-workflow-jit-docs
Source: https://github.com/yekinya/moai-novel/tree/main/moai-novel/.claude/skills/moai-workflow-jit-docs
Command: npx skills add https://github.com/yekinya/moai-novel --skill moai-workflow-jit-docs-yekinya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Developers waste time manually searching for the right documentation or overload their context window by loading everything upfront. This Skill detects documentation needs from user questions and loads only the relevant docs on demand. ## Core Features & Use Cases - Intent-Based Discovery: Analyzes user questions to detect technologies, domains, and question types, then matches them to the right documentation sources. - Multi-Source Loading with Prioritization: Retrieves docs from local project files, official documentation, Context7 MCP, and web search in priority order with quality scoring. - Context-Aware Caching: Caches retrieved documentation per session with TTL and relevance validation to avoid redundant loads and stale content. - Use Case: When a user asks "How do I implement JWT authentication in FastAPI?", the Skill detects the technologies and domain, loads the official FastAPI security guide plus local project auth docs, and caches them for the rest of the session. ## Quick Start Ask a technical question such as how to implement JWT authentication in FastAPI and the Skill will load the relevant documentation automatically.

Frequently Asked Questions about moai-workflow-jit-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load documentation on demand for a technical question?

Ask a specific technical question mentioning the technology, such as how to implement JWT in FastAPI. The Skill detects the technologies and domains, prioritizes local project docs then official sources, and loads only the relevant documentation into context.

What documentation sources does just-in-time loading use?

It checks local project documentation in .moai/docs/ and docs/ first, then official framework documentation via WebFetch or Context7 MCP, then community resources and real-time web search. Sources are weighted by authority, recency, completeness, and relevance.

Does the JIT documentation loader work offline or without network access?

When web sources are unreachable, it falls back to cached content and local project documentation. It indicates partial results when some sources cannot be retrieved, so local docs in .moai/docs/ remain fully usable offline.

Why does the documentation cache serve outdated content?

Stale results occur when cached entries are not validated against source file modification times or TTL limits. The Skill validates cache freshness before serving, evicts content older than its TTL, and re-fetches when sources have changed.

When should I avoid preloading all documentation upfront?

Preloading wastes tokens on irrelevant content and can exceed context budgets. Just-in-time loading is preferred for non-trivial tasks because it loads only documentation matching the current intent, keeping context focused and efficient.