web3-dapp-playbook
Use when the user asks for a web3 dapp playbook, to scaffold a full-stack dapp, or a Next.js + Solidity + indexer + Kubernetes architecture. Produces a…
от j4flmao★ 47 звёзд на GitHub
Установить web3-dapp-playbook в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Purpose
Reference architecture for a full-stack Web3 dApp: Next.js frontend with wallet integration, Solidity contracts, indexing, and Kubernetes deployment.
Agent Protocol
Trigger
User phrases: "web3 dapp playbook", "build a full-stack dapp", "Next.js + Solidity architecture", "dapp scaffold".
Input Context
- Product requirements, scale targets, and existing stack.
- Constraints (budget, compliance, team size).
Output Artifact
Architecture guidance and component choices (no files unless requested).
Response Format
Layer: {contracts | frontend | infra}
Choice: {component + why}
Risk: {security, gas, RPC reliability}
Web3 DApp Playbook
MẠNH. CONCISE. AUTHORITATIVE.
1. Architecture Map
%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
flowchart TD
A["Next.js Frontend"] -->|RPC Call| B["Smart Contract (Solidity)"]
B -->|Emits Events| C["Indexer (The Graph/Squid)"]
C -->|GraphQL Query| A
D["Kubernetes"] -->|Deploys| A
D -->|Deploys| C
2. Core Directives
- Frontend: Next.js (App Router). Strict typing. Server components where possible.
- Contracts: Solidity. Foundry for testing: unit, fuzz and invariant tests gate CI (high line coverage is necessary, not sufficient); external audit before mainnet.
- Deployment: Kubernetes. Helm charts for deterministic state.
- Integration: No direct DB writes from frontend for on-chain state. Always read from indexer.
3. Unified Scaffold (Makefile)
.PHONY: build deploy-contracts deploy-k8s
# Build all layers
build:
cd frontend && npm install && npm run build
cd contracts && forge build
cd indexer && npm install && npm run build
# Deploy contracts to testnet/mainnet
deploy-contracts:
# Sign with an encrypted keystore (cast wallet import) or hardware wallet, never a raw private key in env
cd contracts && forge script script/Deploy.s.sol --rpc-url $(RPC_URL) --account $(DEPLOYER_ACCOUNT) --broadcast --verify
# Deploy infrastructure via kubectl
deploy-k8s:
kubectl apply -f k8s/namespace.yaml
kubectl apply -f k8s/frontend-deployment.yaml
kubectl apply -f k8s/indexer-deployment.yaml
kubectl rollout status deployment/frontend -n web3
Execute with precision. No deviations.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл web3-dapp-playbook?
Use when the user asks for a web3 dapp playbook, to scaffold a full-stack dapp, or a Next.js + Solidity + indexer + Kubernetes architecture. Produces a reference stack, build order and deployment scaffold. Not for wallet integration details (use blockchain-web3) or contract security (use blockchain-security).
Как установить скилл web3-dapp-playbook?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web3-dapp-playbook запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…