Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

gh-action-gen

bởi branexp

Git & GitHub
963Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Generate GitHub Actions workflows from plain English.

Mô tả

Kỹ năng này làm gì

Generates GitHub Actions workflow YAML from a plain English description. Handles common patterns like testing, building, deploying, and scheduled jobs. Run via npx with no install required.

Avoids searching for workflow templates by generating a complete, ready-to-use YAML file from a single description instead of assembling it from multiple sources.

Khi nào nên dùng

  • Setting up CI for a new repo without writing YAML
  • Generating a Docker build and push workflow to ECR
  • Scheduling a nightly database backup job
  • Running ESLint and Prettier checks on pull requests
  • Automating deployment on push to main

Quy trình ví dụ

ĐẦU VÀO

User asks: build docker image and push to ECR

AGENT
  1. 1

    Parses the plain English description to identify the workflow intent

  2. 2

    Selects appropriate GitHub Actions triggers and job structure

  3. 3

    Generates Docker build steps with layer caching configured

  4. 4

    Adds AWS credential handling via repository secrets

  5. 5

    Writes the complete workflow YAML to the specified output file

ĐẦU RA

A .github/workflows/deploy.yml file with a Docker build and ECR push workflow, with caching and secret references

Yêu cầu

  • OPENAI_API_KEY environment variable (requires an OpenAI account)

Cài đặt

clawhub install branexp/gh-action-gen

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết