context-load-context

Discovers and loads domain AGENTS.md context files before code changes.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/generic-automation-and-it/smooth-ai-stockanalysis --skill context-load-context-generic-automation-and-it
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-load-context
Source: https://github.com/generic-automation-and-it/smooth-ai-stockanalysis/tree/main/.agents/skills/context-load-context
Command: npx skills add https://github.com/generic-automation-and-it/smooth-ai-stockanalysis --skill context-load-context-generic-automation-and-it

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI coding agents often start implementation without the project-specific conventions, architecture, and domain constraints they need, producing code that ignores existing patterns. This Skill enforces a mandatory Phase 0 gate that locates and loads functional AGENTS.md context files before any clarifying questions or code changes begin. ## Core Features & Use Cases - Domain-Based Discovery: Infers the relevant domain from arguments, file paths, or task descriptions, then globs for matching *AGENTS.md files with prioritized exact, parent, and related-domain matching. - Blocking Gate with Options: When no context exists, it blocks execution and offers explicit choices — create a new file from the template, search more broadly, provide paths manually, or bypass. - Template-Based Creation: Generates minimal AGENTS.md files from .agents/templates/TEMPLATE_AGENTS.md, deliberately left sparse for later population in Phase 8. - Use Case: A developer asks the agent to add an endpoint to the orders API; the Skill detects the orders domain, loads ORDER_PROCESSING_AGENTS.md, summarizes it, and only then proceeds to requirement clarification. ## Quick Start Ask the agent to load the AGENTS context for the auth domain before starting the login feature implementation.

Frequently Asked Questions about context-load-context

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

FAQPage Schema
How do I load project context before AI code changes?▼

Invoke the Skill with an optional domain name such as auth or orders, or let it infer the domain from file paths and the task description. It globs for matching AGENTS.md files, loads them, and reports a summary before any implementation begins.

What happens when no AGENTS.md file exists for a domain?▼

The Skill blocks execution and presents four options: create a new file from TEMPLATE_AGENTS.md, search the codebase more broadly, provide file paths manually, or bypass the gate. The block is intentional, not an error.

When is loading AGENTS context mandatory vs optional?▼

It is mandatory for frontend, backend, and devops code changes including features, bug fixes, and refactoring. It is optional for pure research, documentation-only tasks, and non-functional requirement changes.

Does the created AGENTS.md file come pre-filled with content?▼

No. Created files use the minimal TEMPLATE_AGENTS.md structure and are intentionally left sparse. Population of sections happens later in Phase 8 of the workflow, so the creation step should not be extended to pre-fill content.

How does this Skill relate to the load-agents-context hook?▼

This Skill is the interactive front-end of Phase 0, while the load-agents-context PostToolUse hook is the automatic path. Changes to discovery conventions such as file naming or template location must be mirrored in both.