[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N46BKBQK499P4GK2MAVKJK":3,"skill-same:01M6N46BKBQK499P4GK2MAVKJK":89},{"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":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":6,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6N46BKBQK499P4GK2MAVKJK","go-linter-configuration",null,"Configure and troubleshoot golangci-lint for Go projects. Handle import resolution issues, type-checking problems, and optimize configurations for both local and CI environments.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F代码质量与测试\u002Fgo-linter-configuration\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"go linter configuration","linter","configuration","go","local","type-checking","for","v1","dl","import","env","type","resolution","optimize","projects","configure","ci","issues","lint","linux","2026-11-10 10:12:30",false,"---\nname: go-linter-configuration\ndescription: \"Configure and troubleshoot golangci-lint for Go projects. Handle import resolution issues, type-checking problems, and optimize configurations for both local and CI environments.\"\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"?\",\n        \"requires\": { \"bins\": [\"go\", \"golangci-lint\"] },\n        \"install\":\n          [\n            {\n              \"id\": \"golang\",\n              \"kind\": \"script\",\n              \"script\": \"curl -L https:\u002F\u002Fgolang.org\u002Fdl\u002Fgo1.21.5.linux-amd64.tar.gz | tar -C \u002Fusr\u002Flocal -xzf -\",\n              \"bins\": [\"go\"],\n              \"label\": \"Install Go\",\n            },\n            {\n              \"id\": \"golangci\",\n              \"kind\": \"script\",\n              \"script\": \"curl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fgolangci\u002Fgolangci-lint\u002Fmaster\u002Finstall.sh | sh -s -- -b $(go env GOPATH)\u002Fbin v1.59.1\",\n              \"bins\": [\"golangci-lint\"],\n              \"label\": \"Install golangci-lint\",\n            },\n          ],\n      },\n  }\n---\n\n# Go Linter Configuration Skill\n\nConfigure and troubleshoot golangci-lint for Go projects. This skill helps handle import resolution issues, type-checking problems, and optimize configurations for both local and CI environments.\n\n## Installation\n\nInstall golangci-lint:\n\n```bash\ngo install github.com\u002Fgolangci\u002Fgolangci-lint\u002Fcmd\u002Fgolangci-lint@latest\n```\n\nOr use the official installation script:\n\n```bash\ncurl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fgolangci\u002Fgolangci-lint\u002Fmaster\u002Finstall.sh | sh -s -- -b $(go env GOPATH)\u002Fbin v1.59.1\n```\n\n## Basic Usage\n\nRun linter on entire project:\n\n```bash\ngolangci-lint run .\u002F...\n```\n\nRun with specific configuration:\n\n```bash\ngolangci-lint run --config .golangci.yml .\u002F...\n```\n\n## Configuration File (.golangci.yml)\n\n### Minimal Configuration (for CI environments with import issues)\n```yaml\nrun:\n  timeout: 5m\n  tests: false\n  build-tags: []\n\nlinters:\n  disable-all: true\n  enable:\n    - gofmt          # Format checking only\n\nlinters-settings:\n  gofmt:\n    simplify: true\n\nissues:\n  exclude-use-default: false\n  max-issues-per-linter: 50\n  max-same-issues: 3\n\noutput:\n  format: tab\n```\n\n### Standard Configuration (for local development)\n```yaml\nrun:\n  timeout: 5m\n  tests: true\n  build-tags: []\n\nlinters:\n  enable:\n    - gofmt\n    - govet\n    - errcheck\n    - staticcheck\n    - unused\n    - gosimple\n    - ineffassign\n\nlinters-settings:\n  govet:\n    enable:\n      - shadow\n  errcheck:\n    check-type-assertions: true\n  staticcheck:\n    checks: [\"all\"]\n\nissues:\n  exclude-use-default: false\n  max-issues-per-linter: 50\n  max-same-issues: 3\n\noutput:\n  format: tab\n```\n\n## Troubleshooting Common Issues\n\n### \"undefined: package\" Errors\nProblem: Linter reports undefined references to imported packages\nSolution: Use minimal configuration with `disable-all: true` and only enable basic linters like `gofmt`\n\n### Import Resolution Problems\nProblem: CI environment cannot resolve dependencies properly\nSolution: \n1. Ensure go.mod and go.sum are up to date\n2. Use `go mod download` before running linter in CI\n3. Consider using simpler linters in CI environment\n\n### Type-Checking Failures\nProblem: Linter fails during type checking phase\nSolution:\n1. Temporarily disable complex linters that require type checking\n2. Use `--fast` flag for quicker, less intensive checks\n3. Verify all imports are properly declared\n\n## CI\u002FCD Optimization\n\nFor GitHub Actions workflow:\n\n```yaml\nname: Code Quality\n\non:\n  push:\n    branches: [ main, master ]\n  pull_request:\n    branches: [ main, master ]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions\u002Fcheckout@v4\n\n    - name: Set up Go\n      uses: actions\u002Fsetup-go@v4\n      with:\n        go-version: '1.21'\n        cache: true\n\n    - name: Download dependencies\n      run: go mod download\n\n    - name: Install golangci-lint\n      run: |\n        curl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fgolangci\u002Fgolangci-lint\u002Fmaster\u002Finstall.sh | sh -s -- -b $(go env GOPATH)\u002Fbin v1.59.1\n\n    - name: Lint\n      run: golangci-lint run --config .golangci.yml .\u002F...\n```\n\n## Linter Selection Guidelines\n\n- **gofmt**: For formatting consistency\n- **govet**: For semantic errors\n- **errcheck**: For unchecked errors\n- **staticcheck**: For static analysis\n- **unused**: For dead code detection\n- **gosimple**: For simplification suggestions\n- **ineffassign**: For ineffective assignments\n\nChoose linters based on project needs and CI performance requirements.","# Go Linter Configuration Skill\n\nConfigure and troubleshoot golangci-lint for Go projects. This skill helps handle import resolution issues, type-checking problems, and optimize configurations for both local and CI environments.\n\n## Installation\n\nInstall golangci-lint:\n\n```bash\ngo install github.com\u002Fgolangci\u002Fgolangci-lint\u002Fcmd\u002Fgolangci-lint@latest\n```\n\nOr use the official installation script:\n\n```bash\ncurl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fgolangci\u002Fgolangci-lint\u002Fmaster\u002Finstall.sh | sh -s -- -b $(go env GOPATH)\u002Fbin v1.59.1\n```\n\n## Basic Usage\n\nRun linter on entire project:\n\n```bash\ngolangci-lint run .\u002F...\n```\n\nRun with specific configuration:\n\n```bash\ngolangci-lint run --config .golangci.yml .\u002F...\n```\n\n## Configuration File (.golangci.yml)\n\n### Minimal Configuration (for CI environments with import issues)\n```yaml\nrun:\n  timeout: 5m\n  tests: false\n  build-tags: []\n\nlinters:\n  disable-all: true\n  enable:\n    - gofmt          # Format checking only\n\nlinters-settings:\n  gofmt:\n    simplify: true\n\nissues:\n  exclude-use-default: false\n  max-issues-per-linter: 50\n  max-same-issues: 3\n\noutput:\n  format: tab\n```\n\n### Standard Configuration (for local development)\n```yaml\nrun:\n  timeout: 5m\n  tests: true\n  build-tags: []\n\nlinters:\n  enable:\n    - gofmt\n    - govet\n    - errcheck\n    - staticcheck\n    - unused\n    - gosimple\n    - ineffassign\n\nlinters-settings:\n  govet:\n    enable:\n      - shadow\n  errcheck:\n    check-type-assertions: true\n  staticcheck:\n    checks: [\"all\"]\n\nissues:\n  exclude-use-default: false\n  max-issues-per-linter: 50\n  max-same-issues: 3\n\noutput:\n  format: tab\n```\n\n## Troubleshooting Common Issues\n\n### \"undefined: package\" Errors\nProblem: Linter reports undefined references to imported packages\nSolution: Use minimal configuration with `disable-all: true` and only enable basic linters like `gofmt`\n\n### Import Resolution Problems\nProblem: CI environment cannot resolve dependencies properly\nSolution: \n1. Ensure go.mod and go.sum are up to date\n2. Use `go mod download` before running linter in CI\n3. Consider using simpler linters in CI environment\n\n### Type-Checking Failures\nProblem: Linter fails during type checking phase\nSolution:\n1. Temporarily disable complex linters that require type checking\n2. Use `--fast` flag for quicker, less intensive checks\n3. Verify all imports are properly declared\n\n## CI\u002FCD Optimization\n\nFor GitHub Actions workflow:\n\n```yaml\nname: Code Quality\n\non:\n  push:\n    branches: [ main, master ]\n  pull_request:\n    branches: [ main, master ]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions\u002Fcheckout@v4\n\n    - name: Set up Go\n      uses: actions\u002Fsetup-go@v4\n      with:\n        go-version: '1.21'\n        cache: true\n\n    - name: Download dependencies\n      run: go mod download\n\n    - name: Install golangci-lint\n      run: |\n        curl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fgolangci\u002Fgolangci-lint\u002Fmaster\u002Finstall.sh | sh -s -- -b $(go env GOPATH)\u002Fbin v1.59.1\n\n    - name: Lint\n      run: golangci-lint run --config .golangci.yml .\u002F...\n```\n\n## Linter Selection Guidelines\n\n- **gofmt**: For formatting consistency\n- **govet**: For semantic errors\n- **errcheck**: For unchecked errors\n- **staticcheck**: For static analysis\n- **unused**: For dead code detection\n- **gosimple**: For simplification suggestions\n- **ineffassign**: For ineffective assignments\n\nChoose linters based on project needs and CI performance requirements.",{"name":5,"metadata":43,"description":7},{"openclaw":44},{"emoji":45,"install":46,"requires":59},"?",[47,53],{"id":48,"bins":49,"kind":50,"label":51,"script":52},"golang",[21],"script","Install Go","curl -L https:\u002F\u002Fgolang.org\u002Fdl\u002Fgo1.21.5.linux-amd64.tar.gz | tar -C \u002Fusr\u002Flocal -xzf -",{"id":54,"bins":55,"kind":50,"label":57,"script":58},"golangci",[56],"golangci-lint","Install golangci-lint","curl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fgolangci\u002Fgolangci-lint\u002Fmaster\u002Finstall.sh | sh -s -- -b $(go env GOPATH)\u002Fbin v1.59.1",{"bins":60},[21,56],"main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","代码质量与测试\u002Fgo-linter-configuration",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill go-linter-configuration",{"tool":75,"command":76},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill go-linter-configuration",{"tool":78,"command":79},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill go-linter-configuration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F代码质量与测试\u002Fgo-linter-configuration\u002FSKILL.md",true,[83],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"_meta.json","REFERENCE","参考文档",300,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F代码质量与测试\u002Fgo-linter-configuration\u002F_meta.json",[90,114,137,145,152,178],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":38},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[92,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":115,"name":116,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":38},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[120,121,122,123,124,125,126,99,127,103,128,129,130,131,132,133,134,135,136],"api","zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":138,"name":139,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[120,143,144,121,122,123,124,125,126,99,127,103,129,130,131,132,133,134,135,136],"api skill","zerion api skill",{"skillNo":146,"name":147,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":38},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[123,120,151,121,122,124,125,99,127,103,128,129,130,131,132,133,134,135,136],"zerion api mcp",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":38},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,24],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":38},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[159,160,162,185,186,187,188,189,190,170,22,191,192,193,194,195,196,197,136,177],"cli","homebrew","find","check","brew","up","get","stock","link","trending","sf","quotes","ln"]