feat(dune): Dune CLI skill — rename from dune-analytics#46
Conversation
Replace curl/API examples with official dune CLI commands (query run, run-sql, execution results, dataset search). Add install/auth steps and links to CLI docs. Made-with: Cursor
- Move skills/dune-analytics/ to skills/dune/ - Set skill name to `dune`; retitle doc to # Dune - Update marketplace plugin path and rename plugin to `dune` - Refresh CLAUDE.md, CONTRIBUTING.md, template example - Shorten MoonPay example wallet name to dune-wallet Made-with: Cursor
kevarifin14
left a comment
There was a problem hiding this comment.
Good rewrite — the Dune CLI commands are all verified against the duneanalytics/cli repo and the install/auth flow is clean. Clear improvement over the old curl-based version.
One fix needed:
moonpay-bridge-tokens in Related Skills does not exist in this repo. Bridging is part of moonpay-swap-tokens — please update that reference.
Naming convention question: This renames the skill to bare dune/, which would be the only partner skill not following {partner}-{name}. The argument that it matches the CLI binary name is reasonable, but every other partner skill uses the convention (corbits-marketplace, shipp-sports-data, allium-onchain-data, etc.). The CONTRIBUTING.md and CLAUDE.md edits here retroactively change the convention to allow it. Would prefer dune-cli or dune-analytics to stay consistent — open to discussion though.
|
Fixes ready on
You can pull these changes into your branch or the maintainer can merge from |
kevarifin14
left a comment
There was a problem hiding this comment.
C — Two blockers from prior review not yet addressed
Blockers
-
Phantom cross-reference — Related Skills still lists
moonpay-bridge-tokens, which does not exist in this repo. Should bemoonpay-swap-tokens(which handles bridging). -
Naming convention — Directory is
skills/dune/and frontmattername: dune— but CONTRIBUTING.md still says "Always use{partner}-{name}". The CLAUDE.md edit loosened the example to accept bare names, but the rule line in CONTRIBUTING.md wasn't updated, and no other partner skill in the repo uses a bare name. Either:- Rename to
skills/dune-cli/withname: dune-cli, OR - If
duneas the bare partner name is intentional, update CONTRIBUTING.md to document the exception and explain the rationale in the PR description.
- Rename to
Verified OK
- All CLI commands (
dune auth,dune query run,dune query run-sql,dune execution results,dune dataset search,dune usage,dune docs search) are real — checked againstduneanalytics/cli - marketplace.json structure correct (dedicated plugin block, not in
moonpay-skills) - Content is instructional (no code)
- API key handling guidance present
Two small fixes and this is A+.
Summary
Updates the Dune partner skill to use the Dune CLI (
dune) instead of raw REST/curlcalls, and renames it fromdune-analyticstodune.Changes
CLI (vs REST)
dune auth,DUNE_API_KEY/--api-keydune query run,dune query run-sql, optional async via--no-wait+dune execution results, parameterized queries with--param key=valuedune dataset search,dune usage,dune docs searchdune query run-sqlRename
skills/dune-analytics/→skills/dune/name:dunedune(path./skills/dune); description updated for CLICLAUDE.md,CONTRIBUTING.md,template/SKILL.md)Motivation
The Dune CLI is the supported terminal workflow (
-o json, etc.). Shorterdunenaming matches the CLI binary and keeps the catalog consistent.