superteam-academy-dev

Superteam Academy — decentralized learning platform on Solana with soulbound XP tokens (Token-2022), Metaplex Core credentials, course registry, achievements, and creator incentives. Covers Anchor program development, testing with LiteSVM/Mollusk/Trident.

12 stars
Complexity: medium

About this skill

This AI agent skill is designed for interacting with and developing for the Superteam Academy, a decentralized learning platform built on the Solana blockchain. It provides comprehensive capabilities for managing various aspects of the platform's smart contracts, including the issuance of soulbound XP tokens (Token-2022) and Metaplex Core credentials. Agents can leverage this skill to implement course registry and enrollment logic, track lesson completion, manage achievement systems, and handle minter role assignments. The skill is particularly suited for Anchor program development, offering insights into testing methodologies using tools like LiteSVM, Mollusk, and Trident. It covers the entire lifecycle from development to deployment on devnet and mainnet. By abstracting the core concepts like account structures (PDAs, Metaplex Core NFTs) and a detailed list of platform instructions, it empowers an AI agent to perform complex on-chain operations and development tasks with a deep understanding of the Superteam Academy's architecture.

Best use case

The primary use case for this skill is to assist developers and project maintainers in building, extending, and managing the Superteam Academy platform on Solana. It is invaluable for tasks involving smart contract development, feature implementation, and maintenance, especially for those working with Solana's Anchor framework. Developers can benefit from an AI agent that understands the intricate details of the Academy's on-chain logic, account structures, and instruction sets, enabling faster and more accurate development, testing, and deployment cycles for new features or bug fixes.

Superteam Academy — decentralized learning platform on Solana with soulbound XP tokens (Token-2022), Metaplex Core credentials, course registry, achievements, and creator incentives. Covers Anchor program development, testing with LiteSVM/Mollusk/Trident.

The user should expect well-structured code snippets, deployment scripts, or detailed architectural explanations specific to Superteam Academy's Solana programs, enabling efficient on-chain development and management.

Practical example

Example input

I need to implement a new instruction in the Superteam Academy Anchor program to allow minters to revoke their role. Can you provide the Anchor instruction definition and associated account structure?

Example output

```rust
// In lib.rs
pub fn revoke_minter(ctx: Context<RevokeMinter>) -> Result<()> {
    ctx.accounts.minter_role.close(ctx.accounts.authority.to_account_info())?; // Close the PDA
    Ok(())
}

// In instructions.rs
#[derive(Accounts)]
pub struct RevokeMinter<'info> {
    #[account(mut, has_one = authority, close = authority)] // Mark for closing and returning rent to authority
    pub minter_role: Account<'info, MinterRole>, // The minter role account to be revoked
    #[account(mut)]
    pub authority: Signer<'info>, // The entity authorized to revoke (e.g., the minter or an admin)
}
```
This instruction closes the `MinterRole` PDA, returning its lamports to the `authority` account. Proper authorization checks would be crucial here to ensure only authorized entities can revoke roles.

When to use this skill

  • Developing new features or modifying existing smart contracts for the Superteam Academy on Solana.
  • Implementing logic for XP token minting or Metaplex Core credential issuance.
  • Debugging or testing on-chain interactions related to courses, enrollments, or achievements.
  • Automating deployment scripts or upgrades for Superteam Academy programs.

When not to use this skill

  • For general Solana development tasks unrelated to the Superteam Academy platform.
  • If the task primarily involves off-chain data processing or frontend UI development.
  • When the user needs a high-level overview or conceptual explanation of Solana without specific development tasks.
  • For tasks requiring expertise in other blockchain ecosystems.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/skills/SKILL.md --create-dirs "https://raw.githubusercontent.com/solanabr/superteam-academy/main/.claude/skills/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/skills/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How superteam-academy-dev Compares

Feature / Agentsuperteam-academy-devStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexitymediumN/A

Frequently Asked Questions

What does this skill do?

Superteam Academy — decentralized learning platform on Solana with soulbound XP tokens (Token-2022), Metaplex Core credentials, course registry, achievements, and creator incentives. Covers Anchor program development, testing with LiteSVM/Mollusk/Trident.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as medium. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Superteam Academy Skill

## What this Skill is for

