github-actions-style
Skill by mlflow
Guides an AI assistant when writing, modifying, or reviewing GitHub Actions workflows and composite actions in the MLflow repository. It sets conventions for runners, secrets, checkouts, and shared setup actions.
Install github-actions-style
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mlflow/mlflow /tmp/mlflow && mkdir -p ~/.claude/skills && cp -r /tmp/mlflow/.claude/skills/github-actions-style ~/.claude/skills/github-actions-styleRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mlflow/mlflow /tmp/mlflow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mlflow/.claude/skills/github-actions-style ~/.gemini/antigravity-cli/skills/github-actions-styleAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install github-actions-style in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The github-actions-style skill sets conventions for GitHub Actions workflows in .github/workflows/ and composite actions in .github/actions/ in the MLflow repository. It applies when an assistant writes, modifies, or reviews these files. The guidance covers naming steps, choosing runner types, and preferring gh CLI and the repo's shared setup actions over third-party actions.
It also covers secret handling and efficiency. Examples include masking secrets generated mid-job, avoiding $GITHUB_ENV for secrets, using GITHUB_TOKEN when its scope is enough, benchmarking GraphQL queries, using sparse checkout, and running independent steps in parallel. It is aimed at contributors to MLflow who maintain CI.
Written from the project's SKILL.md and checked against it.
What it can do
- Step namingAdds a name to run steps when the name explains the step better than the first command line.
- Runner choiceRecommends ubuntu-slim for lightweight jobs and ubuntu-24.04 for long-running jobs such as polling.
- Job conditionsMoves conditions that can be read from workflow contexts into job-level if statements to skip runners.
- gh CLI over github-scriptRecommends gh CLI for simple GitHub API operations instead of actions/github-script.
- Token selectionRecommends GITHUB_TOKEN by default and a GitHub App token for other repositories or chained workflow triggers.
- Secret maskingExplains masking runtime-generated secrets with ::add-mask:: and avoiding $GITHUB_ENV for secret values.
- Shared setup actionsDirects use of the repo's composite setup actions for Python and uv, Node, and Java.
- Sparse checkoutShows how to limit actions/checkout to the files a job reads.
- GraphQL timingAdvises timing GraphQL queries against large inputs to avoid the 10-second timeout.
- Parallel stepsExplains grouping independent steps under parallel while keeping dependent work sequential.
What you need
- Access to the MLflow repository
- Familiarity with GitHub Actions workflow files
Try asking
- Review this workflow for secrets that might leak into $GITHUB_ENV.
- Replace this third-party label action with a gh CLI step.
- Move this job's condition to job-level if and switch it to ubuntu-slim.
Good to know
- ubuntu-slim has a 15-minute timeout, so use ubuntu-24.04 for long-running jobs.
- GraphQL requests longer than 10 seconds are terminated by GitHub.
- Events created with GITHUB_TOKEN generally do not trigger other workflow runs.
- Local action paths resolve relative to $GITHUB_WORKSPACE.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/github-actions-style/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
agents/openai.yaml42 B
Alternatives to github-actions-style
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
github-actions-style: common questions
Does this skill cover secret handling in GitHub Actions?
Yes. It explains masking secrets minted mid-job with ::add-mask:: and passing them through $GITHUB_OUTPUT and step-level env blocks instead of $GITHUB_ENV.
Which runner should I use for simple workflow jobs?
The skill recommends ubuntu-slim for simple tasks such as labeling, commenting, and notifications. It notes ubuntu-slim has a 15-minute timeout, so long-running jobs should use ubuntu-24.04.
When should a workflow use GITHUB_TOKEN instead of a GitHub App token?
Use GITHUB_TOKEN by default for operations in the current repository when its permissions are sufficient. Use actions/create-github-app-token when other repositories are needed or when the event must trigger another workflow.
How do I install github-actions-style?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is github-actions-style free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is github-actions-style safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to github-actions-style?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
