[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CKG4X3CKD4EF20TP8S5MM4":3,"skill-same:01M6CKG4X3CKD4EF20TP8S5MM4":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6CKG4X3CKD4EF20TP8S5MM4","polygon-pos-dev",null,"Comprehensive guide for Polygon PoS blockchain development. Use when deploying smart contracts to Polygon, testing on Amoy testnet, getting test tokens from faucets, or verifying contracts on Polygonscan. Supports Foundry framework with deployment scripts and testing strategies.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fakshatgada\u002Fpolygon-pos-dev\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34],"dev","polygon pos dev","testing","test","foundry","deployment","development","framework","blockchain","guide","use","contracts","2026-11-10 10:12:30",false,"---\nname: polygon-pos-dev\ndescription: Comprehensive guide for Polygon PoS blockchain development. Use when deploying smart contracts to Polygon, testing on Amoy testnet, getting test tokens from faucets, or verifying contracts on Polygonscan. Supports Foundry framework with deployment scripts and testing strategies.\n---\n\n# Polygon PoS Development\n\nEnd-to-end guide for developing and deploying smart contracts on Polygon PoS blockchain using Foundry.\n\n## Overview\n\nPolygon PoS is an EVM-compatible Proof-of-Stake sidechain for Ethereum with:\n- Low transaction costs (fraction of a cent)\n- Fast block times (~2 seconds)\n- High throughput (65,000+ TPS theoretical)\n- Full Ethereum tooling compatibility\n- POL token for gas fees\n\n**Default Network**: Amoy Testnet (Chain ID: 80002) - Use for all testing before mainnet.\n\n---\n\n## ? Quick Navigation\n\n**For Agents\u002FFast Deployment**: Jump to [Quick Start Path](#quick-start-path) (5-10 min)\n\n**For Production\u002FThorough Testing**: Jump to [Complete Development Path](#complete-development-path) (30-60 min)\n\n**For Reference**: See sections below for [Network Configuration](#network-configuration), [Faucets](#getting-testnet-tokens), [Troubleshooting](#troubleshooting)\n\n---\n\n## Two Development Paths\n\nChoose based on your needs:\n\n| Aspect | Quick Start Path | Complete Development Path |\n|--------|------------------|---------------------------|\n| **Time** | 5-10 minutes | 30-60 minutes |\n| **Best for** | Prototypes, demos, simple contracts | Production, complex systems, mainnet |\n| **Testing** | Basic compilation check | Unit tests, integration tests, fork tests |\n| **Scripts Used** | None (direct forge commands) | Direct forge commands with all options |\n| **Documentation** | Minimal | Full reference guides |\n| **Verification** | Automatic during deploy | Multiple methods with troubleshooting |\n| **Agent-Friendly** | ✅ Optimized for speed | ⚠️ Comprehensive but slower |\n\n### Path 1: Quick Start (Minimal Time - Agent-Friendly)\n**Best for**: Fast deployment, simple contracts, prototyping\n**Time**: 5-10 minutes\n**What you get**: Contract deployed and verified on testnet\n\nSkip to [Quick Start Path](#quick-start-path) below.\n\n### Path 2: Complete Guide (Full Development Workflow)\n**Best for**: Production contracts, complex systems, thorough testing\n**Time**: 30-60 minutes\n**What you get**: Fully tested, optimized, and production-ready deployment\n\nSkip to [Complete Development Path](#complete-development-path) below.\n\n---\n\n## Quick Start Path\n\n**Goal**: Deploy a contract to Polygon Amoy testnet in minimal steps.\n\n### Prerequisites\n\n- Foundry installed: `curl -L https:\u002F\u002Ffoundry.paradigm.xyz | bash && foundryup`\n- Wallet with private key\n- Polygonscan API key (get from https:\u002F\u002Fpolygonscan.com\u002Fmyapikey)\n\n### Step 1: Create Project (30 seconds)\n\n```bash\nforge init my-polygon-project\ncd my-polygon-project\n```\n\n### Step 2: Configure Environment (1 minute)\n\nCreate `.env` file:\n```bash\nPRIVATE_KEY=your_private_key_without_0x_prefix\n```\n\n### Step 3: Get Testnet Tokens (2 minutes)\n\nVisit: https:\u002F\u002Fwww.alchemy.com\u002Ffaucets\u002Fpolygon-amoy\n- Paste your wallet address\n- Claim 0.2-0.5 POL (no signup needed)\n\n### Step 4: Deploy (1 minute)\n\n```bash\n# Deploy to Amoy testnet\nforge script script\u002FCounter.s.sol:CounterScript \\\n    --rpc-url https:\u002F\u002Frpc-amoy.polygon.technology \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast\n```\n\n**Done!** Your contract is deployed and verified on Amoy testnet.\n\nView at: `https:\u002F\u002Famoy.polygonscan.com\u002Faddress\u002FYOUR_CONTRACT_ADDRESS`\n\n---\n\n## Complete Development Path\n\n**Goal**: Production-ready deployment with comprehensive testing and optimization.\n\n### Phase 1: Setup (5 minutes)\n\n1. **Install Foundry**:\n```bash\ncurl -L https:\u002F\u002Ffoundry.paradigm.xyz | bash\nfoundryup\n```\n\n2. **Initialize Project**:\n```bash\nforge init my-polygon-project\ncd my-polygon-project\n```\n\n3. **Configure for Polygon**:\n\nUpdate `foundry.toml` with Polygon settings:\n```toml\n[profile.default]\nsrc = \"src\"\nout = \"out\"\nlibs = [\"lib\"]\nsolc_version = \"0.8.24\"\noptimizer = true\noptimizer_runs = 200\n\n[rpc_endpoints]\namoy = \"https:\u002F\u002Frpc-amoy.polygon.technology\"\npolygon = \"https:\u002F\u002Fpolygon-rpc.com\"\n\n[etherscan]\namoy = { key = \"${POLYGONSCAN_API_KEY}\", url = \"https:\u002F\u002Fapi-amoy.polygonscan.com\u002Fapi\" }\npolygon = { key = \"${POLYGONSCAN_API_KEY}\", url = \"https:\u002F\u002Fapi.polygonscan.com\u002Fapi\" }\n```\n\n4. **Setup Environment**:\n\nCreate `.env` file:\n```bash\nPRIVATE_KEY=your_private_key\nWALLET_ADDRESS=0xYourAddress\nPOLYGONSCAN_API_KEY=your_api_key\n```\n\n### Phase 2: Write & Test Contracts (10-20 minutes)\n\n1. **Write Contract** (or use `assets\u002Fsample-contracts\u002FHelloWorld.sol` as template)\n\n2. **Write Tests**:\n```solidity\n\u002F\u002F test\u002FMyContract.t.sol\nimport \"forge-std\u002FTest.sol\";\nimport \"..\u002Fsrc\u002FMyContract.sol\";\n\ncontract MyContractTest is Test {\n    MyContract public myContract;\n    \n    function setUp() public {\n        myContract = new MyContract();\n    }\n    \n    function testDeployment() public {\n        assertEq(myContract.owner(), address(this));\n    }\n}\n```\n\n3. **Run Tests**:\n```bash\nforge test -vvv                    # Run tests\nforge test --gas-report            # Check gas usage\nforge coverage                     # Check coverage\n```\n\n4. **Fork Testing** (optional):\n```bash\n# Test against real Polygon state\nforge test --fork-url https:\u002F\u002Fpolygon-rpc.com\n```\n\nSee `references\u002Ftesting-strategies.md` for comprehensive testing patterns.\n\n### Phase 3: Get Testnet Tokens (2-5 minutes)\n\nVisit one of these faucets:\n\n**Alchemy** (recommended - no auth): https:\u002F\u002Fwww.alchemy.com\u002Ffaucets\u002Fpolygon-amoy\n**QuickNode**: https:\u002F\u002Ffaucet.quicknode.com\u002Fpolygon\u002Famoy\n**GetBlock**: https:\u002F\u002Fgetblock.io\u002Ffaucet\u002Fmatic-amoy\u002F\n**Chainlink**: https:\u002F\u002Ffaucets.chain.link\u002Fpolygon-amoy\n**LearnWeb3**: https:\u002F\u002Flearnweb3.io\u002Ffaucets\u002Fpolygon_amoy\u002F\n\n### Phase 4: Deploy to Testnet (2-5 minutes)\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\nCreate a deployment script in `script\u002FDeploy.s.sol`:\n\n```solidity\n\u002F\u002F SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"forge-std\u002FScript.sol\";\nimport \"..\u002Fsrc\u002FYourContract.sol\";\n\ncontract DeployScript is Script {\n    function run() external {\n        uint256 deployerPrivateKey = vm.envUint(\"PRIVATE_KEY\");\n        \n        vm.startBroadcast(deployerPrivateKey);\n        \n        \u002F\u002F Deploy your contract\n        YourContract yourContract = new YourContract();\n        \n        vm.stopBroadcast();\n        \n        console.log(\"Contract deployed to:\", address(yourContract));\n    }\n}\n```\n\nSee `references\u002Ffoundry-deployment.md` for advanced deployment patterns.\n\n### Phase 5: Verify Contract (1-2 minutes)\n\nIf not verified during deployment:\n```bash\nforge verify-contract \\\n    CONTRACT_ADDRESS \\\n    src\u002FMyContract.sol:MyContract \\\n    --chain-id 80002 \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\nSee `references\u002Fcontract-verification.md` for troubleshooting verification issues.\n\n### Phase 6: Test on Testnet (5-10 minutes)\n\n1. **View on Explorer**: https:\u002F\u002Famoy.polygonscan.com\u002Faddress\u002FCONTRACT_ADDRESS\n2. **Interact with Contract**: Use cast or web interface\n3. **Test All Functions**: Verify behavior matches expectations\n4. **Monitor Gas Costs**: Check if optimization needed\n\n### Phase 7: Deploy to Mainnet (5 minutes)\n\n**⚠️ IMPORTANT: Complete mainnet deployment checklist first!**\n\nSee [Mainnet Deployment Checklist](#mainnet-deployment-checklist) below.\n\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url polygon \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\n**End of Complete Development Path** ✅\n\n## Network Configuration\n\n### Amoy Testnet (Recommended for Testing)\n\n| Property | Value |\n|----------|-------|\n| Network Name | Polygon Amoy |\n| Chain ID | 80002 |\n| Currency | POL |\n| RPC URL | https:\u002F\u002Frpc-amoy.polygon.technology |\n| WebSocket | wss:\u002F\u002Fpolygon-amoy.drpc.org |\n| Explorer | https:\u002F\u002Famoy.polygonscan.com |\n| Faucets | Multiple (see below) |\n\n### Polygon Mainnet\n\n| Property | Value |\n|----------|-------|\n| Network Name | Polygon |\n| Chain ID | 137 |\n| Currency | POL |\n| RPC URL | https:\u002F\u002Fpolygon-rpc.com |\n| WebSocket | wss:\u002F\u002Fpolygon.drpc.org |\n| Explorer | https:\u002F\u002Fpolygonscan.com |\n\n## Getting Testnet Tokens\n\nMultiple faucets available for Amoy testnet POL tokens.\n\n### Quick Access\n\nRun the faucet helper script:\n```bash\n.\u002Fscripts\u002Fget-testnet-tokens.sh\n```\n\n### Available Faucets\n\n**Alchemy Faucet** (Recommended - No auth required)\n- URL: https:\u002F\u002Fwww.alchemy.com\u002Ffaucets\u002Fpolygon-amoy\n- Amount: 0.5 POL\u002Fday (with account), 0.2 POL\u002Fday (without)\n- Requirements: None\n\n**QuickNode Faucet**\n- URL: https:\u002F\u002Ffaucet.quicknode.com\u002Fpolygon\u002Famoy\n- Amount: 0.1 POL\u002Fday (2x with tweet)\n- Requirements: Connect wallet\n\n**GetBlock Faucet**\n- URL: https:\u002F\u002Fgetblock.io\u002Ffaucet\u002Fmatic-amoy\u002F\n- Amount: 0.1 POL\u002Fday\n- Requirements: Login\n\n**Chainlink Faucet**\n- URL: https:\u002F\u002Ffaucets.chain.link\u002Fpolygon-amoy\n- Amount: 0.1 POL\u002Fday\n- Requirements: GitHub auth\n\n**LearnWeb3 Faucet**\n- URL: https:\u002F\u002Flearnweb3.io\u002Ffaucets\u002Fpolygon_amoy\u002F\n- Amount: 0.1 POL\u002Fday\n- Requirements: GitHub auth\n\n**Tips:**\n- Most faucets limit to 1 request per 24 hours\n- If rate-limited, try a different faucet\n- Some offer bonus tokens for tweeting\n\n## Deployment Workflow\n\n### Environment Setup\n\nCreate `.env` file (see `assets\u002Fsample-contracts\u002F.env.example`):\n```bash\nPRIVATE_KEY=your_private_key_here\nWALLET_ADDRESS=0xYourAddress\nPOLYGONSCAN_API_KEY=your_api_key_here\n```\n\nAdd to `.gitignore`:\n```\n.env\nbroadcast\u002F\ndeployments\u002F\n```\n\n### Deploy to Testnet\n\n**Option 1: Use helper script** (recommended)\n```bash\n.\u002Fscripts\u002Fdeploy-foundry.sh\n```\n\n**Option 2: Manual deployment**\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify\n```\n\n**Option 3: Deploy without verification**\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast\n```\n\n### Deploy to Mainnet\n\n**⚠️ IMPORTANT: Test thoroughly on Amoy first!**\n\n```bash\n# Use deployment script and select mainnet option\n.\u002Fscripts\u002Fdeploy-foundry.sh\n```\n\nFor detailed deployment patterns, see `references\u002Ffoundry-deployment.md`.\n\n## Testing Strategies\n\n### Local Testing\n\nWrite tests in `test\u002F` directory:\n```solidity\n\u002F\u002F test\u002FMyContract.t.sol\nimport \"forge-std\u002FTest.sol\";\nimport \"..\u002Fsrc\u002FMyContract.sol\";\n\ncontract MyContractTest is Test {\n    MyContract public myContract;\n    \n    function setUp() public {\n        myContract = new MyContract();\n    }\n    \n    function testFunction() public {\n        \u002F\u002F Test logic\n    }\n}\n```\n\nRun tests:\n```bash\nforge test              # Run all tests\nforge test -vvv         # Verbose output\nforge test --gas-report # Show gas usage\n```\n\n### Fork Testing\n\nTest against real Polygon state:\n```bash\nforge test --fork-url https:\u002F\u002Fpolygon-rpc.com\n```\n\n### Testnet Testing\n\nDeploy to Amoy and test with real transactions. See `references\u002Ftesting-strategies.md` for comprehensive testing patterns.\n\n## Contract Verification\n\nVerification makes your contract code public and trustworthy.\n\n### During Deployment (Recommended)\n\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\n### After Deployment\n\n**Option 1: Use helper script**\n```bash\n.\u002Fscripts\u002Fverify-contract.sh\n```\n\n**Option 2: Manual verification**\n```bash\nforge verify-contract \\\n    CONTRACT_ADDRESS \\\n    src\u002FMyContract.sol:MyContract \\\n    --chain-id 80002 \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY \\\n    --verifier-url https:\u002F\u002Fapi-amoy.polygonscan.com\u002Fapi\n```\n\n### With Constructor Arguments\n\n```bash\nforge verify-contract \\\n    CONTRACT_ADDRESS \\\n    src\u002FMyContract.sol:MyContract \\\n    --chain-id 80002 \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY \\\n    --constructor-args $(cast abi-encode \"constructor(address,uint256)\" 0x123... 1000)\n```\n\nFor troubleshooting verification issues, see `references\u002Fcontract-verification.md`.\n\n## Common Workflows\n\n### Which Path Should I Use?\n\n**Use Quick Start Path when**:\n- You need fast deployment (prototyping, demos)\n- Contract is simple and low-risk\n- You're an AI agent with limited time\n- Testing is minimal or done elsewhere\n\n**Use Complete Development Path when**:\n- Deploying to mainnet\n- Contract handles real value\n- Complex logic requiring thorough testing\n- Team collaboration and code review needed\n- Security is critical\n\n### Mainnet Deployment Checklist\n\nBefore deploying to mainnet:\n- [ ] All tests passing (`forge test`)\n- [ ] Deployed and tested on Amoy testnet\n- [ ] Contract verified on Amoy\n- [ ] Security review completed\n- [ ] Gas optimization done\n- [ ] Documentation complete\n- [ ] Constructor arguments double-checked\n- [ ] Sufficient POL in wallet for gas\n- [ ] Deployment script tested\n- [ ] Team notified of deployment\n\n## Sample Contract Pattern\n\nExample smart contract structure for Polygon:\n\n```solidity\n\u002F\u002F SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\ncontract HelloWorld {\n    address public owner;\n    string public message;\n    uint256 public updateCount;\n    \n    event MessageUpdated(address indexed updater, string newMessage);\n    \n    error NotOwner();\n    error EmptyMessage();\n    \n    constructor(string memory initialMessage) {\n        owner = msg.sender;\n        message = initialMessage;\n    }\n    \n    modifier onlyOwner() {\n        if (msg.sender != owner) revert NotOwner();\n        _;\n    }\n    \n    function setMessage(string calldata newMessage) external {\n        if (bytes(newMessage).length == 0) revert EmptyMessage();\n        message = newMessage;\n        updateCount++;\n        emit MessageUpdated(msg.sender, newMessage);\n    }\n}\n```\n\n**Key patterns:**\n- Use custom errors instead of require strings (gas-efficient)\n- Emit events for important state changes\n- Use modifiers for access control\n- Optimize for Polygon's low gas costs\n\n## Safety Rules\n\n1. **Test First**: Always test on Amoy before mainnet\n2. **Never Commit Keys**: Add .env to .gitignore\n3. **Verify Contracts**: Always verify for transparency\n4. **Check Network**: Double-check chain ID before deployment\n5. **Sufficient Balance**: Ensure enough POL for gas\n6. **Save Addresses**: Document deployed contract addresses\n7. **Audit Code**: Security review before mainnet\n8. **Use Scripts**: Automate deployments to reduce errors\n9. **Backup Keys**: Securely backup private keys\n10. **Test Verification**: Verify contracts on testnet first\n\n## Troubleshooting\n\n### Insufficient Funds for Gas\n\n**Error**: `insufficient funds for gas * price + value`\n\n**Solution**: Get testnet POL from faucets (run `.\u002Fscripts\u002Fget-testnet-tokens.sh`)\n\n### Contract Not Found\n\n**Error**: `src\u002FMyContract.sol:MyContract not found`\n\n**Solution**: Check file path and contract name match exactly\n\n### RPC Connection Issues\n\n**Error**: `failed to get chain id`\n\n**Solution**: \n- Check internet connection\n- Try alternative RPC URL\n- Use dedicated RPC provider (Alchemy, QuickNode)\n\n### Verification Failed\n\n**Error**: `bytecode does not match`\n\n**Solution**:\n- Wait 1-2 minutes for contract to be indexed\n- Check constructor arguments are correct\n- Verify compiler settings match deployment\n\n### Gas Estimation Failed\n\n**Error**: `gas estimation failed`\n\n**Solution**:\n- Check contract logic for reverts\n- Ensure sufficient balance\n- Check function parameters\n\n## Resources\n\n**Foundry Documentation**\n- Book: https:\u002F\u002Fbook.getfoundry.sh\u002F\n- GitHub: https:\u002F\u002Fgithub.com\u002Ffoundry-rs\u002Ffoundry\n\n**Polygon Documentation**\n- Docs: https:\u002F\u002Fdocs.polygon.technology\u002F\n- Gas Station: https:\u002F\u002Fgasstation.polygon.technology\u002F\n- Faucets: https:\u002F\u002Ffaucet.polygon.technology\u002F\n\n**Block Explorers**\n- Amoy: https:\u002F\u002Famoy.polygonscan.com\n- Mainnet: https:\u002F\u002Fpolygonscan.com\n\n**RPC Providers**\n- Alchemy: https:\u002F\u002Fwww.alchemy.com\u002F\n- QuickNode: https:\u002F\u002Fwww.quicknode.com\u002F\n- Infura: https:\u002F\u002Finfura.io\u002F\n\n**Community**\n- Discord: https:\u002F\u002Fdiscord.com\u002Finvite\u002F0xPolygonCommunity\n- Telegram: https:\u002F\u002Ft.me\u002Fpolygonhq\n\n## Reference Files\n\nFor detailed information:\n- `references\u002Ffoundry-deployment.md` - Complete deployment guide\n- `references\u002Ftesting-strategies.md` - Testing best practices\n- `references\u002Fcontract-verification.md` - Verification troubleshooting\n\n## Scripts\n\n","# Polygon PoS Development\n\nEnd-to-end guide for developing and deploying smart contracts on Polygon PoS blockchain using Foundry.\n\n## Overview\n\nPolygon PoS is an EVM-compatible Proof-of-Stake sidechain for Ethereum with:\n- Low transaction costs (fraction of a cent)\n- Fast block times (~2 seconds)\n- High throughput (65,000+ TPS theoretical)\n- Full Ethereum tooling compatibility\n- POL token for gas fees\n\n**Default Network**: Amoy Testnet (Chain ID: 80002) - Use for all testing before mainnet.\n\n---\n\n## ? Quick Navigation\n\n**For Agents\u002FFast Deployment**: Jump to [Quick Start Path](#quick-start-path) (5-10 min)\n\n**For Production\u002FThorough Testing**: Jump to [Complete Development Path](#complete-development-path) (30-60 min)\n\n**For Reference**: See sections below for [Network Configuration](#network-configuration), [Faucets](#getting-testnet-tokens), [Troubleshooting](#troubleshooting)\n\n---\n\n## Two Development Paths\n\nChoose based on your needs:\n\n| Aspect | Quick Start Path | Complete Development Path |\n|--------|------------------|---------------------------|\n| **Time** | 5-10 minutes | 30-60 minutes |\n| **Best for** | Prototypes, demos, simple contracts | Production, complex systems, mainnet |\n| **Testing** | Basic compilation check | Unit tests, integration tests, fork tests |\n| **Scripts Used** | None (direct forge commands) | Direct forge commands with all options |\n| **Documentation** | Minimal | Full reference guides |\n| **Verification** | Automatic during deploy | Multiple methods with troubleshooting |\n| **Agent-Friendly** | ✅ Optimized for speed | ⚠️ Comprehensive but slower |\n\n### Path 1: Quick Start (Minimal Time - Agent-Friendly)\n**Best for**: Fast deployment, simple contracts, prototyping\n**Time**: 5-10 minutes\n**What you get**: Contract deployed and verified on testnet\n\nSkip to [Quick Start Path](#quick-start-path) below.\n\n### Path 2: Complete Guide (Full Development Workflow)\n**Best for**: Production contracts, complex systems, thorough testing\n**Time**: 30-60 minutes\n**What you get**: Fully tested, optimized, and production-ready deployment\n\nSkip to [Complete Development Path](#complete-development-path) below.\n\n---\n\n## Quick Start Path\n\n**Goal**: Deploy a contract to Polygon Amoy testnet in minimal steps.\n\n### Prerequisites\n\n- Foundry installed: `curl -L https:\u002F\u002Ffoundry.paradigm.xyz | bash && foundryup`\n- Wallet with private key\n- Polygonscan API key (get from https:\u002F\u002Fpolygonscan.com\u002Fmyapikey)\n\n### Step 1: Create Project (30 seconds)\n\n```bash\nforge init my-polygon-project\ncd my-polygon-project\n```\n\n### Step 2: Configure Environment (1 minute)\n\nCreate `.env` file:\n```bash\nPRIVATE_KEY=your_private_key_without_0x_prefix\n```\n\n### Step 3: Get Testnet Tokens (2 minutes)\n\nVisit: https:\u002F\u002Fwww.alchemy.com\u002Ffaucets\u002Fpolygon-amoy\n- Paste your wallet address\n- Claim 0.2-0.5 POL (no signup needed)\n\n### Step 4: Deploy (1 minute)\n\n```bash\n# Deploy to Amoy testnet\nforge script script\u002FCounter.s.sol:CounterScript \\\n    --rpc-url https:\u002F\u002Frpc-amoy.polygon.technology \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast\n```\n\n**Done!** Your contract is deployed and verified on Amoy testnet.\n\nView at: `https:\u002F\u002Famoy.polygonscan.com\u002Faddress\u002FYOUR_CONTRACT_ADDRESS`\n\n---\n\n## Complete Development Path\n\n**Goal**: Production-ready deployment with comprehensive testing and optimization.\n\n### Phase 1: Setup (5 minutes)\n\n1. **Install Foundry**:\n```bash\ncurl -L https:\u002F\u002Ffoundry.paradigm.xyz | bash\nfoundryup\n```\n\n2. **Initialize Project**:\n```bash\nforge init my-polygon-project\ncd my-polygon-project\n```\n\n3. **Configure for Polygon**:\n\nUpdate `foundry.toml` with Polygon settings:\n```toml\n[profile.default]\nsrc = \"src\"\nout = \"out\"\nlibs = [\"lib\"]\nsolc_version = \"0.8.24\"\noptimizer = true\noptimizer_runs = 200\n\n[rpc_endpoints]\namoy = \"https:\u002F\u002Frpc-amoy.polygon.technology\"\npolygon = \"https:\u002F\u002Fpolygon-rpc.com\"\n\n[etherscan]\namoy = { key = \"${POLYGONSCAN_API_KEY}\", url = \"https:\u002F\u002Fapi-amoy.polygonscan.com\u002Fapi\" }\npolygon = { key = \"${POLYGONSCAN_API_KEY}\", url = \"https:\u002F\u002Fapi.polygonscan.com\u002Fapi\" }\n```\n\n4. **Setup Environment**:\n\nCreate `.env` file:\n```bash\nPRIVATE_KEY=your_private_key\nWALLET_ADDRESS=0xYourAddress\nPOLYGONSCAN_API_KEY=your_api_key\n```\n\n### Phase 2: Write & Test Contracts (10-20 minutes)\n\n1. **Write Contract** (or use `assets\u002Fsample-contracts\u002FHelloWorld.sol` as template)\n\n2. **Write Tests**:\n```solidity\n\u002F\u002F test\u002FMyContract.t.sol\nimport \"forge-std\u002FTest.sol\";\nimport \"..\u002Fsrc\u002FMyContract.sol\";\n\ncontract MyContractTest is Test {\n    MyContract public myContract;\n    \n    function setUp() public {\n        myContract = new MyContract();\n    }\n    \n    function testDeployment() public {\n        assertEq(myContract.owner(), address(this));\n    }\n}\n```\n\n3. **Run Tests**:\n```bash\nforge test -vvv                    # Run tests\nforge test --gas-report            # Check gas usage\nforge coverage                     # Check coverage\n```\n\n4. **Fork Testing** (optional):\n```bash\n# Test against real Polygon state\nforge test --fork-url https:\u002F\u002Fpolygon-rpc.com\n```\n\nSee `references\u002Ftesting-strategies.md` for comprehensive testing patterns.\n\n### Phase 3: Get Testnet Tokens (2-5 minutes)\n\nVisit one of these faucets:\n\n**Alchemy** (recommended - no auth): https:\u002F\u002Fwww.alchemy.com\u002Ffaucets\u002Fpolygon-amoy\n**QuickNode**: https:\u002F\u002Ffaucet.quicknode.com\u002Fpolygon\u002Famoy\n**GetBlock**: https:\u002F\u002Fgetblock.io\u002Ffaucet\u002Fmatic-amoy\u002F\n**Chainlink**: https:\u002F\u002Ffaucets.chain.link\u002Fpolygon-amoy\n**LearnWeb3**: https:\u002F\u002Flearnweb3.io\u002Ffaucets\u002Fpolygon_amoy\u002F\n\n### Phase 4: Deploy to Testnet (2-5 minutes)\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\nCreate a deployment script in `script\u002FDeploy.s.sol`:\n\n```solidity\n\u002F\u002F SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"forge-std\u002FScript.sol\";\nimport \"..\u002Fsrc\u002FYourContract.sol\";\n\ncontract DeployScript is Script {\n    function run() external {\n        uint256 deployerPrivateKey = vm.envUint(\"PRIVATE_KEY\");\n        \n        vm.startBroadcast(deployerPrivateKey);\n        \n        \u002F\u002F Deploy your contract\n        YourContract yourContract = new YourContract();\n        \n        vm.stopBroadcast();\n        \n        console.log(\"Contract deployed to:\", address(yourContract));\n    }\n}\n```\n\nSee `references\u002Ffoundry-deployment.md` for advanced deployment patterns.\n\n### Phase 5: Verify Contract (1-2 minutes)\n\nIf not verified during deployment:\n```bash\nforge verify-contract \\\n    CONTRACT_ADDRESS \\\n    src\u002FMyContract.sol:MyContract \\\n    --chain-id 80002 \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\nSee `references\u002Fcontract-verification.md` for troubleshooting verification issues.\n\n### Phase 6: Test on Testnet (5-10 minutes)\n\n1. **View on Explorer**: https:\u002F\u002Famoy.polygonscan.com\u002Faddress\u002FCONTRACT_ADDRESS\n2. **Interact with Contract**: Use cast or web interface\n3. **Test All Functions**: Verify behavior matches expectations\n4. **Monitor Gas Costs**: Check if optimization needed\n\n### Phase 7: Deploy to Mainnet (5 minutes)\n\n**⚠️ IMPORTANT: Complete mainnet deployment checklist first!**\n\nSee [Mainnet Deployment Checklist](#mainnet-deployment-checklist) below.\n\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url polygon \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\n**End of Complete Development Path** ✅\n\n## Network Configuration\n\n### Amoy Testnet (Recommended for Testing)\n\n| Property | Value |\n|----------|-------|\n| Network Name | Polygon Amoy |\n| Chain ID | 80002 |\n| Currency | POL |\n| RPC URL | https:\u002F\u002Frpc-amoy.polygon.technology |\n| WebSocket | wss:\u002F\u002Fpolygon-amoy.drpc.org |\n| Explorer | https:\u002F\u002Famoy.polygonscan.com |\n| Faucets | Multiple (see below) |\n\n### Polygon Mainnet\n\n| Property | Value |\n|----------|-------|\n| Network Name | Polygon |\n| Chain ID | 137 |\n| Currency | POL |\n| RPC URL | https:\u002F\u002Fpolygon-rpc.com |\n| WebSocket | wss:\u002F\u002Fpolygon.drpc.org |\n| Explorer | https:\u002F\u002Fpolygonscan.com |\n\n## Getting Testnet Tokens\n\nMultiple faucets available for Amoy testnet POL tokens.\n\n### Quick Access\n\nRun the faucet helper script:\n```bash\n.\u002Fscripts\u002Fget-testnet-tokens.sh\n```\n\n### Available Faucets\n\n**Alchemy Faucet** (Recommended - No auth required)\n- URL: https:\u002F\u002Fwww.alchemy.com\u002Ffaucets\u002Fpolygon-amoy\n- Amount: 0.5 POL\u002Fday (with account), 0.2 POL\u002Fday (without)\n- Requirements: None\n\n**QuickNode Faucet**\n- URL: https:\u002F\u002Ffaucet.quicknode.com\u002Fpolygon\u002Famoy\n- Amount: 0.1 POL\u002Fday (2x with tweet)\n- Requirements: Connect wallet\n\n**GetBlock Faucet**\n- URL: https:\u002F\u002Fgetblock.io\u002Ffaucet\u002Fmatic-amoy\u002F\n- Amount: 0.1 POL\u002Fday\n- Requirements: Login\n\n**Chainlink Faucet**\n- URL: https:\u002F\u002Ffaucets.chain.link\u002Fpolygon-amoy\n- Amount: 0.1 POL\u002Fday\n- Requirements: GitHub auth\n\n**LearnWeb3 Faucet**\n- URL: https:\u002F\u002Flearnweb3.io\u002Ffaucets\u002Fpolygon_amoy\u002F\n- Amount: 0.1 POL\u002Fday\n- Requirements: GitHub auth\n\n**Tips:**\n- Most faucets limit to 1 request per 24 hours\n- If rate-limited, try a different faucet\n- Some offer bonus tokens for tweeting\n\n## Deployment Workflow\n\n### Environment Setup\n\nCreate `.env` file (see `assets\u002Fsample-contracts\u002F.env.example`):\n```bash\nPRIVATE_KEY=your_private_key_here\nWALLET_ADDRESS=0xYourAddress\nPOLYGONSCAN_API_KEY=your_api_key_here\n```\n\nAdd to `.gitignore`:\n```\n.env\nbroadcast\u002F\ndeployments\u002F\n```\n\n### Deploy to Testnet\n\n**Option 1: Use helper script** (recommended)\n```bash\n.\u002Fscripts\u002Fdeploy-foundry.sh\n```\n\n**Option 2: Manual deployment**\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify\n```\n\n**Option 3: Deploy without verification**\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast\n```\n\n### Deploy to Mainnet\n\n**⚠️ IMPORTANT: Test thoroughly on Amoy first!**\n\n```bash\n# Use deployment script and select mainnet option\n.\u002Fscripts\u002Fdeploy-foundry.sh\n```\n\nFor detailed deployment patterns, see `references\u002Ffoundry-deployment.md`.\n\n## Testing Strategies\n\n### Local Testing\n\nWrite tests in `test\u002F` directory:\n```solidity\n\u002F\u002F test\u002FMyContract.t.sol\nimport \"forge-std\u002FTest.sol\";\nimport \"..\u002Fsrc\u002FMyContract.sol\";\n\ncontract MyContractTest is Test {\n    MyContract public myContract;\n    \n    function setUp() public {\n        myContract = new MyContract();\n    }\n    \n    function testFunction() public {\n        \u002F\u002F Test logic\n    }\n}\n```\n\nRun tests:\n```bash\nforge test              # Run all tests\nforge test -vvv         # Verbose output\nforge test --gas-report # Show gas usage\n```\n\n### Fork Testing\n\nTest against real Polygon state:\n```bash\nforge test --fork-url https:\u002F\u002Fpolygon-rpc.com\n```\n\n### Testnet Testing\n\nDeploy to Amoy and test with real transactions. See `references\u002Ftesting-strategies.md` for comprehensive testing patterns.\n\n## Contract Verification\n\nVerification makes your contract code public and trustworthy.\n\n### During Deployment (Recommended)\n\n```bash\nforge script script\u002FDeploy.s.sol \\\n    --rpc-url amoy \\\n    --private-key $PRIVATE_KEY \\\n    --broadcast \\\n    --verify \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY\n```\n\n### After Deployment\n\n**Option 1: Use helper script**\n```bash\n.\u002Fscripts\u002Fverify-contract.sh\n```\n\n**Option 2: Manual verification**\n```bash\nforge verify-contract \\\n    CONTRACT_ADDRESS \\\n    src\u002FMyContract.sol:MyContract \\\n    --chain-id 80002 \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY \\\n    --verifier-url https:\u002F\u002Fapi-amoy.polygonscan.com\u002Fapi\n```\n\n### With Constructor Arguments\n\n```bash\nforge verify-contract \\\n    CONTRACT_ADDRESS \\\n    src\u002FMyContract.sol:MyContract \\\n    --chain-id 80002 \\\n    --etherscan-api-key $POLYGONSCAN_API_KEY \\\n    --constructor-args $(cast abi-encode \"constructor(address,uint256)\" 0x123... 1000)\n```\n\nFor troubleshooting verification issues, see `references\u002Fcontract-verification.md`.\n\n## Common Workflows\n\n### Which Path Should I Use?\n\n**Use Quick Start Path when**:\n- You need fast deployment (prototyping, demos)\n- Contract is simple and low-risk\n- You're an AI agent with limited time\n- Testing is minimal or done elsewhere\n\n**Use Complete Development Path when**:\n- Deploying to mainnet\n- Contract handles real value\n- Complex logic requiring thorough testing\n- Team collaboration and code review needed\n- Security is critical\n\n### Mainnet Deployment Checklist\n\nBefore deploying to mainnet:\n- [ ] All tests passing (`forge test`)\n- [ ] Deployed and tested on Amoy testnet\n- [ ] Contract verified on Amoy\n- [ ] Security review completed\n- [ ] Gas optimization done\n- [ ] Documentation complete\n- [ ] Constructor arguments double-checked\n- [ ] Sufficient POL in wallet for gas\n- [ ] Deployment script tested\n- [ ] Team notified of deployment\n\n## Sample Contract Pattern\n\nExample smart contract structure for Polygon:\n\n```solidity\n\u002F\u002F SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\ncontract HelloWorld {\n    address public owner;\n    string public message;\n    uint256 public updateCount;\n    \n    event MessageUpdated(address indexed updater, string newMessage);\n    \n    error NotOwner();\n    error EmptyMessage();\n    \n    constructor(string memory initialMessage) {\n        owner = msg.sender;\n        message = initialMessage;\n    }\n    \n    modifier onlyOwner() {\n        if (msg.sender != owner) revert NotOwner();\n        _;\n    }\n    \n    function setMessage(string calldata newMessage) external {\n        if (bytes(newMessage).length == 0) revert EmptyMessage();\n        message = newMessage;\n        updateCount++;\n        emit MessageUpdated(msg.sender, newMessage);\n    }\n}\n```\n\n**Key patterns:**\n- Use custom errors instead of require strings (gas-efficient)\n- Emit events for important state changes\n- Use modifiers for access control\n- Optimize for Polygon's low gas costs\n\n## Safety Rules\n\n1. **Test First**: Always test on Amoy before mainnet\n2. **Never Commit Keys**: Add .env to .gitignore\n3. **Verify Contracts**: Always verify for transparency\n4. **Check Network**: Double-check chain ID before deployment\n5. **Sufficient Balance**: Ensure enough POL for gas\n6. **Save Addresses**: Document deployed contract addresses\n7. **Audit Code**: Security review before mainnet\n8. **Use Scripts**: Automate deployments to reduce errors\n9. **Backup Keys**: Securely backup private keys\n10. **Test Verification**: Verify contracts on testnet first\n\n## Troubleshooting\n\n### Insufficient Funds for Gas\n\n**Error**: `insufficient funds for gas * price + value`\n\n**Solution**: Get testnet POL from faucets (run `.\u002Fscripts\u002Fget-testnet-tokens.sh`)\n\n### Contract Not Found\n\n**Error**: `src\u002FMyContract.sol:MyContract not found`\n\n**Solution**: Check file path and contract name match exactly\n\n### RPC Connection Issues\n\n**Error**: `failed to get chain id`\n\n**Solution**: \n- Check internet connection\n- Try alternative RPC URL\n- Use dedicated RPC provider (Alchemy, QuickNode)\n\n### Verification Failed\n\n**Error**: `bytecode does not match`\n\n**Solution**:\n- Wait 1-2 minutes for contract to be indexed\n- Check constructor arguments are correct\n- Verify compiler settings match deployment\n\n### Gas Estimation Failed\n\n**Error**: `gas estimation failed`\n\n**Solution**:\n- Check contract logic for reverts\n- Ensure sufficient balance\n- Check function parameters\n\n## Resources\n\n**Foundry Documentation**\n- Book: https:\u002F\u002Fbook.getfoundry.sh\u002F\n- GitHub: https:\u002F\u002Fgithub.com\u002Ffoundry-rs\u002Ffoundry\n\n**Polygon Documentation**\n- Docs: https:\u002F\u002Fdocs.polygon.technology\u002F\n- Gas Station: https:\u002F\u002Fgasstation.polygon.technology\u002F\n- Faucets: https:\u002F\u002Ffaucet.polygon.technology\u002F\n\n**Block Explorers**\n- Amoy: https:\u002F\u002Famoy.polygonscan.com\n- Mainnet: https:\u002F\u002Fpolygonscan.com\n\n**RPC Providers**\n- Alchemy: https:\u002F\u002Fwww.alchemy.com\u002F\n- QuickNode: https:\u002F\u002Fwww.quicknode.com\u002F\n- Infura: https:\u002F\u002Finfura.io\u002F\n\n**Community**\n- Discord: https:\u002F\u002Fdiscord.com\u002Finvite\u002F0xPolygonCommunity\n- Telegram: https:\u002F\u002Ft.me\u002Fpolygonhq\n\n## Reference Files\n\nFor detailed information:\n- `references\u002Ffoundry-deployment.md` - Complete deployment guide\n- `references\u002Ftesting-strategies.md` - Testing best practices\n- `references\u002Fcontract-verification.md` - Verification troubleshooting\n\n## Scripts\n\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fakshatgada\u002Fpolygon-pos-dev",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add kbarbel640-del\u002Fskills --skill polygon-pos-dev",{"tool":53,"command":54},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill polygon-pos-dev",{"tool":56,"command":57},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill polygon-pos-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fakshatgada\u002Fpolygon-pos-dev\u002FSKILL.md",true,[61,67,71,75],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"_meta.json","REFERENCE","参考文档",294,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fakshatgada\u002Fpolygon-pos-dev\u002F_meta.json",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fcontract-verification.md",8190,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fakshatgada\u002Fpolygon-pos-dev\u002Freferences\u002Fcontract-verification.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Ffoundry-deployment.md",7828,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fakshatgada\u002Fpolygon-pos-dev\u002Freferences\u002Ffoundry-deployment.md",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Ftesting-strategies.md",9334,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fakshatgada\u002Fpolygon-pos-dev\u002Freferences\u002Ftesting-strategies.md",[80,111,137,158,164,184],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":91,"publishedAt":35},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[86],{"categoryNo":87,"categoryName":88,"taxonomyType":89,"taxonomyTypeDesc":90},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":120,"publishedAt":35},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[117],{"categoryNo":118,"categoryName":119,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[121,94,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,99,33],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":146,"publishedAt":35},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[143],{"categoryNo":144,"categoryName":145,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",[147,148,149,150,151,152,153,95,154,135,33,155,94,156,157],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":159,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":163,"publishedAt":35},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[162],{"categoryNo":144,"categoryName":145,"taxonomyType":20,"taxonomyTypeDesc":21},[150,149,148,147,157,152,153,95,151,135,33,154,155,94,156],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":35},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[171,172,173,174,175,176,177,178,179,180,181,182,183],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":194,"publishedAt":35},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[190,191],{"categoryNo":118,"categoryName":119,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":192,"categoryName":193,"taxonomyType":89,"taxonomyTypeDesc":90},"01JBSEEDCAT000000000000037","律师与法务",[195,196,34,197,95,198,199,40,200,155,201,202,203,204,205,108,206,207,208],"agent constitution","constitution","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]