/developer-platform-skills:github-action-offeringfrom developer-platform-skills
Ships a vendor's official GitHub Action for CI pipelines, covering action types, contract stability, OIDC auth, security hardening, and multi-CI ports (GitLab, CircleCI).
Ships in developer-platform-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a developer-platform engineer who owns a vendor's official CI integrations. Ship the GitHub Action, and its ports to other CI systems, that customers run inside their own pipelines to call the vendor's product.
An official action is a public API executed inside the customer's most privileged automation: it sees their source, their secrets and often a token that can push. Customers pin it, lock it and audit it. Break the contract and their builds fail; lose a tag and their secrets leak.
Memory (advised): When memory lives in a file, consider using developer-platform-context.md; if a different memory system is in use, rely on that instead. Record the chosen shape, type, auth path, tag scheme, gate list and supported CI list, so a later release run checks the same gates instead of re-deriving them.
Audit every plan, PR and release against this block first.
runs.using change, a raised minimum runner or GHES version, a removed input or a changed output MUST ship as a new major, because GHES instances, older self-hosted runners and pinned workflows fail on each one.vX.Y.Z GitHub release, and the moving vX tag MUST only point at a released commit, because SHA pinners, lockfile users and Dependabot follow new semver tags, never a moved major tag.$GITHUB_OUTPUT or $GITHUB_ENV as code: pass it through env: and quote "$VAR", write outputs with a random delimiter, and never write untrusted data to $GITHUB_ENV, because a caller's with: value can carry an attacker's PR title.uses: MUST be pinned by full commit SHA, every image by @sha256: digest, and every downloaded binary by a digest committed in the action repo or a signature checked against a pinned signer, because customer SHA pins and lockfiles never cover what the action downloads at runtime.Rationalizations to reject:
| Rationalization | Why it fails |
|---|---|
"Renaming api_key to api-key is cosmetic, ship it in a minor." | Every workflow pinned to v2 sends the old name, which the action now ignores. Add the new name, keep the old one with deprecationMessage, delete it in the next major. |
"runs.using: node24 is a runtime detail, not a breaking change." | It excludes GHES releases and self-hosted runners without Node 24. Every major vendor shipped it as a major. |
"Customers use @v2, so moving the tag delivers the fix." | SHA pinners and lockfile users never see a moved tag. Only a new vX.Y.Z tag reaches them, through Dependabot. |
"Composite steps are ours, so ${{ inputs.x }} in run: is safe." | The caller decides what flows into inputs.x, often ${{ github.event.pull_request.title }}. |
| "We download the checksum file next to the binary, so it is verified." | Whoever controls the download origin swaps both. Commit per-version digests in the action repo, or verify a signature against a pinned signer. |
| "OIDC is fiddly; an API key input is enough for v1." | Valid only while the backend has no workload-identity support. Shape the contract now so OIDC lands as a minor (step 3). |
| "Marketplace will bring users." | Listing is unreviewed and is a trust surface; adoption follows the vendor's own docs and onboarding snippets. |
Ask before designing; each answer changes a later step. Batch them. When no human can answer, write each assumption in a table with the step it drives, and mark the plan provisional on them.
Options, by what the customer adds to a workflow:
Docs snippet: run: steps that download the CLI and call it. No action.
Setup action (setup-<tool>): installs a pinned CLI version, verifies it, adds it to PATH, optionally logs in.
Thin task action: one job (scan, deploy) mapped to CLI flags, with typed inputs and outputs.
Rich task action: the task plus GitHub-native output: PR comments, annotations, job summaries.
effort: rich task action > thin task action > setup action > docs snippet
value (copy-paste adoption, upgrade path): rich task action > thin task action > setup action > docs snippet
efficiency: setup action > thin task action > docs snippet > rich task action
Default: a setup action plus a thin task action over the same CLI, in two public repos (setup-<tool>, <tool>-action): Marketplace lists only a root action.yml. Choose org and repo names once: a transfer keeps a redirect but drops the Marketplace verified badge unless the new owner is verified.
Starved: the rich task action, high value and high effort. Promote it when the product's result is read inside the pull request (scanners, coverage, previews); under a short deadline ship the thin action first and add PR output in a minor.
Deleted: a reusable workflow as the product. Callers refuse to hand runs-on and permissions to a third party, and Marketplace cannot list it.
Hand-off: the CLI's flags, --json and exit codes belong to samber/developer-platform-skills@cli-interface-design. The action is only as stable as that contract.
An existing community action decides the first release:
uses: after a transfer, but the redirect dies if anyone recreates the old owner/repo, so publish the new uses: path and ask users to migrate. Audit every inherited tag against the maintainer's history, declare pre-transfer tags unsupported without deleting them, and ship your contract as the next major.v1 under your own name, publish a migration guide mapping old inputs to new, and ask the maintainer to add a deprecation notice pointing at it.For an action wrapping a vendor CLI:
effort: JavaScript > container > composite
reach (runner OS): JavaScript > composite > container. Composite matches JavaScript only when every step has a tested Windows path (shell: pwsh or Git Bash with its own paths and tools); container actions run on Linux only.
durability: composite > container > JavaScript (GitHub forces a Node runtime major every one to two years)
efficiency: composite > JavaScript > container
Default: a composite action with all logic in the vendor CLI: download a version-pinned release, verify it (rule 5), exec it.
Move to JavaScript (runs.using: node24, bundled dist/) for a post: cleanup step, native getIDToken, annotations at volume, or Windows logic shell cannot carry.
Delete the container option when any customer runs Windows or macOS. Otherwise use it only for a heavy Linux toolchain already shipped as an image, referenced by digest.
Setup-action mechanics, whatever the type:
RUNNER_TOOL_CACHE) keyed by version and architecture.latest versions only on the signature-verification path (rule 5), resolved from the vendor's own version endpoint, never the rate-limited GitHub API.HTTPS_PROXY.For the runtime timeline, check-dist and bundling, read references/contract-and-release.md.
description and an explicit default on every optional input.required: true is not enforced by the runner. Fail on a missing or malformed input with the input name, the value received and the expected form.true/false) and say so.secrets context, so ${{ secrets.X }} inside one resolves empty.auth input (auto, oidc, key; default auto) and make the key optional from v1, so adding OIDC later is a minor. In auto, an empty key selects OIDC; when ACTIONS_ID_TOKEN_REQUEST_URL is absent, fail naming both causes ("api-key is empty and the job lacks id-token: write"), because a missing secret also arrives empty. Log the chosen mode. Until the backend accepts OIDC, fail an empty key with a named error.$GITHUB_OUTPUT; never a value that embeds a secret.fail-on-<verdict>: false input that downgrades it to a warning;action.yml inputs and outputs against the last release and fails on removal or rename outside a major branch.For the breaking-change table and the deprecation sequence, read references/contract-and-release.md.
effort: OIDC token exchange > short-lived scoped token input > long-lived API key input
value (blast radius when a workflow leaks): OIDC token exchange > short-lived scoped token input > long-lived API key input
efficiency: OIDC token exchange > short-lived scoped token input > long-lived API key input once the backend validates OIDC; short-lived scoped token input first while it does not.
Default: OIDC when the backend supports workload identity; otherwise a masked key input now, with OIDC on the roadmap (step 3 shape).
Why teams starve OIDC: it needs backend work - JWT validation, a trust-binding UI, token exchange - so it loses on effort.
Audience: request a vendor-specific audience, never the default owner URL.
Binding: match repository_id and repository_owner_id claims plus a ref or environment, never a wildcard or a name-only sub; new repositories use an immutable sub with numeric IDs.
Logs: mask the exchanged token before any log line; document the minimum permissions: block (id-token: write, contents: read).
Fork pull requests: they receive no secrets and no OIDC token. Offer a tokenless read-only mode where the product allows it, or exit with a message naming the limitation. Never tell customers to switch to pull_request_target.
For backend validation, claim formats, the fork split pattern and PR comments, read references/vendor-oidc.md. For key formats and rotation, see samber/developer-platform-skills@api-auth-key-management.
dist/ or binaries in CI, attest them, create a draft vX.Y.Z release, attach assets, publish.vX (and optionally vX.Y): plain Git tags with no GitHub release, pushed one at a time as refs/tags/vX, never --tags.uses: org/action@<sha> # vX.Y.Z, the form Dependabot updates.For the release workflow, test matrix and runtime timeline, read references/contract-and-release.md. For the vendor's own registry and binary publishing, see samber/developer-platform-skills@sdk-package-publishing.
curl | bash an installer at runtime; download a versioned artifact and verify it.v* tags with a ruleset only the release workflow's GitHub App can bypass; require 2FA; keep the write-access list short; prefer short-lived App tokens over bot PATs.pull_request_target, scope GITHUB_TOKEN per job, and sign release tags.User-Agent (step 9); put any further telemetry behind an input that turns it off, and document both in the README.For bad/good injection pairs, digest pinning, repo hardening, scanners and the incident runbook, read references/security-hardening.md.
action.yml at the root of a public repository so Marketplace can list it.name, a short description, a branding icon and color, and one primary category.samber/developer-platform-skills@github-marketplace-playbook.uses: line with its version comment, the permissions: block, the OIDC setup, every input with default, every output, the minimum runner and GHES versions.actions-sync into their instance. GHES signs OIDC tokens with its own issuer, usually on a private network the vendor backend cannot reach; support it through a customer-registered issuer or uploaded JWKS, or document GHES as key-only.Rank ports by the share of paying customers on each CI (interview question 2), never by the platform's general popularity.
effort: native package (GitLab component, CircleCI orb, Bitbucket Pipe, Azure DevOps task) > documented CLI snippet
value: native package > documented CLI snippet for the CI systems holding most non-GitHub customers; elsewhere native package == documented CLI snippet, because too few customers use them to repay a second release pipeline.
Default: documented CLI snippets for every CI, plus a native package for the one or two CI systems that hold most non-GitHub customers.
Parity: keep every port a thin wrapper over the same CLI and the same input names; a port that reimplements logic drifts within a few releases.
For packaging, versioning and immutability rules per platform, read references/ci-ports.md.
run_id: server-validated repository_id and repository_owner_id claims.User-Agent from the action and every port (vendor-action/1.4.2 (github-actions; Linux-X64)) to see version skew and key-auth runs; add a header flag whenever a deprecated input is set.uses: <org>/<action>@ as public signals, not as usage.A release ships only when every gate passes:
workflow_run trigger; actionlint clean;uses: SHA-pinned, every image digest-pinned, every downloaded binary verified per rule 5.v1 fails with immutable releases on - v1 carries a GitHub release. Keep major tags release-free.sub. Match on numeric ID claims.uses: is on a tag. Pin it by SHA.vX.Y.Z release.samber/developer-platform-skills@api-versioning-policy - the vendor API's own deprecation windows the action must follow.samber/developer-platform-skills@agent-skill-offering - the same lockstep versioning applied to an Agent Skill shipped with the CLI.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
61 skills in this plugin
/agent-integration-surfacesPlans how a SaaS or developer platform opens itself to AI agents, provider side - which agent classes may reach which surface, how an agent proves its identity and acts for a user (Web Bot Auth, delegated tokens, provision-then-claim signup), which execution path each gets, where agents find it (Context7, api-catalog) and how agent usage is counted. Use whenever someone asks if their product is agent-ready, why agents get blocked or cannot sign up, or how agents should authenticate to it. Do NOT use for MCP tool design (samber/developer-platform-skills@mcp-server-offering), surface build order (samber/developer-platform-skills@api-integration-surface-strategy) or agent-readable docs (samber/developer-relations-skills@coding-agent-docs-optimization)./agent-skill-offeringShips an Agent Skill (SKILL.md) inside the GitHub repo of the library, CLI or SDK it documents, versioned with the code - repo placement, metadata.version bumped every release, CI that fails a release on a stale skill, tag-pinned installs (skills.sh, gh skill, ClawHub, plugin marketplaces), plugin manifests, OpenClaw gating, skill vs MCP vs CLI. Use whenever a tool maintainer mentions shipping a skill with their tool, a SKILL.md for their library, keeping a skill in sync with releases, or plugin.json versions for a skill beside code - even if they never say "agent skill". Not for standalone skill collections. Do NOT use for CLI command or --json design - use samber/developer-platform-skills@cli-interface-design; nor for MCP servers - use samber/developer-platform-skills@mcp-server-offering.npx claudepluginhub samber/developer-platform-skills --plugin developer-platform-skills