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:

  1. 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.
  2. Facets: Reusable, modular SQL fragments (like a WHERE clause or specialized join). They are dynamically injected filters linked to specific vocabulary or terminology.
  3. 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.

Workflow

Installs
1
GitHub Stars
33
First Seen
Jun 10, 2026
context-generation-guide — googlecloudplatform/db-context-enrichment