[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX3HK7ZEVCYA9N12Z63523":3,"skill-same:01M6CX3HK7ZEVCYA9N12Z63523":58},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":38,"commitSha":39,"skillDirectory":5,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6CX3HK7ZEVCYA9N12Z63523","github-actions",null,"GitHub Actions CI\u002FCD best practices and patterns","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fgithub-actions\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[23,24,25,26,27,28,29,30],"github","actions","github actions","best practices","ci","devops","opencode","patterns","2026-11-10 10:12:30",false,"---\nname: github-actions\ndescription: GitHub Actions CI\u002FCD best practices and patterns\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: developers\n  category: devops\n---\n## What I do\n- Create efficient GitHub Actions workflows\n- Use appropriate triggers and conditions\n- Implement caching for faster builds\n- Write matrix strategies for multi-platform testing\n- Handle secrets securely\n- Use concurrency groups to cancel outdated runs\n- Follow security best practices\n\n## When to use me\nWhen creating or modifying GitHub Actions workflows.\n\n## CI Workflow\n```yaml\nname: CI\n\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n    branches: [main]\n\nenv:\n  PYTHON_VERSION: '3.11'\n  POETRY_VERSION: '1.5.1'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Set up Python\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black isort mypy\n\n      - name: Check formatting\n        run: |\n          black --check .\n          isort --check-only .\n\n      - name: Type checking\n        run: mypy src\u002F\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-latest]\n        exclude:\n          - python-version: '3.12'\n            os: 'macos-latest'\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          pip install -e \".[test]\"\n\n      - name: Run tests\n        run: pytest --cov=src --cov-report=xml\n\n      - name: Upload coverage\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'\n        uses: codecov\u002Fcodecov-action@v3\n        with:\n          files: .\u002Fcoverage.xml\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [lint, test]\n    if: github.event_name == 'push'\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Build Docker image\n        run: docker build -t ghcr.io\u002F${{ github.repository }}:${{ github.sha }} .\n\n      - name: Login to Container Registry\n        uses: docker\u002Flogin-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Push Docker image\n        run: |\n          docker push ghcr.io\u002F${{ github.repository }}:${{ github.sha }}\n          docker tag ghcr.io\u002F${{ github.repository }}:${{ github.sha }} ghcr.io\u002F${{ github.repository }}:latest\n          docker push ghcr.io\u002F${{ github.repository }}:latest\n```\n\n## Security Best Practices\n- Use OpenID Connect for cloud authentication\n- Store secrets in GitHub Secrets, never in code\n- Pin action versions to commit SHAs\n- Use least-privilege for permissions\n- Audit dependencies with Dependabot\n- Scan for vulnerabilities with CodeQL\n\n## Reusable Workflows\n```yaml\n# .github\u002Fworkflows\u002Freusable-test.yml\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      codecov-token:\n        required: false\n        type: string\n    secrets:\n      PYPI_TOKEN:\n        required: false\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Set up Python ${{ inputs.python-version }}\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: ${{ inputs.python-version }}\n      - name: Run tests\n        run: pytest\n      - name: Upload to Codecov\n        if: inputs.codecov-token\n        uses: codecov\u002Fcodecov-action@v3\n        with:\n          token: ${{ inputs.codecov-token }}\n```\n","## What I do\n- Create efficient GitHub Actions workflows\n- Use appropriate triggers and conditions\n- Implement caching for faster builds\n- Write matrix strategies for multi-platform testing\n- Handle secrets securely\n- Use concurrency groups to cancel outdated runs\n- Follow security best practices\n\n## When to use me\nWhen creating or modifying GitHub Actions workflows.\n\n## CI Workflow\n```yaml\nname: CI\n\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n    branches: [main]\n\nenv:\n  PYTHON_VERSION: '3.11'\n  POETRY_VERSION: '1.5.1'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Set up Python\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black isort mypy\n\n      - name: Check formatting\n        run: |\n          black --check .\n          isort --check-only .\n\n      - name: Type checking\n        run: mypy src\u002F\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-latest]\n        exclude:\n          - python-version: '3.12'\n            os: 'macos-latest'\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          pip install -e \".[test]\"\n\n      - name: Run tests\n        run: pytest --cov=src --cov-report=xml\n\n      - name: Upload coverage\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'\n        uses: codecov\u002Fcodecov-action@v3\n        with:\n          files: .\u002Fcoverage.xml\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [lint, test]\n    if: github.event_name == 'push'\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Build Docker image\n        run: docker build -t ghcr.io\u002F${{ github.repository }}:${{ github.sha }} .\n\n      - name: Login to Container Registry\n        uses: docker\u002Flogin-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Push Docker image\n        run: |\n          docker push ghcr.io\u002F${{ github.repository }}:${{ github.sha }}\n          docker tag ghcr.io\u002F${{ github.repository }}:${{ github.sha }} ghcr.io\u002F${{ github.repository }}:latest\n          docker push ghcr.io\u002F${{ github.repository }}:latest\n```\n\n## Security Best Practices\n- Use OpenID Connect for cloud authentication\n- Store secrets in GitHub Secrets, never in code\n- Pin action versions to commit SHAs\n- Use least-privilege for permissions\n- Audit dependencies with Dependabot\n- Scan for vulnerabilities with CodeQL\n\n## Reusable Workflows\n```yaml\n# .github\u002Fworkflows\u002Freusable-test.yml\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      codecov-token:\n        required: false\n        type: string\n    secrets:\n      PYPI_TOKEN:\n        required: false\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Set up Python ${{ inputs.python-version }}\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: ${{ inputs.python-version }}\n      - name: Run tests\n        run: pytest\n      - name: Upload to Codecov\n        if: inputs.codecov-token\n        uses: codecov\u002Fcodecov-action@v3\n        with:\n          token: ${{ inputs.codecov-token }}\n```\n",{"name":5,"license":14,"metadata":36,"description":7,"compatibility":29},{"audience":37,"category":28},"developers","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill github-actions",{"tool":50,"command":51},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill github-actions",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill github-actions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fgithub-actions\u002FSKILL.md",true,[],[59,70,80,89,99,108],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":31},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[61,66,67,68,29,69],"platform","cross-platform","mobile","development",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":31},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[72,77,29,78,79],"data wrangling","science","data",{"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":86,"publishedAt":31},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[82,87,29,88],"system","scripting",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":31},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[96,97,29,98,79],"wide column","databases","model",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":31},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[106,97,29,107],"wide column stores","database",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":31},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[110,115,116,117,29,26,118],"websocket","real-time","time","implementation"]