configure-workflows

v2026.09.24

Whole-repo audit of .github/workflows/ — baseline workflows the project type is missing, and stale action pins. Use when reviewing a repo's CI as a set or bumping outdated action versions.

GitHub
Install command
npx skhub add laurigates/configure-workflows
Markdown
SKILL.md

/configure:workflows

Check and configure GitHub Actions CI/CD workflows against project standards.

When to Use This Skill

Use this skill when...Use another approach when...
Checking GitHub Actions workflows for compliance with project standardsDebugging a failing CI run (use github-actions-inspection skill)
Setting up container build, test, or release-please workflowsInstalling Claude-powered reusable workflows (use /configure:reusable-workflows)
Updating outdated action versions (checkout, build-push, etc.)Writing a custom workflow from scratch (use ci-workflows skill)
Adding multi-platform builds or GHA caching to existing workflowsConfiguring security-specific workflows (use /configure:security)
Auditing which required workflows are missing from a projectManaging GitHub repository settings or branch protection rules

Context

  • Workflows dir: !find . -maxdepth 1 -type d -name \'.github/workflows\'
  • Workflow files: !find . -path '*/.github/workflows/*' -maxdepth 3 \( -name '*.yml' -o -name '*.yaml' \)
  • Package files: !find . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \)
  • Dockerfile: !find . -maxdepth 1 -name 'Dockerfile*'
  • Release-please config: !find . -maxdepth 1 -name \'release-please-config.json\'

Skills referenced: ci-workflows, github-actions-auth-security

Display name convention: Every generated or repaired workflow's name: follows <Domain>: <Action> [<target>] (quoted, since YAML treats : as a key separator). See .claude/rules/workflow-naming.md for the full rule and active domains.

Parameters

Parse from command arguments:

  • --check-only: Report status without offering fixes
  • --fix: Apply fixes automatically

Execution

Execute this GitHub Actions workflow configuration check:

Step 1: Fetch latest action versions

Verify latest versions before reporting outdated actions:

  1. actions/checkout - releases
  2. actions/setup-node - releases
  3. actions/cache - releases
  4. docker/setup-buildx-action - releases
  5. docker/build-push-action - releases
  6. docker/login-action - releases
  7. docker/metadata-action - releases
  8. reproducible-containers/buildkit-cache-dance - releases
  9. google-github-actions/release-please-action - releases

Use WebSearch or WebFetch to verify current versions.

Step 2: Detect project type and list workflows

  1. Check for .github/workflows/ directory
  2. List all workflow files (*.yml, *.yaml)
  3. Categorize workflows by purpose (container build, test, release)

Determine required workflows based on project type:

Project TypeRequired Workflows
Frontendcontainer-build, release-please, renovate (optional: claude-auto-fix)
Pythoncontainer-build, release-please, test, renovate (optional: claude-auto-fix)
Infrastructurerelease-please, renovate (optional: docs, claude-auto-fix)

Step 3: Analyze workflow compliance

Container Build Workflow Checks:

CheckStandardSeverity
checkout actionv6WARN if older
build-push actionv7WARN if older
Multi-platformamd64 + arm64WARN if missing
RegistryGHCR (ghcr.io)INFO
CachingGHA cache enabledWARN if missing
PermissionsExplicitWARN if missing
id-token: writeRequired when provenance/SBOM enabledWARN if missing
Cache scopeExplicit scope= when multiple build jobsWARN if missing
Dead metadata tagsNo type=schedule without schedule triggerINFO
Semver regex escapingDots escaped in type=match patterns (\d+\.\d+)WARN if unescaped
Hardcoded image namesDerive from ${{ github.repository }}INFO if hardcoded
Digest outputCapture build-push digest via id: for traceabilityINFO if missing
Job summaryWrite image/digest/tags to $GITHUB_STEP_SUMMARYINFO if missing
Duplicated job conditionsIdentical if: on sibling jobs; suggest gate jobINFO

Release Please Workflow Checks:

CheckStandardSeverity
Action versionv4WARN if older
TokenMY_RELEASE_PLEASE_TOKENWARN if GITHUB_TOKEN
Permissionscontents: write, pull-requests: writeFAIL if missing

Test Workflow Checks:

CheckStandardSeverity
Node version22WARN if older
Lintingnpm run lintWARN if missing
Type checknpm run typecheckWARN if missing
CoverageCoverage uploadINFO

Renovate Workflow Checks:

CheckStandardSeverity
RENOVATE_REPOSITORIES env varMust be set (${{ github.repository }})FAIL if missing
checkout actionv6WARN if older
renovatebot/github-actionMinor-pinned (e.g., v46.1.0), not major tagWARN if major-only
Uses reusable workflowPreferred (except infrastructure)INFO if standalone

Claude Auto-Fix Workflow Checks (if present):

CheckStandardSeverity
workflow_run triggerMonitors at least one workflowWARN if misconfigured
Loop preventionSkips fix(auto): commitsFAIL if missing
DeduplicationCaps open auto-fix PRsWARN if missing
Claude Code Actionanthropics/claude-code-action@v1WARN if older
OAuth tokenCLAUDE_CODE_OAUTH_TOKEN secretFAIL if missing
PermissionsMinimal required setWARN if excessive

Step 4: Generate compliance report

Print a formatted compliance report showing workflow status, per-workflow check results, and missing workflows.

If --check-only is set, stop here.

For the report format, see REFERENCE.md.

Step 5: Apply configuration (if --fix or user confirms)

  1. Missing workflows: Create from standard templates
  2. Outdated actions: Update version numbers
  3. Missing multi-platform: Add platforms to build-push
  4. Missing caching: Add GHA cache configuration

For standard templates (container build, test workflow), see REFERENCE.md.

Step 6: Update standards tracking

Update .project-standards.yaml:

components:
  workflows: "2025.1"

Agentic Optimizations

ContextCommand
Quick compliance check/configure:workflows --check-only
Auto-fix all issues/configure:workflows --fix
List workflow filesfind .github/workflows -name '*.yml' -o -name '*.yaml'
Check action versionsrg 'uses:' .github/workflows/ --no-heading
Verify release-please configtest -f release-please-config.json && echo "EXISTS"

Flags

FlagDescription
--check-onlyReport status without offering fixes
--fixApply fixes automatically

See Also

  • /configure:container - Comprehensive container infrastructure (builds, registry, scanning)
  • /configure:dockerfile - Dockerfile configuration and security
  • /configure:release-please - Release automation specifics
  • /configure:all - Run all compliance checks
  • ci-workflows skill - Workflow patterns
  • github-actions-inspection skill - Workflow debugging
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

configure-plugin/skills/configure-workflows

Default branch

main

Latest commit

1668324

Tree SHA

b2d4cc3