인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
배포 및 운영 · SKILL.md

web3-dapp-playbook

web3-dapp-playbook

Playbook for building full-stack Web3 applications (Next.js, Solidity, Kubernetes).

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: web3-dapp-playbook description: Playbook for building full-stack Web3 applications (Next.js, Solidity, Kubernetes).

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

  1. Frontend: Next.js (App Router). Strict typing. Server components where possible.
  2. Contracts: Solidity. Foundry for testing. CI/CD requires 100% test coverage.
  3. Deployment: Kubernetes. Helm charts for deterministic state.
  4. 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:
	cd contracts && forge script script/Deploy.s.sol --rpc-url $(RPC_URL) --broadcast

# 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.

저장한 Skills