celo-composer
Skill8 starsChanged 2 months agoApache-2.0View on GitHub
Scaffold Celo dApps with Celo Composer. Use when starting new Celo projects, creating MiniPay apps, or setting up development environments.
- Reads credentials
- Installs packages
In this repository15 other files it gives its agents.
- 8004Skill
- bridgingSkill
- celo-defiSkill
- celo-rpcSkill
- celo-stablecoinsSkill
- contract-verificationSkill
- evm-foundrySkill
- evm-hardhatSkill
- evm-wallet-integrationSkill
- fee-abstractionSkill
- minipay-integrationSkill
- thirdwebSkill
- viemSkill
- wagmiSkill
- x402Skill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Follow the prompts to select your options.
- Distinctive: line 143
If you selected Hardhat or Foundry:
- Very specific: line 179
Create .env.local in apps/web/:
- Very specific: line 200
Create files in apps/web/app/:
- Very specific: line 211
Add to apps/web/components/ or shared packages/ui/:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Celo Composer
This skill covers using Celo Composer to scaffold Celo dApps with pre-configured templates.
When to Use
- Starting a new Celo project
- Creating a MiniPay Mini App
- Setting up a Farcaster Miniapp
- Need pre-configured Next.js + Web3 setup
Quick Start
Interactive Mode
npx @celo/celo-composer@latest createFollow the prompts to select your options.
With Project Name
npx @celo/celo-composer@latest create my-celo-appNon-Interactive (Flags)
npx @celo/celo-composer@latest create my-celo-app \
--template basic \
--wallet-provider rainbowkit \
--contracts hardhatQuick Start with Defaults
npx @celo/celo-composer@latest create my-celo-app --yesTemplates
| Template | Description | Use Case |
basic | Standard Next.js 14+ dApp | General web3 applications |
minipay | Mobile-first MiniPay app | MiniPay Mini Apps |
farcaster-miniapp | Farcaster SDK + Frame | Farcaster integrations |
ai-chat | Standalone chat application | AI-powered dApps |
Create MiniPay App
npx @celo/celo-composer@latest create -t minipayCreate Farcaster Miniapp
npx @celo/celo-composer@latest create -t farcaster-miniappConfiguration Options
Wallet Providers
| Provider | Description |
rainbowkit | Popular wallet connection UI (default) |
thirdweb | thirdweb Connect SDK |
none | No wallet provider |
Smart Contracts
| Option | Description |
hardhat | Hardhat development environment (default) |
foundry | Foundry development environment |
none | No smart contracts |
Project Structure
my-celo-app/
├── apps/
│ ├── web/ # Next.js application
│ │ ├── app/ # App router pages
│ │ ├── components/ # React components
│ │ └── ...
│ └── contracts/ # Smart contracts (if selected)
│ ├── contracts/ # Solidity files
│ ├── scripts/ # Deployment scripts
│ └── test/ # Contract tests
├── packages/
│ ├── ui/ # Shared UI components
│ └── utils/ # Shared utilities
├── pnpm-workspace.yaml # Workspace configuration
├── turbo.json # Turborepo configuration
└── package.jsonRunning the Project
cd my-celo-app
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm buildTech Stack
- Framework: Next.js 14+ with App Router
- Styling: Tailwind CSS
- Components: shadcn/ui
- Monorepo: Turborepo + PNPM workspaces
- Language: TypeScript
- Web3: viem + wagmi (or thirdweb)
Requirements
- Node.js 18.0.0 or higher
- PNPM (recommended) or npm/yarn
Working with Contracts
If you selected Hardhat or Foundry:
Hardhat
# Navigate to contracts
cd apps/contracts
# Compile
npx hardhat compile
# Test
npx hardhat test
# Deploy to Celo Sepolia
npx hardhat run scripts/deploy.ts --network celoSepoliaFoundry
# Navigate to contracts
cd apps/contracts
# Build
forge build
# Test
forge test
# Deploy to Celo Sepolia
forge script script/Deploy.s.sol --rpc-url https://forno.celo-sepolia.celo-testnet.org --broadcastEnvironment Variables
Create .env.local in apps/web/:
# Required for wallet connection
NEXT_PUBLIC_WC_PROJECT_ID=your_walletconnect_project_id
# Optional: Alchemy API key
NEXT_PUBLIC_ALCHEMY_API_KEY=your_alchemy_keyCreate .env in apps/contracts/:
PRIVATE_KEY=your_private_key
CELOSCAN_API_KEY=your_celoscan_api_keyCustomization
Adding New Pages
Create files in apps/web/app/:
// apps/web/app/my-page/page.tsx
export default function MyPage() {
return <div>My Custom Page</div>;
}Adding Components
Add to apps/web/components/ or shared packages/ui/:
// apps/web/components/MyComponent.tsx
export function MyComponent() {
return <div>My Component</div>;
}Additional Resources
- templates.md - Detailed template documentation
Source of truth: Celopedia
These skills are focused, task-level references. For anything broader — verified contract addresses, ecosystem and protocol data, listing requirements, grants, governance, migration guides, or cross-cutting Celo questions — Celopedia is the canonical source and is kept current. Where this skill and Celopedia disagree, Celopedia wins.
npx skills add celo-org/celopedia-skillsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

