Agent skill
actions-optimiser
This skill should be used when the user asks to "optimise GitHub Actions", "improve my workflow", "make actions better", "review workflow usage", "how are others using this action", "find best practices for GitHub Actions", or wants to gather real-world context on how GitHub Actions are used to improve their workflows.
Install this agent skill to your Project
npx add-skill https://github.com/kaihendry/skills/tree/main/actions-optimiser
SKILL.md
GitHub Actions Optimiser
Gather real-world usage context for GitHub Actions and recommend improvements to workflow files.
Process
Step 1: Search for How an Action Is Used
When a GitHub workflow in .github/workflows/ uses an action such as:
uses: hashicorp/setup-terraform@v3
Search for real-world usage with the pre-installed gh CLI:
gh search code "setup-terraform path:.github/workflows"
Step 2: View Search Results with Context
Use the pattern /repos/{owner}/{repo}/contents/{path} to look up at least five results in parallel. For example:
gh api repos/Sofiane-Truman/cloud-foundation-fabric/contents/.github/workflows/linting.yml | jq -r '.content' | base64 -d | less
Step 3: Check Authoritative Usage
Given the earlier example of hashicorp/setup-terraform@v3, the canonical source repository is https://github.com/hashicorp/setup-terraform. Study the README.md for official guidance.
Step 4: Plan Optimisations
Identify how the GitHub workflow can be improved. Prefer the latest version of actions and keep to defaults where possible. Find and explore novel yet succinct usages from the GitHub search results.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
actions-debugger
When the user shares a GitHub Actions run URL, find the error with this skill
actions-updater
This skill should be used when the user asks to "update GitHub Actions", "check for action updates", "upgrade workflow actions", "update actions to latest version", "replace dependabot for actions", "check for outdated actions", or wants to find outdated GitHub Actions in workflow files and update them to the latest release versions.
vibe-validate
Expert guidance for vibe-validate, an LLM-optimized validation orchestration tool. Use when working with vibe-validate commands, configuration, pre-commit workflows, or validation orchestration in TypeScript projects.
agent-ci
Run GitHub Actions workflows locally with pause-on-failure for AI-agent-driven CI iteration
documentation
Documentation Brief description for SEO and navigation
debugging-workflows
Guide for debugging GitHub Agentic Workflows - analyzing logs, auditing runs, and troubleshooting issues
Didn't find tool you were looking for?