بنقرة واحدة
dapp-sddimplement
Use when executing implementation tasks with commits after each task and reviews after each phase.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when executing implementation tasks with commits after each task and reviews after each phase.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when encountering "potential witness-value disclosure" compiler errors, implementing commit-reveal patterns, working with persistentCommit/transientCommit vs persistentHash/transientHash, or designing privacy-preserving circuits with proper witness protection.
Use when asking about zero-knowledge proofs, ZK SNARKs, circuit compilation, witness data, prover/verifier roles, constraints, or how Midnight uses ZK for privacy.
Use when subscribing to real-time blockchain events, setting up WebSocket connections, monitoring contract state changes, building live dashboards, or implementing push notifications from Midnight.
Use when querying the Midnight indexer for blockchain data, fetching account balances, listing transactions, reading contract state, or building data-driven DApp backends.
Use when caching ZK proofs for performance, implementing proof cache invalidation, storing verification results, caching intermediate proof components, or building distributed proof caches with Redis.
Use when generating ZK proofs server-side, building proof-as-a-service backends, offloading proof computation from clients, creating proof generation queues, or implementing async proof generation.
| name | dapp-sdd:implement |
| description | Use when executing implementation tasks with commits after each task and reviews after each phase. |
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: