-
Notifications
You must be signed in to change notification settings - Fork 423
feat: add SKILL.md #2427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add SKILL.md #2427
Changes from 3 commits
c8b3aba
e790bee
603848a
751047f
a180f05
00b6f25
8c1928d
5128816
64da7fa
76e2dd5
a0a6248
0550f49
11a7c01
39b60ff
cc516d6
6dbc03f
b62bbbe
d2d373c
beced4c
4b3c93a
c46316c
01a6590
04b74ff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| --- | ||
| name: celestia | ||
| description: Use this skill for Celestia tasks across docs, node/app/core repo routing, and canonical blob posting/retrieval guidance (Go, Rust, and Node RPC). | ||
| --- | ||
|
|
||
| # Celestia skill | ||
|
|
||
| Use this skill for broad Celestia requests, especially when deciding which repository to touch and how to handle blob submit/retrieve flows. | ||
|
|
||
| ## Canonical context sources | ||
|
|
||
| Start from these sources and follow them in order: | ||
|
|
||
| 1. Docs LLM and agent support: | ||
| - https://github.com/celestiaorg/docs?tab=readme-ov-file#llm-and-agent-support | ||
| 2. Repo-specific implementation guidance: | ||
| - https://github.com/celestiaorg/celestia-node/blob/main/CLAUDE.md | ||
| - https://github.com/celestiaorg/celestia-app/blob/main/CLAUDE.md | ||
| - https://github.com/celestiaorg/celestia-core/blob/main/CLAUDE.md | ||
|
|
||
| When the request targets `celestia-node`, `celestia-app`, or `celestia-core`, read that repo's `CLAUDE.md` first before proposing commands or edits. | ||
|
|
||
| ## Repository routing | ||
|
|
||
| - Use `docs` repo for docs pages, tutorials, navigation, formatting, and link fixes. | ||
| - Use `celestia-node` for node runtime/RPC behavior, blob module internals, DAS, p2p, and node implementation. | ||
| - Use `celestia-app` for chain/app behavior, modules, transaction/state behavior, and upgrade handlers. | ||
| - Use `celestia-core` for consensus-engine behavior and low-level networking/consensus internals. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. mempool for celestia
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you please elaborate?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. consensus engine behaviour, transaction pool, and low-level networking/consensus internals. |
||
| - If a request spans repos, split output by repo ownership and call out what should change where. | ||
|
|
||
| ## Best way to post and retrieve blobs (Go or Rust) | ||
|
|
||
| For application developers, the canonical path is the transaction-client guides: | ||
|
|
||
| - Overview: https://docs.celestia.org/build/post-retrieve-blob/overview/ | ||
| - Go tutorial: https://docs.celestia.org/build/post-retrieve-blob/client/go/ | ||
| - Rust tutorial: https://docs.celestia.org/build/post-retrieve-blob/client/rust/ | ||
|
|
||
| Treat this as the default recommendation for "how should I post/retrieve blobs?". | ||
|
|
||
| Why this is the preferred path: | ||
|
|
||
| - Both clients are built for submit + retrieve flows. | ||
| - Both use local keyring/signer handling. | ||
| - Both use the expected endpoint model: DA bridge RPC plus Core gRPC. | ||
|
|
||
| Persist and return this retrieval tuple after submission: | ||
|
|
||
| - `height` | ||
| - `namespace` | ||
| - `commitment` | ||
|
|
||
| ## Node RPC method defaults (when direct RPC is requested) | ||
|
|
||
| - Submit with `blob.Submit` (preferred). | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we add details how to submit directly to app node? (as least preferable lowest level route?)
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as in how to send a signed tx to a consensus node?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes |
||
| - Use `state.SubmitPayForBlob` only when explicit tx-level handling is required. | ||
| - Retrieve/verify with: `header.WaitForHeight` -> `blob.Included` -> `blob.Get` and/or `blob.GetProof`. | ||
| - Treat `da.Submit` and `da.SubmitWithOptions` as compatibility-only deprecated paths. | ||
|
|
||
| ## Docs repo guardrails | ||
|
|
||
| - Never edit generated `.md` files directly; edit `app/**/page.mdx`. | ||
| - Keep tab order as: Coffee Beta, Mocha, Arabica. | ||
jcstein marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - Use canonical network names where applicable (for example Mainnet Beta, Mocha testnet, Arabica devnet, Coffee Beta). | ||
jcstein marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
devin-ai-integration[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - Use root-relative internal links and run `yarn check-links -- --all` if links changed. | ||
| - Run `yarn lint` before finalizing docs edits. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blob submission, retrieval and verification api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in place of "node runtime/RPC behavior, blob module internals, DAS, p2p, and node implementation"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No sorry, I meant to add "use celestia-node for blob submission/retrieval + verification" rather than blob module internals. Sorry was unclear.