Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ node_modules/

stash
docs-audit.md
docs-audit.txt
docs-audit.txt
docs-anchor.json
product-docs.json
tabs-docs.json
54 changes: 33 additions & 21 deletions ai-tools/guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,50 @@
title: "AI Tools Guide"
description: "Guidance to AI tools when working with ZK Compression. Includes Agent Skill, MCP server, DeepWiki, and AI Search guides."
---
import InstallAgentSkills from "/snippets/setup/install-agent-skills.mdx";

# For Docs

- **Docs AI Search** - Search documentation with AI in the search bar.
- **Markdown Export** - Append `.md` to any page URL for raw markdown.
* **View [`/llms.txt`](https://zkcompression.com/llms.txt)** for an index of the docs - It lists key pages with descriptions
so agents can navigate to answers quickly.

# For Development

## AI agents

### `skill.md`
## Agent Skills

`skill.md` is a structured capability file that tells agents what they can do
with Light Protocol and ZK Compression. If you're
building with agents, start here.
View or install [`/skill.md`](https://zkcompression.com/skill.md), a structured capability file that tells agents what they can do
with Light Protocol and ZK Compression. If you're building with agents, start here.

* View: [`/skill.md`](https://zkcompression.com/skill.md)
Install or view dedicated agent skills:

### `llms.txt`
| Use case | Skill |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| Build DeFi programs (AMMs, vaults, lending) with Anchor or Pinocchio | [defi-program](https://github.com/Lightprotocol/skills/tree/main/skills/defi-program) |
| Integrate rent-free markets into routers and aggregators | [defi-router](https://github.com/Lightprotocol/skills/tree/main/skills/defi-router) |
| Stream account state via Laserstream gRPC | [data-streaming](https://github.com/Lightprotocol/skills/tree/main/skills/data-streaming) |
| Wallets and payment flows with light-token. Includes privy, wallet adapter, mobile wallet adapter signing. Optional nullifier to prevent your onchain instruction from being executed more than once. | [payments-and-wallets](https://github.com/Lightprotocol/skills/tree/main/skills/payments-and-wallets) |
| Airdrops, DePIN, token distribution | [airdrop](https://github.com/Lightprotocol/skills/tree/main/skills/airdrop) |
| Anti-double-spend nullifiers for Privacy-preserving ZK programs | [zk-nullifier](https://github.com/Lightprotocol/skills/tree/main/skills/zk-nullifier) |
| Testing programs and clients on localnet, devnet, mainnet | [testing](https://github.com/Lightprotocol/skills/tree/main/skills/testing) |
| Help with Debugging and Questions via DeepWiki MCP | [ask-mcp](https://github.com/Lightprotocol/skills/tree/main/skills/ask-mcp) |

`llms.txt` is an index of the docs. It lists key pages with descriptions
so agents can navigate to answers quickly.
> View all skills here: https://github.com/Lightprotocol/skills.

* View: [`/llms.txt`](https://zkcompression.com/llms.txt)
All skills are included and are auto-discovered based on context. Ask about light-token, defi, payments, or program migration and the agent uses the relevant skill automatically.

### `llms-full.txt`
<InstallAgentSkills />

`llms-full.txt` is the full, expanded index for agents that want complete coverage of the documentation.
## AI Prompts

* View: [`/llms-full.txt`](https://zkcompression.com/llms-full.txt)
<Card
title="Find ready-to-use AI prompts for your agent here and all guides. "
icon="chevron-right"
color="#0066ff"
href="/ai-tools/prompts"
horizontal
/>

## MCP

Expand Down Expand Up @@ -175,14 +189,9 @@ mcp__deepwiki__ask_question("Lightprotocol/light-protocol", "your question")
You can specify any public GitHub repo that is indexed with DeepWiki. When you connect to the MCP, you specify the repository when calling the tools. Learn more [here](https://docs.devin.ai/work-with-devin/deepwiki-mcp).
</Tip>

<div style={{ display: 'flex', alignItems: 'center', gap: '0.5em' }}>
<h3 style={{ margin: 0 }}>Alternative: DeepWiki Web</h3>
<a href="https://deepwiki.com/Lightprotocol/light-protocol" style={{ margin: 0 }}>
<img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki" style={{ marginTop: 0, marginBottom: 0, verticalAlign: 'middle' }} />
</a>
</div>
<Accordion title="Alternative: DeepWiki Web">

If you don't have the MCP installed we recommend to use AskDevin in your browser.
If you don't have the MCP installed we recommend to use [AskDevin](https://deepwiki.com/Lightprotocol/light-protocol) in your browser.

<Frame>
<iframe
Expand All @@ -196,3 +205,6 @@ If you don't have the MCP installed we recommend to use AskDevin in your browser
allowfullscreen
></iframe>
</Frame>

</Accordion>

Loading