Split agent skill into chdb-datastore and chdb-sql#542
Merged
Conversation
Separate the single `using-chdb` skill into two focused skills to match distinct user mental models: pandas-style DataStore vs raw ClickHouse SQL. - chdb-datastore: drop-in pandas replacement with decision tree, connectors reference, API reference, 11 examples, and verify_install.py - chdb-sql: in-process SQL with table functions, SQL functions references, 9 examples, and verify_install.py - Rewrite install_skill.sh: two-skill install, --project flag, interactive agent selection, .agents/ path support - Update README.md AI Coding Agent Skills section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
using-chdbskill into two focused skills matching distinct user mental models:chdb-datastore— pandas-style DataStore API (SKILL.md < 150 lines, decision tree, connectors/api references, 11 examples, verify script)chdb-sql— raw ClickHouse SQL (SKILL.md < 120 lines, decision tree, table-functions/sql-functions/api references, 9 examples, verify script)install_skill.shwith two-skill install,--projectflag for git-committable project-level install, interactive agent selection when none detected, and.agents/path supportagent/skills/using-chdb/directoryMotivation
Two types of users have completely different mental models:
import chdb.datastore as pdchdb.query()Mixing both in one skill dilutes trigger precision and makes it harder for agents to choose the correct API. Each skill now has a clear decision tree, pushy description with implicit trigger scenarios and explicit exclusions, and layered reference material (SKILL.md → references/ → examples/).
New directory structure
Test plan
python agent/skills/chdb-datastore/scripts/verify_install.py— all checks passpython agent/skills/chdb-sql/scripts/verify_install.py— all checks passbash install_skill.sh --project— both skills installed to.agents/skills/