CtrlK
BlogDocsLog inGet started
Tessl Logo

nitinjain999/platform-skills

Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.

67

Quality

84%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

README.mdexamples/github-actions/composite-actions/

Composite Actions Examples

Production-ready composite GitHub Actions covering the most common platform engineering workflows. Every example ships with a full repo structure: action.yml, README.md, CHANGELOG.md, test workflow, release workflow, and dependabot.yml.

Status: Stable


Quick reference

ExampleWhat it doesKey patterns
docker-build-pushBuild + push to GHCROIDC, multi-platform, SLSA provenance, SBOM
notify-slackSlack build status notification::add-mask::, secrets-as-inputs, payload via printf
k8s-deployApply manifest + rollout waitEKS/AKS/GKE OIDC, kubelogin, no static secrets
terraform-plantf fmt → validate → plan → PR commentAWS+Azure OIDC, idempotent comment upsert
security-scanTrivy image/fs scan + gateSeverity enum, SARIF output, inline annotations
release-tagSemver bump + GitHub releaseConventional commits, $GITHUB_OUTPUT chaining
pr-commentPost or update a PR commentHidden marker upsert, collapsible, delete-on-close
setup-envInstall Node/Python/Go + cacheMulti-runtime, cache key, runtime_version output
configure-cloudAWS or Azure OIDC credentialsConditional inputs, no secrets, federated identity
setup-terraformInstall Terraform + provider cachePlugin cache dir, lock-file cache key, wrapper flag
db-migrateRun database migrations safelyHealth check, dry-run, multi-tool, advisory lock, rollback guide

Pick the right example

Need to build and push a container image?          → docker-build-push
Need to notify a team on success/failure?          → notify-slack
Need to deploy to Kubernetes?                      → k8s-deploy
Need to run Terraform and show the plan in a PR?   → terraform-plan
Need to scan for CVEs before deploying?            → security-scan
Need to version and release automatically?         → release-tag
Need to post a structured comment on a PR?         → pr-comment
Need to set up a language runtime with caching?    → setup-env (tutorial baseline)
Need to configure AWS or Azure credentials?        → configure-cloud
Need to install Terraform with provider caching?   → setup-terraform
Need to run database migrations safely?            → db-migrate

What every example includes

FilePurpose
action.ymlComposite action definition
README.mdInputs/outputs table, variables & secrets guide, full usage example
CHANGELOG.mdVersion history
.github/workflows/test-action.ymlTest workflow using local path reference + matrix
.github/workflows/release.ymlTag → actionlint validation → floating major tag → GitHub release
.github/dependabot.ymlWeekly SHA updates for all pinned external actions

Shared best practices applied across all examples

PracticeApplied in
shell: on every run: stepAll
All external uses: pinned to 40-char SHA with version commentAll
Secrets passed as required: true inputs, never ${{ secrets.* }}All
::add-mask:: on secrets immediately after readingnotify-slack, k8s-deploy, terraform-plan, release-tag, pr-comment
Inputs passed through env: block — never interpolated in run:All
Input validation step as the first step with ::error:: fail-fastAll
$GITHUB_STEP_SUMMARY written in every actionAll
::group:: / ::endgroup:: around each logical phaseAll
::error:: / ::warning:: annotations for findingssecurity-scan, release-tag
timeout-minutes on network-bound stepsnotify-slack, k8s-deploy, security-scan
Idempotent by design (documented in each README)All
dependabot.yml for github-actions ecosystemAll
Release workflow with actionlint gate + SHA pinning checkAll

Generate a new action

/platform-skills:composite-actions generate

Runs a guided interview → produces a full repo scaffold matching this structure → optionally opens a PR on an existing repo.


Audit an existing action

/platform-skills:composite-actions review

Audits any action.yml against the production checklist. Reports CRITICAL / WARNING / INFORMATIONAL findings with a score.


Further reading

  • Reference: references/composite-actions.md — full documentation
  • Command: commands/composite-actions.md — all modes
  • Upstream docs: Creating a composite action — GitHub Docs

examples

BEFORE_AFTER.md

CHANGELOG.md

CODE_OF_CONDUCT.md

COMMANDS.md

CONTRIBUTING.md

EDITOR_INTEGRATIONS.md

GETTING_STARTED.md

HOW_IT_WORKS.md

install.sh

INSTALLATION.md

LAUNCH.md

PROMPTS.md

QUICKSTART.md

README.md

renovate.json

SECURITY.md

SKILL.md

tessl.json

tile.json