context-generation-guide
Installation
SKILL.md
Context Generation Guide Skill
This skill provides the agent with the necessary information, concepts, and best practices to generate high-quality context items for the "Context Engineering Agent". This context bridges the gap between LLMs and structured databases, enabling accurate Natural Language to SQL generation.
Overview
Context generation allows you to create specific, high-value items in three forms:
- Templates: End-to-end mappings linking a natural language query to a complete, runnable SQL query. They teach the system overarching operational logic, table join infrastructures, and broad business rules.
- Facets: Reusable, modular SQL fragments (like a
WHEREclause or specialized join). They are dynamically injected filters linked to specific vocabulary or terminology. - Value Searches: Specialized queries used when a value in the natural language query does not perfectly match the stored value in the database. They employ mapping functions to find candidate values.