Moai workflow jit docs

From modu-ai/moai-adk · View interactive version

Moai workflow jit docs is an AI agent skill from the GitHub repository modu-ai/moai-adk. Enhanced Just-In-Time document loading system that discovers, loads, and caches relevant documentation based on user intent and project context. Use when users need specific documentation on demand.

How to use this skill

Skill file

Quick Reference (30 seconds)

Purpose: Load relevant documentation on-demand based on user intent and context.

Primary Tools:

Trigger Patterns:

Implementation Guide

Intent Detection

The system recognizes documentation needs through several patterns:

Question-Based Triggers:

Technology-Specific Triggers:

Domain-Specific Triggers:

Pattern-Based Triggers:

Documentation Sources

The system retrieves documentation from multiple sources in priority order:

Local Project Documentation (Highest Priority):

Official Documentation Sources:

Community Resources:

Real-Time Web Research:

Loading Strategies

Intent Analysis Process:

Source Prioritization:

Context-Aware Caching:

Quality Assessment

Content Quality Evaluation:

Relevance Ranking:

Practical Workflows

Authentication Implementation Workflow:

Database Optimization Workflow:

New Technology Adoption Workflow:

Error Handling

Network Failures:

Content Quality Issues:

Relevance Mismatches:

Performance Optimization

Caching Strategy:

Efficient Loading:

Batch Processing:

Advanced Patterns

Multi-Source Aggregation:

Context Persistence:

Proactive Loading:


Works Well With

Agents:

Skills:

Commands:

<!-- moai:evolvable-start id="rationalizations" -->

Common Rationalizations

| Rationalization | Reality |

|---|---|

| "I already know where the docs are, JIT loading is unnecessary" | JIT docs discover context you did not know existed. Manual lookup misses cross-references. |

| "Loading all docs upfront is simpler than on-demand" | Upfront loading wastes tokens on irrelevant content. JIT loads only what matches the current intent. |

| "The cached version is recent enough" | Stale caches serve stale answers. Validate cache freshness before using cached documents. |

| "This task does not need documentation" | Every non-trivial task benefits from context. JIT docs surface relevant constraints proactively. |

| "I will find the right doc by browsing the directory" | Directory browsing is O(n). JIT matching by intent keywords is O(1) for the user. |

<!-- moai:evolvable-end -->

<!-- moai:evolvable-start id="red-flags" -->

Red Flags

<!-- moai:evolvable-end -->

<!-- moai:evolvable-start id="verification" -->

Verification

<!-- moai:evolvable-end -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.