Agent skill for authoring Quasar zero-copy Solana programs (quasar-lang). Covers account macros, constraints, SPL token CPI, events, errors, heap/dynamic data, Anchor migration, and quasar-svm testing.
Not included: Quasar CLI (quasar init/build/test/deploy/profile) — library authoring only.
Types: In quasar_lang::prelude, String<N> and Vec<T, N> are Pod aliases (PodString / PodVec) — not heap alloc types. See references/heap-and-dynamic-data.md.
Official documentation index: references/official-docs-index.md — https://quasar-lang.com/docs/
From the quasar-skill/ directory (where install.sh lives):
./install.sh # Auto-detect platform, user-level
./install.sh --all # Install to every detected tool
./install.sh --dry-run # Preview without changes
./install.sh --project # Copy into current repo .agents/skills/cp -R quasar-skill ~/.claude/skills/cp -R quasar-skill ~/.cursor/rules/quasar-skill
./install.sh --platform cursorcp -R quasar-skill ~/.agents/skills/quasar-skillcp -R quasar-skill .agents/skills/
# or
./install.sh --projectIn any supported agent session:
/quasar-skill scaffold a token escrow with PDA vault
Write a Quasar vault program with deposit and withdraw
Migrate this Anchor program to quasar-lang
The skill loads glossary-first terminology and lazy-loads detailed references from references/.
quasar-skill/
├── SKILL.md # Main skill (invoke with /quasar-skill)
├── references/ # Deep docs + official-docs-index.md
├── assets/ # minimal-counter-template.rs
├── install.sh # Cross-platform installer
└── README.md
python3 ~/.claude/skills/agent-skill-creator/scripts/validate.py quasar-skill/
python3 ~/.claude/skills/agent-skill-creator/scripts/security_scan.py quasar-skill/Both should exit 0 before publishing.
Derived from the Quasar workspace and official docs. Canonical examples: examples/escrow, examples/vault, lang/tests/compile_fail, tests/suite.
MIT — same as Quasar workspace.