跳到正文
cccskills
免费在 GitHub 公开

github-actions-integration

Claude Code Action entegrasyonu - PR review ve issue-to-fix workflow kurulumu

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md6.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

GitHub Actions - Claude Code Integration

claude-code-action Nedir?

anthropics/claude-code-action@v1 GitHub Actions action'i. PR'lari otomatik review eder, issue'lardan otomatik fix olusturur. vibecosystem ile entegre calisir.

Kaynak: https://github.com/anthropics/claude-code-action

Kurulum

1. Secret Ayarlama

Repository Settings > Secrets and variables > Actions > New repository secret:

Name: ANTHROPIC_API_KEY
Value: sk-ant-... (Anthropic API key)

2. PR Review Workflow

Dosya: .github/workflows/claude-review.yml

name: Claude Code Review
on:
  pull_request:
    types: [opened, synchronize, reopened]

permissions:
  contents: read
  pull-requests: write
  issues: write

jobs:
  claude-review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Claude Code Review
        uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
          review_comment_prefix: "vibecosystem-review"
          direct_prompt: |
            Review this PR for:
            1. Code quality and patterns
            2. Security vulnerabilities (OWASP Top 10)
            3. Performance issues
            4. Test coverage gaps
            5. Breaking changes

            Use vibecosystem's code-reviewer agent standards.
            Provide VERDICT: PASS | WARN | FAIL

Ne yapar: PR acildiginda, guncellediginde veya yeniden acildiginda otomatik review yapar. Review sonucunu PR comment olarak yazar.

3. Issue-to-Fix Workflow

Dosya: .github/workflows/claude-fix.yml

name: Claude Code Fix
on:
  issues:
    types: [labeled]

permissions:
  contents: write
  pull-requests: write
  issues: write

jobs:
  claude-fix:
    if: contains(github.event.label.name, 'claude-fix')
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Claude Code Fix
        uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
          direct_prompt: |
            Fix the issue described below.
            Follow TDD workflow: write test first, then implement fix.
            Create a PR with the fix.

            Issue: ${{ github.event.issue.title }}
            Body: ${{ github.event.issue.body }}

Ne yapar: Issue'ya claude-fix label'i eklendiginde otomatik fix olusturur ve PR acar.

Kullanim

PR Review

  1. PR ac - otomatik review baslar
  2. Review comment'inde VERDICT gorursun: PASS, WARN veya FAIL
  3. FAIL varsa issue'lari duzelt, PR'i guncelle - tekrar review olur

Issue Fix

  1. Issue ac, sorunu detayli yaz
  2. claude-fix label'i ekle
  3. Claude otomatik branch olusturur, fix yapar, PR acar
  4. PR'i review et ve merge et

Workflow Customization

Review Scope Daraltma

Sadece belirli dosya tiplerini review et:

on:
  pull_request:
    types: [opened, synchronize, reopened]
    paths:
      - '**.ts'
      - '**.tsx'
      - '**.js'
      - '**.jsx'

Custom Review Prompt

vibecosystem agent standartlarina gore prompt'u genislet:

direct_prompt: |
  Review this PR using vibecosystem standards:

  ## Code Quality
  - Immutability: no mutations, use spread operator
  - File size: max 800 lines per file
  - Function size: max 50 lines
  - Nesting: max 4 levels
  - No console.log in production code
  - No hardcoded values

  ## Security (OWASP Top 10)
  - Input validation (use zod)
  - SQL injection prevention
  - XSS prevention
  - No hardcoded credentials
  - Rate limiting check

  ## Testing
  - Test coverage >= 80%
  - Edge cases covered
  - Error paths tested

  VERDICT: PASS | WARN | FAIL

Fix Workflow Ek Talimatlar

direct_prompt: |
  Fix the issue below.
  Rules:
  - TDD: write failing test first, then implement
  - Defensive code: try/catch, null checks, input validation
  - No mutations, use immutable patterns
  - Follow repository's existing code style
  - Run tests before creating PR

  Issue: ${{ github.event.issue.title }}
  Body: ${{ github.event.issue.body }}

Multiple Label Support

Farkli label'lar icin farkli davranislar:

jobs:
  claude-fix:
    if: contains(github.event.label.name, 'claude-fix')
    # ... standard fix

  claude-refactor:
    if: contains(github.event.label.name, 'claude-refactor')
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: anthropics/claude-code-action@v1
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
          direct_prompt: |
            Refactor the code described in this issue.
            Maintain all existing tests.
            Do not change external behavior.
            Issue: ${{ github.event.issue.title }}
            Body: ${{ github.event.issue.body }}

vibecosystem Entegrasyonu

CLAUDE.md ile Birlikte

Repository'de CLAUDE.md varsa claude-code-action onu otomatik okur. vibecosystem kurallarini CLAUDE.md'ye ekle:

# Project Rules
- Follow vibecosystem coding standards
- Use TDD workflow for all changes
- Security review required for auth/data code
- VERDICT format: PASS | WARN | FAIL

Agent Standarti

Review workflow'u vibecosystem'in code-reviewer agent standartlarini kullanir:

  • Kod kalitesi (immutability, dosya boyutu, fonksiyon boyutu)
  • Security (OWASP Top 10)
  • Performance
  • Test coverage
  • Breaking changes

Fix workflow'u TDD workflow'unu kullanir:

  • Onceki test yaz (RED)
  • Fix implement et (GREEN)
  • Refactor (IMPROVE)

Troubleshooting

SorunCozum
Review calismadiANTHROPIC_API_KEY secret ayarli mi?
Permission hatasiWorkflow permissions blogu dogru mu?
Fix PR acilmadiclaude-fix label dogru yazildi mi?
Review cok uzun suruyorfetch-depth: 1 ile sadece son commit'i al
Rate limitAPI key plan limitini kontrol et

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

WCAG 2.2 AA compliance, ARIA patterns, keyboard navigation, screen reader optimization

中文简介正在准备中。当前显示原文说明。

vibeeval/vibecosystem5382026年8月9日 更新

axe-core integration, WCAG 2.2 AA checklist, keyboard navigation testing, screen reader testing, and ARIA pattern validation.

中文简介正在准备中。当前显示原文说明。

vibeeval/vibecosystem5382026年8月9日 更新

Steam-style achievement system with XP, levels, streaks, and skill trees. Gamifies the development workflow. 25 achievements across 5 categories.

中文简介正在准备中。当前显示原文说明。

vibeeval/vibecosystem5382026年8月9日 更新

Framework for measuring and tracking agent response quality over time. Detects regressions before they reach production. Use when evaluating agent changes, auditing quality, or establishing performance baselines.

中文简介正在准备中。当前显示原文说明。

vibeeval/vibecosystem5382026年8月9日 更新

Agent Context Isolation

中文简介正在准备中。当前显示原文说明。

vibeeval/vibecosystem5382026年8月9日 更新

Agent ve skill dosyalarinin yapisal dogrulamasi. Frontmatter kontrol, naming convention, zorunlu bolum kontrolu, tutarlilik denetimi. Yeni agent/skill eklendiginde veya mevcut dosyalar duzenlediginde otomatik calistirilir.

中文简介正在准备中。当前显示原文说明。

vibeeval/vibecosystem5382026年8月9日 更新

查看 vibeeval 的全部技能

报告此技能的问题