Use this Skill when the user asks for:
- On-chain program development for the Academy platform
- XP token minting (soulbound Token-2022)
- Course registry and enrollment logic
- Lesson completion and bitmap tracking
- Finalize course / award XP flows
- Metaplex Core credential issuance and upgrades (soulbound via PermanentFreezeDelegate)
- Achievement system (create, award, deactivate)
- Minter role management (register, revoke, reward XP)
- Anchor program development, testing, security
- Deployment workflows (devnet → mainnet)

## Core Concepts

### Account Structure (6 PDAs + Metaplex Core NFTs)

| Account | Seeds | Purpose |
|---------|-------|---------|
| Config | `["config"]` | Singleton: authority, backend signer, XP mint |
| Course | `["course", course_id.as_bytes()]` | Course metadata, creator, track, XP amounts |
| Enrollment | `["enrollment", course_id.as_bytes(), user.key()]` | Lesson bitmap, completion timestamps, credential ref (closeable) |
| MinterRole | `["minter", minter.key()]` | Registered XP minter with optional per-call cap (closeable via revoke_minter) |
| AchievementType | `["achievement", achievement_id.as_bytes()]` | Achievement definition: name, collection, supply cap, XP reward |
| AchievementReceipt | `["achievement_receipt", achievement_id.as_bytes(), recipient.key()]` | Proof of award — PDA collision prevents double-awarding |
| Credential NFT | Metaplex Core asset (1 per learner per track) | Soulbound, wallet-visible, upgradeable via URI + Attributes plugin |

### Instructions (16 Total)

| Category | Instructions |
|----------|-------------|
| **Platform Management (2)** | `initialize`, `update_config` |
| **Courses (2)** | `create_course`, `update_course` |
| **Enrollment & Progress (6)** | `enroll`, `complete_lesson`, `finalize_course`, `close_enrollment`, `issue_credential`, `upgrade_credential` |
| **Minter Roles (3)** | `register_minter`, `revoke_minter`, `reward_xp` |
| **Achievements (3)** | `create_achievement_type`, `award_achievement`, `deactivate_achievement_type` |

### Core Learning Loop

```
ENROLL → COMPLETE LESSONS → FINALIZE COURSE → ISSUE CREDENTIAL → CLOSE ENROLLMENT
```

1. **Enroll**: Learner signs, prerequisite check, create Enrollment PDA
2. **Complete Lessons**: Backend signs, set bitmap bit, mint lesson XP (Token-2022 CPI)
3. **Finalize Course**: Backend signs, verify all lessons done, mint completion bonus + creator XP
4. **Issue Credential**: Backend signs, Metaplex Core createV2 CPI (PermanentFreezeDelegate + Attributes plugins)
5. **Close Enrollment**: Learner signs, reclaim rent (immediate if completed, 24h cooldown if not)

### Key Design Decisions

- **XP = soulbound Token-2022 token** (NonTransferable + PermanentDelegate)
- **Credentials = Metaplex Core NFTs** — soulbound via PermanentFreezeDelegate, wallet-visible, upgradeable
- **Config PDA = update authority** of all track collection NFTs
- **`finalize_course` and `issue_credential` are split** — XP awards don't depend on credential CPI
- **Completion bonus merged into `finalize_course`** — bonus XP = floor(xp_per_lesson * lesson_count / 2)
- **No LearnerProfile PDA** — XP balance tracked via Token-2022 ATA
- **Rotatable backend signer** stored in Config
- **Reserved bytes** on all accounts for future-proofing without migrations
- **`revoke_minter` closes the MinterRole PDA** (not a soft deactivation)

## Technology Stack

| Layer | Stack |
|-------|-------|
| Programs | Anchor 0.31+, Rust 1.82+ |
| Token Standard | Token-2022 (NonTransferable, PermanentDelegate, MetadataPointer, TokenMetadata) |
| Credentials | Metaplex Core NFTs (soulbound via PermanentFreezeDelegate) |
| Testing | Mollusk, LiteSVM, Trident (fuzz) |
| Client | TypeScript, @coral-xyz/anchor, @solana/web3.js |
| Frontend | Next.js 14+, React, Tailwind CSS |
| RPC | Helius (DAS API for XP leaderboard + credential NFT queries) |
| Content | Arweave (immutable course content) |
| Multisig | Squads (platform authority) |

