plugins/dapp-sdd/skills/plan/SKILL.md
Use when creating a phased implementation plan from a specification, with review gates after each phase.
npx skillsauth add aaronbassett/midnight-knowledgebase dapp-sdd:planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates a phased implementation plan with mandatory review gates.
.dapp-sdd/spec.md - The expanded specificationdapp-sdd:constitution - Quality standards to followA phased plan saved to .dapp-sdd/plan.md with:
Every plan follows this structure:
create-mn-app scaffold.dapp-sdd/ to .gitignore# {DApp Name} Implementation Plan
## Phase 1: Project Setup
**Goal:** Establish project foundation with quality tooling
### Tasks
1. Verify create-mn-app scaffold is complete
2. Configure ESLint with strict rules
3. Configure Prettier for formatting
4. Verify TypeScript strict mode
5. Add `.dapp-sdd/` to `.gitignore`
**Skills:** `midnight-tooling:midnight-setup`
### Review Gate
- [ ] `compact-reviewer:compact-reviewer` (if contracts exist)
- [ ] `devs:code-reviewer`
---
## Phase 2: Contract Implementation
**Goal:** Implement the Compact smart contract
### Tasks
1. Create contract skeleton in `contracts/{name}.compact`
2. Define ledger state
3. Implement circuit: `{circuit_name}`
4. Add witness functions
**Skills:** `compact-core:language-reference`, `compact-core:contract-patterns`, `compact-core:standard-library`
### Review Gate
- [ ] `compact-reviewer:compact-reviewer`
- [ ] `devs:code-reviewer`
---
(Continue for remaining phases...)
.dapp-sdd/spec.mddapp-sdd:constitution.dapp-sdd/plan.mdReference these skills in the plan:
compact-core:contract-patterns - Contract design patternscompact-core:typescript-integration - TS integration patternsmidnight-proofs:* - Proof generation approachmidnight-tooling:midnight-setup - Tooling configurationtools
Use when setting up Midnight development environment, installing Compact compiler and developer tools, configuring proof server, verifying prerequisites, or getting started with Midnight development.
tools
--- name: midnight-tooling:midnight-debugging description: Use when encountering Midnight errors like "compact: command not found", "ERR_UNSUPPORTED_DIR_IMPORT", version mismatches, proof server failures, "@midnight-ntwrk" package errors, or compilation failures. --- # Midnight Environment Debugging Expert knowledge for identifying and resolving common Midnight development toolchain issues. ## Diagnostic Approach When encountering Midnight-related errors, follow this systematic approach: 1.
tools
Use when checking Midnight version compatibility, understanding pragma language_version, verifying compiler and runtime version relationships, or troubleshooting version mismatch errors between Midnight components.
tools
Use when setting up CI/CD for Midnight projects, configuring GitHub Actions for Compact contract compilation, running TypeScript tests in CI, validating version consistency, or automating contract builds.