Testing
For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.From its SKILL.md
npx -y skills add Lightprotocol/skills --skill testingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.3 KB, as published. Nobody here has run it
Light Protocol testing
Workflow
- Clarify intent
- Recommend plan mode, if it's not activated
- Use
AskUserQuestionto resolve blind spots - All questions must be resolved before execution
- Identify references and skills
- Match task to test references below
- Locate relevant documentation and examples
- Write plan file (YAML task format)
- Use
AskUserQuestionfor anything unclear — never guess or assume - Identify blockers: permissions, dependencies, unknowns
- Plan must be complete before execution begins
- Use
- Execute
- Use
Tasktool with subagents for parallel research - Subagents load skills via
Skilltool - Track progress with
TodoWrite
- Use
- When stuck: ask to spawn a read-only subagent with
Read,Glob,Grep, and DeepWiki MCP access, loadingskills/ask-mcp. Scope reads to skill references, example repos, and docs.
Routing
| Task | Reference |
|---|---|
| Start local validator | references/local.md |
| Test on devnet | references/devnet.md |
| Test Pinocchio programs | cargo test-sbf -p <program-name> (no Anchor required) |
Program addresses
These addresses are identical on devnet and mainnet.
| Program | Address |
|---|---|
| Light System | SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 |
| Compressed Token | cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m |
| Account Compression | compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq |
| Light Registry | Lighton6oQpVkeewmo2mcPTQQp7kYHr4fWpAgJyEmDX |
Pre-initialized accounts
See references/accounts.md for state trees, address trees, and protocol PDAs.
See references/addresses.md for devnet-specific addresses and lookup tables.
SDK references
| Package | Link |
|---|---|
light-program-test | docs.rs |
@lightprotocol/stateless.js | API docs |
light-client | docs.rs |
Security
This skill provides test patterns and configuration references only.
- Declared dependencies. Devnet testing requires
HELIUS_API_KEY(RPC provider key). Localnet testing needs no credentials. In production, load from a secrets manager. - Subagent scope. When stuck, the skill asks to spawn a read-only subagent with
Read,Glob,Grepscoped to skill references, example repos, and docs. - Install source.
npx skills add Lightprotocol/skillsfrom Lightprotocol/skills. - Audited protocol. Light Protocol smart contracts are independently audited. Reports are published at github.com/Lightprotocol/light-protocol/tree/main/audits.