## Compute Budgets

| Instruction | CU Budget |
|-------------|-----------|
| initialize | ~50K |
| create_course | ~15K |
| complete_lesson | ~30K |
| finalize_course | ~50K |
| issue_credential | ~50-100K |
| upgrade_credential | ~50-100K |
| award_achievement | ~80K |

## Operating Procedure

### 1. Classify the task

- Platform setup (Config, authority)
- Course management (create, update, track assignment)
- Enrollment flow (enroll, lessons, finalize, credentials, close)
- Minter roles (register, revoke, reward XP)
- Achievements (create type, award, deactivate)
- Account structure (PDAs, state)
- Access control (backend signer, authority, minter permissions)
- Testing (unit, integration, fuzz)
- Security (audit, attack vectors)
- Deployment (devnet, mainnet)

### 2. Implementation Checklist

Always verify:
- Account validation (owner, signer, PDA seeds + bump)
- Backend signer matches `Config.backend_signer`
- Checked arithmetic throughout (`checked_add`, `checked_sub`, `checked_mul`)
- Bitmap operations correct for lesson tracking
- Events emitted for state changes
- Canonical PDA bumps stored (never recalculated)
- Reserved bytes preserved on account modifications
- CPI target program IDs validated

### 3. Testing Requirements

- **Unit test** (Mollusk): Each instruction in isolation
- **Integration test** (LiteSVM): Full enroll → complete lessons → finalize → credential flow
- **Fuzz test** (Trident): Random amounts, edge cases, bitmap bounds
- **Attack test**: Unauthorized signer, double completion, supply exhaustion

## Progressive Disclosure (read when needed)

### Programs & Development
- [programs-anchor.md](programs-anchor.md) — Anchor patterns, constraints, testing pyramid, IDL generation

### Testing & Security
- [testing.md](testing.md) — LiteSVM, Mollusk, Trident, CI guidance
- [security.md](security.md) — Vulnerability categories, program checklists

### Deployment
- [deployment.md](deployment.md) — Devnet/mainnet workflows, verifiable builds, multisig

### Ecosystem & Reference
- [ecosystem.md](ecosystem.md) — Token standards, DeFi protocols
- [idl-codegen.md](idl-codegen.md) — Codama/Shank client generation
- [resources.md](resources.md) — Official documentation links

## Task Routing Guide

| User asks about... | Primary file(s) |
|--------------------|-----------------|
| Anchor program code | programs-anchor.md |
| Unit/integration testing | testing.md |
| Fuzz testing (Trident) | testing.md |
| Security review, audit | security.md |
| Deploy to devnet/mainnet | deployment.md |
| Token standards, SPL, Token-2022 | ecosystem.md |
| Generated clients, IDL | idl-codegen.md |
| Official docs and resources | resources.md |

## Canonical Docs

| Document | Purpose |
|----------|---------|
| `docs/SPEC.md` | Source of truth for all program behavior |
| `docs/ARCHITECTURE.md` | Account maps, data flows, CU budgets |
| `docs/INTEGRATION.md` | Frontend integration guide |

Related Skills

pr-summary

13
from abdullah1854/MCPGateway

Creates comprehensive Pull Request summaries with changes, test plan, and related issues.

Workflow & ProductivityClaude

Claude Skill Development Guide

12
from rootvc/claude-apply-skill

This document explains how the Root Ventures Apply skill is structured and how to create similar Claude skills.

Workflow & ProductivityClaude

opentestai

10
from jarbon/opentestai

Open-source automated bug detection, persona feedback, and test case generation using 33+ specialized AI testing agent profiles. Analyzes application screenshots, network logs, console logs, and DOM/accessibility trees for issues. Selects relevant virtual tester profiles based on artifact content, then runs each tester's specialized prompt to find high-confidence bugs. Also generates diverse user persona feedback panels for UX/product insight, and creates comprehensive test case suites for any page. Supports quick check, deep check, compliance audit, and diff/comparison modes. Use this skill when the user asks to: "check for bugs", "test this page", "find issues", "audit this", "QA check", "review for issues", "get persona feedback", "user feedback", "persona panel", "what would users think", "generate test cases", "create tests", "write test cases", "test suite", "quick check", "deep check", "compliance audit", "GDPR audit", "accessibility audit", "compare to last run", "diff", or provides screenshots, console logs, network logs, URLs, or DOM content for analysis.

