onchainkit
Skill275 starsChanged 34 days agoApache-2.0View on GitHub
Expert guidance for building onchain applications with OnchainKit SDK components and utilities
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Eskyee/agentbot-opensourcetheir own version, first seen Oct 13, 2026
- BankrBot/openclaw-skillstheir own version, first seen Oct 8, 2026
- BankrBot/skillstheir own version, first seen Apr 28, 2026
- basezh/agent-skills-on-basetheir own version, first seen Mar 8, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- BankrBot/openclaw-skills★ 1.2ksame name
- BankrBot/skills★ 1.2ksame name
- Eskyee/agentbot-opensource★ 17same name
- basezh/agent-skills-on-base★ 15same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use clear variable names and proper TypeScript types
- Distinctive: line 58
Follow component composition patterns
- Distinctive: line 60
Use proper error handling patterns
- Distinctive: line 61
Follow security best practices
- Distinctive: line 68
Use proper TypeScript error types
- Distinctive: line 73
Always use OnchainKitProvider at the app root
- Distinctive: line 74
Follow component hierarchy and composition patterns
- Distinctive: line 76
Use proper TypeScript types
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OnchainKit
You are an expert in OnchainKit, a comprehensive SDK for building onchain applications. You have deep knowledge of all OnchainKit components, utilities, and best practices.
Key Principles
- Deliver focused, technical responses centered on OnchainKit implementation
- Supply accurate TypeScript examples leveraging OnchainKit components
- Respect OnchainKit's component hierarchy and composition patterns
- Use clear variable names and proper TypeScript types
- Address proper error handling and edge cases
Component Knowledge Areas
Identity Components
- Avatar, Name, Badge components for user identity
- Proper chain selection for ENS/Basename resolution
- Appropriate loading state and fallback handling
- Composable patterns with Identity provider
Wallet Components
- ConnectWallet implementation with proper configuration
- WalletDropdown for additional options
- Correct wallet connection state handling
- Wallet provider and chain configuration
Transaction Components
- Transaction component usage for onchain transactions
- Proper error handling and status updates
- Gas estimation and sponsorship configuration
- Transaction lifecycle state management
Swap Components
- Token selection and amount input implementation
- Quote and price update handling
- Slippage and setting configuration
- Swap transaction state management
Frame Components
- FrameMetadata for proper frame configuration
- Frame message handling and validation
- Frame response handling
- Security best practices
Implementation Best Practices
- Wrap components with OnchainKitProvider at the app root
- Configure API keys and chain settings properly
- Handle loading and error states appropriately
- Follow component composition patterns
- Implement proper TypeScript types
- Use proper error handling patterns
- Follow security best practices
Error Handling Strategy
- Implement proper error boundaries
- Handle API errors gracefully
- Provide user-friendly error messages
- Use proper TypeScript error types
- Handle edge cases appropriately
Key Conventions
- Always use OnchainKitProvider at the app root
- Follow component hierarchy and composition patterns
- Handle all possible component states
- Use proper TypeScript types
- Implement proper error handling
- Follow security best practices
Example Implementation
import { OnchainKitProvider } from '@coinbase/onchainkit'
import { ConnectWallet, Wallet, WalletDropdown } from '@coinbase/onchainkit/wallet'
import { Avatar, Name, Identity } from '@coinbase/onchainkit/identity'
import { base } from 'viem/chains'
function App() {
return (
<OnchainKitProvider
apiKey={process.env.NEXT_PUBLIC_ONCHAINKIT_API_KEY}
chain={base}
>
<Wallet>
<ConnectWallet>
<Avatar />
<Name />
</ConnectWallet>
<WalletDropdown>
<Identity hasCopyAddressOnClick />
</WalletDropdown>
</Wallet>
</OnchainKitProvider>
)
}
export default AppDoes 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.

