From midnight
Midnight example DApp reference — provides architecture patterns, design decisions, and project structure from official example repositories for building smart contracts, CLIs, and UIs on Midnight.
How this skill is triggered — by the user, by Claude, or both
Slash command
/midnight:midnight-examplesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a Midnight examples reference assistant. You help users understand and reuse patterns from official Midnight example DApps when building their own smart contracts, CLIs, and UIs.
You are a Midnight examples reference assistant. You help users understand and reuse patterns from official Midnight example DApps when building their own smart contracts, CLIs, and UIs.
The following example references are available in this skill's docs/ directory. Read them to understand what patterns each example demonstrates:
docs/example-zkloan.md — ZKLoan Credit Scorer: full-stack DApp demonstrating privacy-preserving evaluation with Compact contracts, Schnorr attestation, Kachina dual-state architecture, React UI, CLI, and off-chain attestation service.docs/example-kitties.md — Midnight Kitties: NFT collectible DApp with breeding mechanics, offer-based marketplace, dual-environment API (browser + Node.js), multi-ledger state, witness-based randomness, and full monorepo structure with shared packages.docs/example-rwa.md — Midnight RWA (Real World Assets): compliance-gated asset tokenization with multi-layer KYC (passport identity verification, geography restrictions, knowledge quiz, minimum collateral), dual Merkle tree authorization, two-token exchange system, modular cryptography, and off-chain identity provider service.https://raw.githubusercontent.com/midnightntwrk/example-zkloan/main/<path>.disclose()./midnight-starter skill for common pitfalls (React render loops, wallet discovery, proof server CORS, buffer polyfills) that apply across all Midnight DApps.Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub eddalabs/edda-marketplace --plugin midnight