testing

For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "testing" with this command: npx skills add Lightprotocol/skills

Light Protocol testing

Workflow

  1. Clarify intent
    • Recommend plan mode, if it's not activated
    • Use AskUserQuestion to resolve blind spots
    • All questions must be resolved before execution
  2. Identify references and skills
    • Match task to test references below
    • Locate relevant documentation and examples
  3. Write plan file (YAML task format)
    • Use AskUserQuestion for anything unclear — never guess or assume
    • Identify blockers: permissions, dependencies, unknowns
    • Plan must be complete before execution begins
  4. Execute
    • Use Task tool with subagents for parallel research
    • Subagents load skills via Skill tool
    • Track progress with TodoWrite
  5. When stuck: ask to spawn a read-only subagent with Read, Glob, Grep, and DeepWiki MCP access, loading skills/ask-mcp. Scope reads to skill references, example repos, and docs.

Routing

TaskReference
Start local validatorreferences/local.md
Test on devnetreferences/devnet.md
Test Pinocchio programscargo test-sbf -p <program-name> (no Anchor required)

Program addresses

These addresses are identical on devnet and mainnet.

ProgramAddress
Light SystemSySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7
Compressed TokencTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m
Account Compressioncompr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq
Light RegistryLighton6oQpVkeewmo2mcPTQQp7kYHr4fWpAgJyEmDX

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

PackageLink
light-program-testdocs.rs
@lightprotocol/stateless.jsAPI docs
light-clientdocs.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, Grep scoped to skill references, example repos, and docs.
  • Install source. npx skills add Lightprotocol/skills from Lightprotocol/skills.
  • Audited protocol. Light Protocol smart contracts are independently audited. Reports are published at github.com/Lightprotocol/light-protocol/tree/main/audits.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

light-token-client

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

solana-rent-free-dev

No summary provided by upstream source.

Repository SourceNeeds Review
General

testing

No summary provided by upstream source.

Repository SourceNeeds Review
General

testing

No summary provided by upstream source.

Repository SourceNeeds Review
testing | V50.AI