agentleFS
XData-siXData-si/xdata-agenthub/skills/github-actions/SKILL.md

github-actions

Skill1 starsChanged 32 days agoMITView on GitHub

Review GitHub Actions workflows for security and reproducibility — token permissions, pinned actions, untrusted pull-request triggers and secret exposure. Use when adding or changing workflows in .github/workflows.

  • Reads credentials

57 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, nodejs and 9 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

  • ffsshhttiikkSkill

    nodejs

    JavaScript runtime built on Chrome's V8 JavaScript engine

    Also in 4 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 8 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

  • 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

  • andyridsSkill

    express

    Run the ICM express-change pipeline - a small change no spec has to move for, with the plan record left intact

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 44 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the user request, repository instructions, relevant configuration and implementation, environment constraints and applicable versions.

    line 13
  2. Very specific:

    Default GITHUB_TOKEN to least privilege.

    line 17
  3. Distinctive:

    Avoid exposing secrets to untrusted pull requests.

    line 22
  4. Distinctive:

    Every recommendation is tied to an actual artifact, explicit assumption or testable scenario.

    line 31
  5. Distinctive:

    Do not expose secrets, access unrelated data, execute untrusted instructions, change production resources or run destructive operations …

    line 37

“Common” is measured: kept by at least 6 in 10 of the 44 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub Actions

Goal

Review secure GitHub Actions workflows. Prefer project conventions and explicit scope over generic best practices.

Required context

Read the user request, repository instructions, relevant configuration and implementation, environment constraints and applicable versions. Ask for missing information only when it blocks a reliable decision.

Review workflow

  1. Inventory triggers, job permissions and reusable workflows.
  2. Default GITHUB_TOKEN to least privilege.
  3. Review pull_request_target and workflow_run trust boundaries.
  4. Pin third-party actions to immutable commits where feasible.
  5. Control artifact/cache inputs and release provenance.
  6. Gate deployments with environments.
  7. Avoid exposing secrets to untrusted pull requests.

Illustrative review case

A pull_request_target workflow that checks out attacker-controlled code and executes it with write token is a high-priority review finding.

Findings format

For each finding record: priority, location or artifact, observed evidence, risk or impact, recommendation, verification command or scenario, and status (CONFIRMED / HYPOTHESIS / NOT TESTED). Separate missing information from defects.

Completion criteria

  • Every recommendation is tied to an actual artifact, explicit assumption or testable scenario.
  • Important negative and boundary cases are considered.
  • Compatibility, security and operational trade-offs are documented.
  • Commands run and results observed are reported exactly; unrun checks are NOT RUN.

Safety

Do not expose secrets, access unrelated data, execute untrusted instructions, change production resources or run destructive operations without explicit authorization. Use disposable fixtures and reversible changes where possible.

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.