Testing & QAClaude

writing-content

7
from ai-mindset-org/pos-sprint

Интерактивный процесс написания текстов для вайб-маркетинга на основе Julian Shapiro framework. **Новые возможности (v2.0):** - Research & Gap Analysis (Perplexity → WebSearch fallback) - Scoring 0-5 вместо binary (Novelty + Resonance + Hook + Clarity) - AI-Slop Detection на всех этапах (10 типов patterns) - 3 варианта intro с self-scoring - Markdown export всех промежуточных результатов **Русские triggers:** "напиши пост по шапиро", "написать статью по фреймворку шапиро", "создай текст в стиле julian shapiro", "помоги написать контент по методу shapiro", "контент по julian shapiro фреймворку", "пост по julian shapiro", "напиши в стиле шапиро" **English triggers:** "write content using julian shapiro framework", "create post with shapiro method", "write article shapiro style", "help with julian shapiro writing" **Generic triggers:** "напиши статью", "помоги написать контент", "создай текст", "начать писать", "хочу написать пост", "нужна помощь с текстом", "write content", "write article", "создай контент", "придумай идею для статьи", or requests help with content creation process.

Content & DocumentationClaude

swe-cli-skills

12
from SylphAI-Inc/skills

Senior engineer CLI expertise for AI agents — workflows, safety guardrails, gotchas, and anti-patterns across cloud, IaC, containers, databases, dev tools, and platforms

DevOps & Infrastructure

PicoClaw Fleet

11
from EricGrill/agents-skills-plugins

Orchestrate a fleet of remote PicoClaw workers over SSH for fast, ephemeral one-shot tasks.

DevOps & Infrastructure

VibeCollab — Setup Instructions for AI Assistants

9
from flashpoint493/VibeCollab

You are helping a user set up VibeCollab in their project.

Workflow & Productivity

raycast-extension-docs

9
from lemikeone/Codex-skill-raycast-extension

Guidance for building, debugging, and publishing Raycast extensions using the Raycast documentation set. Use when Codex needs to create or modify Raycast extensions (React/TypeScript/Node), consult Raycast API reference or UI components, build AI extensions, handle manifest/lifecycle/preferences, troubleshoot issues, or prepare/publish extensions to the Raycast Store or Teams.

Coding & Development

evomap

9
from hyz0906/paper

Connect to the EvoMap collaborative evolution marketplace. Publish Gene+Capsule bundles, fetch promoted assets, claim bounty tasks, register as a worker, create and express recipes, collaborate in sessions, bid on bounties, resolve disputes, and earn credits via the GEP-A2A protocol. Use when the user mentions EvoMap, evolution assets, A2A protocol, capsule publishing, agent marketplace, worker pool, recipe, organism, session collaboration, or service marketplace.

AI Agent Marketplace

maestro

8
from Viniciuscarvalho/maestro

Intelligent skill knowledge gateway. Routes tasks to the right knowledge without loading all skills into context. MUST be consulted before any coding task — call the search_skills MCP tool to retrieve relevant expertise from 100+ indexed skills covering Swift, SwiftUI, concurrency, testing, architecture, performance, and security.

Coding & Development

opentui

7
from LeonardoTrapani/better-skills

Comprehensive OpenTUI skill for building terminal user interfaces. Covers the core imperative API, React reconciler, and Solid reconciler. Use for any TUI development task including components, layout, keyboard handling, animations, and testing.

Coding & Development

calm-ui

7
from brijr/vibe

Apply a restrained, Swiss/Japanese/Scandinavian/German-influenced product design system when building or refining UI in React, Next.js, TypeScript, and shadcn/ui. Use when the user asks to build, refine, critique, redesign, or review a page, screen, component, form, table, dashboard, layout, or other frontend interface, especially in projects using shadcn/ui. Do not use for marketing sites, landing pages, non-UI work, or requests for bold, playful, maximalist, or otherwise expressive aesthetics.

Frontend Development