From c835cdbe53ccf2496362717a446f67cf8d22eefe Mon Sep 17 00:00:00 2001 From: Kristaps Grinbergs Date: Thu, 26 Feb 2026 13:34:06 +0200 Subject: [PATCH 1/3] feat(docs): add Flare AI Skills documentation and update intro --- docs/1-intro.mdx | 14 +++ docs/network/guides/flare-ai-skills.mdx | 112 ++++++++++++++++++++++++ docs/network/guides/overview.mdx | 6 ++ 3 files changed, 132 insertions(+) create mode 100644 docs/network/guides/flare-ai-skills.mdx diff --git a/docs/1-intro.mdx b/docs/1-intro.mdx index 9dbee785..b170a072 100644 --- a/docs/1-intro.mdx +++ b/docs/1-intro.mdx @@ -136,9 +136,23 @@ Want to use Developer Hub as context for an LLM? Start with the auto-generated [ If you only need one page, use the **Copy page** button in the top-right. It lets you copy the page as Markdown, or jump straight into supported LLM tools. +For **Cursor** and **Claude Code**, install [Flare AI Skills](/network/guides/flare-ai-skills) so the agent has domain knowledge for FTSO, FAssets, FDC, and Smart Accounts. + :::
+
+ +
+- `Use the flare-ftso skill and show how to consume FTSO price feeds in a Solidity contract.` +- `Use the flare-fassets skill and explain how to mint FXRP step by step` +- `Use the flare-fdc skill and show how to request an EVMTransaction attestation and verify it in a contract` +- `Use the flare-smart-accounts skill and show how to deposit to a vault` + +The agent will use the workflow and concepts from the Flare AI Skills `SKILL.md`. +It can reference Flare Developer Hub links from the reference files. + +:::tip[What's next] + +[Deploy your first contract](/network/getting-started) to get started on Flare. +Or explore [Developer tools](/network/developer-tools) for RPCs, wallet SDKs, bridges, indexers, and more. + +::: diff --git a/docs/network/guides/overview.mdx b/docs/network/guides/overview.mdx index dd4066e3..c2b067e4 100644 --- a/docs/network/guides/overview.mdx +++ b/docs/network/guides/overview.mdx @@ -16,6 +16,12 @@ Get started building on Flare with your preferred language or framework. Date: Thu, 26 Feb 2026 13:35:30 +0200 Subject: [PATCH 2/3] fix(docs): format tables and code blocks in Flare AI Skills --- docs/network/guides/flare-ai-skills.mdx | 55 ++++++++++++++----------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/docs/network/guides/flare-ai-skills.mdx b/docs/network/guides/flare-ai-skills.mdx index 1c2bdd56..6fe249e7 100644 --- a/docs/network/guides/flare-ai-skills.mdx +++ b/docs/network/guides/flare-ai-skills.mdx @@ -4,7 +4,17 @@ title: Flare AI Skills sidebar_label: Flare AI Skills description: Use Flare AI Skills in Cursor, Claude Code, and other agents for domain knowledge on FTSO, FAssets, FDC, and Smart Accounts. keywords: - [flare-ai-skills, cursor, claude, skills, agent, ftso, fassets, fdc, smart-accounts] + [ + flare-ai-skills, + cursor, + claude, + skills, + agent, + ftso, + fassets, + fdc, + smart-accounts, + ] sidebar_position: 10 --- @@ -17,13 +27,13 @@ You get accurate, context-aware help when building on Flare. ## Available skills -| Skill | Description | -|-------|-------------| -| **flare-general** | Flare overview, networks, chain IDs, RPC endpoints, explorers, faucets, and developer tooling | -| **flare-ftso** | [FTSO](/ftso/overview) price feeds, feed IDs, on-chain/off-chain consumption, fee calculation, delegation, and scaling anchor feeds | -| **flare-fassets** | [FAssets](/fassets/overview) overview, minting, redemption, agents, collateral, and smart contract integration | -| **flare-fdc** | [Flare Data Connector](/fdc/overview) overview, attestation types, request flow, Merkle proofs and Data Availability Layer (DAL) verification | -| **flare-smart-accounts** | [Smart Accounts](/smart-accounts/overview) overview, account abstraction for XRPL users to interact with Flare without owning FLR | +| Skill | Description | +| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| **flare-general** | Flare overview, networks, chain IDs, RPC endpoints, explorers, faucets, and developer tooling | +| **flare-ftso** | [FTSO](/ftso/overview) price feeds, feed IDs, on-chain/off-chain consumption, fee calculation, delegation, and scaling anchor feeds | +| **flare-fassets** | [FAssets](/fassets/overview) overview, minting, redemption, agents, collateral, and smart contract integration | +| **flare-fdc** | [Flare Data Connector](/fdc/overview) overview, attestation types, request flow, Merkle proofs and Data Availability Layer (DAL) verification | +| **flare-smart-accounts** | [Smart Accounts](/smart-accounts/overview) overview, account abstraction for XRPL users to interact with Flare without owning FLR | You can install one or more skills depending on what you are building on Flare. @@ -51,30 +61,29 @@ Read more about `skills.sh` in the [skills.sh documentation](https://skills.sh/d To install the skills in Claude Code, add the marketplace and install the skills you need. 1. Add the marketplace: - - ```bash - /plugin marketplace add flare-foundation/flare-ai-skills - ``` + +```bash +/plugin marketplace add flare-foundation/flare-ai-skills +``` 2. Select skills you need and install them. - ```bash - /plugin install flare-general@flare-ai-skills - /plugin install flare-ftso@flare-ai-skills - /plugin install flare-fassets@flare-ai-skills - /plugin install flare-fdc@flare-ai-skills - /plugin install flare-smart-accounts@flare-ai-skills - ``` +```bash +/plugin install flare-general@flare-ai-skills +/plugin install flare-ftso@flare-ai-skills +/plugin install flare-fassets@flare-ai-skills +/plugin install flare-fdc@flare-ai-skills +/plugin install flare-smart-accounts@flare-ai-skills +``` 3. Run this command to manage plugins in Claude Code: - ```bash - /plugin - ``` +```bash +/plugin +``` Read more about [plugins in Claude Code](https://code.claude.com/docs/en/skills). - ## Updating skills To update all installed skills (when using `skills.sh`): From c54135337b5538ef7d567547dd5333dbfcfdd1fb Mon Sep 17 00:00:00 2001 From: Kristaps Grinbergs Date: Mon, 2 Mar 2026 11:53:12 +0200 Subject: [PATCH 3/3] fix(docs): update link to LayerZero V2 testnet endpoint package in auto-redeem documentation --- docs/fxrp/oft/fassets-autoredeem.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fxrp/oft/fassets-autoredeem.mdx b/docs/fxrp/oft/fassets-autoredeem.mdx index ecd68395..10d54c66 100644 --- a/docs/fxrp/oft/fassets-autoredeem.mdx +++ b/docs/fxrp/oft/fassets-autoredeem.mdx @@ -966,7 +966,7 @@ This script: #### How It Works -1. **Loads V2 Testnet Endpoints**: Dynamically retrieves all LayerZero V2 testnet endpoint IDs from the [`@layerzerolabs/lz-definitions`](https://docs.layerzero.network/plugins#layerzerolabslz-definitions) package. +1. **Loads V2 Testnet Endpoints**: Dynamically retrieves all LayerZero V2 testnet endpoint IDs from the [`@layerzerolabs/lz-definitions`](https://www.npmjs.com/package/@layerzerolabs/lz-definitions) package. 2. **Queries Peers**: For each endpoint, calls the `peers()` [function](https://coston2-explorer.flare.network/address/0xCd3d2127935Ae82Af54Fc31cCD9D3440dbF46639?tab=read_write_proxy&source_address=0x82BC5e114D0843160be1cEaB8196Ba91f87473FE#0xbb0b6a53) on the OFT Adapter contract. 3. **Filters Results**: Only shows endpoints that have a non-zero peer address configured. 4. **Formats Output**: Displays results in a table format and as JSON for programmatic use.