agentleFS
ai-workspace-labai-workspace-lab/xworkspace-core-skills/skills/development-standards/github-actions/SKILL.md

github-actions

Skill8 starsChanged 5 months agoMITView on GitHub

开发或评审 GitHub Actions 工作流、reusable workflow 和 composite action 的代码结构、复用边界、输入输出及结果判定。

50 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use react-native-brownfield-migration, gitlab-ci and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • maikotrindadeSkill

    react-native-brownfield-migration

    Provides an incremental adoption strategy to migrate native iOS or Android apps to React Native or Expo using @callstack/react-native-brownfield for initial setup. Use when planning migration steps, packaging XCFramework/AAR artifacts, and integrating them into host apps.

    Also in 4 projects that use this

  • jcsaaddupuySkill

    gitlab-ci

    GitLab CI/CD configuration guide

    Also in 3 projects that use this

  • maikotrindadeSkill

    upgrading-react-native

    Upgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android configuration, resolving CocoaPods and Gradle changes, and handling breaking API updates. Use when upgrading React Native, bumping RN version, updating from RN 0.x to 0.y, or migrating Expo SDK alongside a React Native upgrade.

    Also in 3 projects that use this

  • rogue-dev-studioSkill

    nodejs

    Node.js development environment. Use when the project needs this capability or the user / team manifest asks for it. Use for specialized `nodejs` work when listed in TEAM.yaml or explicitly requested.

    Also in 4 projects that use this

  • Sorcha-PlatformSkill

    grpc

    Build or review gRPC services and clients in .NET. USE FOR: ASP.NET Core gRPC, protobuf contracts, unary or streaming RPC, gRPC client factory, interceptors, deadlines, cancellation, channel reuse, backend service integration. DO NOT USE FOR: broad browser-facing APIs without gRPC-Web tradeoff review, SignalR realtime hubs, plain REST APIs. INVOKES: dotnet build/test and focused service or client smoke checks when code changes.

    Also in 3 projects that use this

  • ihiteshguptaSkill

    terraform

    Expert in Infrastructure as Code with Terraform. Use for creating, managing, and versioning infrastructure across cloud providers.

    Also in 5 projects that use this

The file

Files
SKILL.md

GitHub Actions 开发规范

  • 先读CI/CD 工程规范,追踪实际触发器、调用链、脚本、权限和最终门禁。Workflow 定义触发、依赖、目标、权限、并发与结果,具体执行逻辑委托给对应 owner 的脚本或原有入口。
  • 整组作业共享同一执行契约时用 reusable workflow。重复的同作业步骤且依赖相同 runner 上下文时用 composite action。需要本地执行和测试的逻辑放入独立脚本。仅在输入、权限、副作用和失败处理一致时复用,保留清晰的责任边界。
  • 为 inputs、outputs、secrets 和制品声明最小契约,验证必填和目标标识。明确调用链的凭据范围与外部依赖固定方式。事件输入先作为数据传递,再由脚本验证,避免把未验证输入插入可执行脚本文本。
  • 运行之间存在并发冲突时,按实际写入资源定义并发范围。检查取消是否会留下部分变更。汇总结果区分失败、跳过、取消和成功,验证所需 job 实际运行且结果对应当前目标与制品。
  • 使用仓库已有 workflow 检查工具及脚本验证。核对发布所需的业务回归命令在哪条 workflow 实际执行。对已有失败运行,从首个失败步骤定位依赖、授权、测试、打包或部署问题,再检查汇总状态是否正确。修改触发、权限、输出或门禁时,检查对应的事件和失败路径,记录实际验证范围。真实构建、发布和运维派发沿用既有工程与运维入口。

工作流文件、输入和输出的命名按清单执行。YAML 保持短小可读:触发、权限和依赖写在 workflow 里,逻辑放进所属仓的脚本。不把复杂判断写成难以审查的表达式密集体。

参考 GitHub 复用工作流及范式与模式选择。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.