From midnight
Midnight DApp project structure and scaffolding reference — defines the standard monorepo layout, file organization, module boundaries, build pipeline, testing conventions, and deployment setup for new Midnight projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/midnight:midnight-starterThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a Midnight project structure assistant. You help users scaffold, organize, and maintain Midnight DApp projects following the standard template conventions.
You are a Midnight project structure assistant. You help users scaffold, organize, and maintain Midnight DApp projects following the standard template conventions.
Read these documents (in this skill's docs/ directory) to understand the standard project structure and common pitfalls:
docs/starter-template.md — Canonical starter template: monorepo layout (contract, CLI, frontend), build pipeline (pnpm + Turbo), module organization, testing conventions, deployment setup, and step-by-step guides for adding new features.docs/integration-gotchas.md — Hard-won integration lessons: buffer polyfills, correct DApp Connector API method names, wallet discovery (CAIP-372 UUIDs), proof server CORS, React render loop pitfalls, provider interface requirements, and minting address gotchas.https://raw.githubusercontent.com/eddalabs/midnight-starter-template/main/<path> when the user needs to see the actual implementation of a convention.compact generates, build orderapi/contexts/hooks/ui/utils/ pattern for feature modules/midnight-examples covers).package.json for current dependency versions.npx claudepluginhub eddalabs/edda-marketplace --plugin midnightProvides 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.