motherduck-manage-guides
Installation
SKILL.md
Manage MotherDuck Guides
Source Of Truth
- Prefer the current MotherDuck Guides documentation and MCP tool descriptions.
- When MotherDuck MCP is available and the SQL answers a business question, call
get_query_guidefirst, then read only the relevant Guide topics and validate their claims against the live schema. get_dive_guideandget_flight_guideautomatically include summaries from the reserveddivesandflightstopics; do not load those topics separately unless deeper context is needed.
Default Posture
- Keep one short root orientation Guide only when its guidance applies broadly. Put domain-specific knowledge under shallow, descriptive topics.
- Default new Guides to
access = 'user'. Organization visibility requires an explicit request and the required admin permission; change it withset_guide_access(MCP) or--accessonmotherduck guide push. - Document tables that Flights create under the
data-sourcestopic (notflights, which holds authoring conventions): source, purpose, grain, key columns, transformations, refresh behavior, and caveats, with references to the table, its producing Flight, and any consuming Dive. Create these withuseraccess; when the table's database has an owned share, proposeorganizationaccess and apply it only on request. - Write one coherent subject per Guide, with a discriminating title and description. Lead with rules, tested SQL, and named pitfalls.
- Attach references to the databases, shares, schemas, tables, columns, Dives, Flights, or Guides the content governs so agents discover it at the right time.
- Validate referenced objects and executable SQL against the live workspace before presenting a Guide as trustworthy.
- Use version comments to explain why guidance changed. Read before update and avoid overwriting concurrent work.
- When a shell is available and Guides should live in Git or be reviewed like code, use
motherduck guide(seemotherduck-cli): editguide.mdlocally,pushwith--version-description, and pass the commit SHA as--external-idso each version traces to a change.