plugins/dapp-sdd/skills/implement/SKILL.md
Use when executing implementation tasks with commits after each task and reviews after each phase.
npx skillsauth add aaronbassett/midnight-knowledgebase dapp-sdd:implementInstall 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.
Executes the task list autonomously with quality gates.
.dapp-sdd/tasks.md - Task list with checkboxes.dapp-sdd/plan.md - Implementation plan (for context).dapp-sdd/spec.md - Specification (for requirements).dapp-sdd/pr-context.json - PR metadata.dapp-sdd/tasks.mdcompact-core:* skillsreadme-and-co:documentation-standardsnpm run lint
npm run format:check
tsc --noEmit
compact compile contracts/*.compact
git-lovely:useful-commits for messagegit add .git commit -m "{message}"git push.dapp-sdd/tasks.md.dapp-sdd/pr-context.jsonWhen encountering a [REVIEW] task:
Run Compact review (if contracts exist):
Use compact-reviewer:compact-reviewer agent
Context: "You are reviewing an example dApp for the Midnight Network.
This project is intended to demonstrate concepts to developers learning Midnight.
Be pragmatic with suggestions:
- Focus on correctness and clarity over production concerns
- Flag anything that would confuse learners
- Flag bad practices that learners might copy
- Accept reasonable shortcuts that keep the example focused
- Ensure educational comments are accurate"
Run TypeScript review:
Use devs:code-reviewer agent
Context: "You are reviewing an example dApp for the Midnight Network.
This project is intended to demonstrate concepts to developers learning Midnight.
Be pragmatic with suggestions:
- Focus on correctness and clarity over production concerns
- Flag anything that would confuse learners
- Flag bad practices that learners might copy
- Accept reasonable shortcuts that keep the example focused
- Ensure educational comments are accurate"
Address all issues raised by either reviewer
Commit fixes with appropriate message
Mark review complete in tasks.md
When encountering the [COMPLETE] task:
Generate summary:
Post to PR:
gh pr comment {prNumber} --body "## Implementation Complete
### Summary
- User Stories: {X} completed
- Tasks: {Y} completed
- Phases: {Z} reviewed
### Key Files
- `contracts/{name}.compact` - Smart contract
- `src/deploy.ts` - Deployment script
- `src/cli.ts` - CLI interface
### Quality
- All linting checks pass
- All formatting checks pass
- All TypeScript checks pass
- All Compact compilation passes
- All tests pass
Ready for final review!"
Mark PR ready:
gh pr ready {prNumber}
Update .dapp-sdd/pr-context.json after each task:
{
"owner": "...",
"repo": "...",
"branch": "...",
"prNumber": 42,
"currentPhase": 2,
"completedTasks": ["T001", "T002", "T003"],
"status": "implementing"
}
If a task fails:
tools
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.