# scaffold

scaffold walks an app from idea to deploy on a fixed checklist: architecture, contracts, explorer verification, frontend.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 256 installs · ★ 15 repo stars
- Author: therealharpaljadeja
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/therealharpaljadeja/monskills/tree/HEAD/skills/scaffold/SKILL.md
- Updated: 2026-10-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/therealharpaljadeja-scaffold

## What it does

The skill runs an app from a first idea to a deployed build. Planning the architecture and folder layout comes first, then contracts, deployment, verification and the frontend. The layout is fixed: `web/` for the app, `contracts/` for a Foundry project, `indexer/` when the app has to query past onchain events.

Contracts sit on top of OpenZeppelin instead of being rewritten: the checklist points to the audited base for token types, added with `forge install --no-git OpenZeppelin/openzeppelin-contracts`. Deployment runs through an Alchemy Agent Wallet session with CREATE2 via the CreateX factory, and it has to land before frontend work starts because the UI reads contract addresses. Verification uses one API call that covers all 3 explorers, not `forge verify-contract` as the first move.

One trap is patched at scaffold time. A fresh `create-next-app` ships with `target: ES2017`, while viem and wagmi code carries BigInt literals, so typechecking stops at TS2737. The target goes to ES2020 right after the project is created, edited with `jq` or by hand when `jq` is missing. Frontend defaults to Next.js, Wagmi and Shadcn.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill scaffold -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/scaffold/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/scaffold/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill scaffold -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/scaffold/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill scaffold -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/scaffold/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install therealharpaljadeja/monskills skills/scaffold
```

2. **Manually: put the files in place**
- File: `.github/skills/scaffold/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill scaffold -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/therealharpaljadeja/monskills --path skills/scaffold
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/scaffold/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill scaffold -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/therealharpaljadeja/monskills/tree/HEAD/skills/scaffold/SKILL.md

## When to use it
- Plan the app architecture before writing code
- Sort out which parts belong onchain and which stay on a normal backend
- Deploy a contract and hand its addresses to the UI
- Verify a contract across all explorers in one call
- Get past the BigInt typecheck failure in a fresh Next.js project

## Example prompts
- Use the scaffold skill: plan the architecture and folder layout, then take the contracts and frontend through to deploy.
- Deploy the contract, verify it on all explorers, and wire the UI to those addresses.
- Set up a Next.js app with Wagmi and Shadcn on top of OpenZeppelin contracts.

## Similar
- [web3-integration-specialist](https://affpapa.org/en/nevibecode/agents/web3-integration-specialist.md) — subagent · 824 installs
- [google-agents-cli-scaffold](https://affpapa.org/en/nevibecode/skills/google-agents-cli-scaffold.md) — skill · 585900 installs
- [scaffold-project](https://affpapa.org/en/nevibecode/skills/scaffold-project.md) — skill · ★ 3216 repo stars
- [scaffold-nextjs](https://affpapa.org/en/nevibecode/skills/scaffold-nextjs.md) — skill · 817 installs
- [svelte-scaffold](https://affpapa.org/en/nevibecode/commands/svelte-scaffold.md) — command · 127 installs
- [solidity](https://affpapa.org/en/nevibecode/skills/solidity.md) — skill · 763 installs

## Other versions with the same name
- [scaffold · codewithmukesh](https://affpapa.org/en/nevibecode/skills/codewithmukesh-scaffold.md) — 3900 installs
- [scaffold · sethgammon](https://affpapa.org/en/nevibecode/skills/sethgammon-scaffold.md) — ★ 937 repo stars

From the same set: [therealharpaljadeja/monskills](https://affpapa.org/en/nevibecode/by/therealharpaljadeja/monskills.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
