2 new efficiency skills to reduce cost and wasted cpu cycles in github actions and codespaces#1766
2 new efficiency skills to reduce cost and wasted cpu cycles in github actions and codespaces#1766mutl3y wants to merge 1 commit into
Conversation
🔍 Skill Validator Results✅ All checks passed
Summary
Full validator output```text Found 2 skill(s) [github-actions-efficiency] 📊 github-actions-efficiency: 866 BPE tokens [chars/4: 1,051] (detailed ✓), 10 sections, 1 code blocks [github-codespaces-efficiency] 📊 github-codespaces-efficiency: 734 BPE tokens [chars/4: 904] (detailed ✓), 10 sections, 1 code blocks ✅ All checks passed (2 skill(s)) ``` |
There was a problem hiding this comment.
Pull request overview
Adds two new agent skills aimed at reducing GitHub Actions and GitHub Codespaces spend by guiding Copilot through opinionated audits, fix prioritization, and reporting. The skills follow the existing skills/ layout (SKILL.md plus references/ material) and are registered in the generated skills index.
Changes:
- New
github-actions-efficiencyskill with SKILL.md and four references (actions, patterns, reporting, review-rubric). - New
github-codespaces-efficiencyskill with SKILL.md and two references (codespaces, review-rubric). - Generated update to
docs/README.skills.mdlisting both new skills.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| skills/github-actions-efficiency/SKILL.md | Entry point describing when/how to apply the Actions efficiency workflow. |
| skills/github-actions-efficiency/references/actions.md | Detailed Actions audit, gating, matrix and live-validation guidance. |
| skills/github-actions-efficiency/references/patterns.md | Canonical YAML snippets for caching, concurrency, paths, matrices. |
| skills/github-actions-efficiency/references/reporting.md | Rules for before/after reporting and follow-up review pass. |
| skills/github-actions-efficiency/references/review-rubric.md | Rubric for reviewing completed Actions efficiency work. |
| skills/github-codespaces-efficiency/SKILL.md | Entry point describing the Codespaces efficiency workflow. |
| skills/github-codespaces-efficiency/references/codespaces.md | Devcontainer/machine/prebuild audit and reporting guidance. |
| skills/github-codespaces-efficiency/references/review-rubric.md | Rubric for reviewing completed Codespaces efficiency work. |
| docs/README.skills.md | Adds index entries for both new skills. |
| ```bash | ||
| find .devcontainer -maxdepth 2 -type f | ||
| gh codespace list | ||
| gh api /repos/{owner}/{repo}/codespaces/new?machine=machine-name |
aaronpowell
left a comment
There was a problem hiding this comment.
Some questions/comments on the skills and a small nit
|
|
||
| If the task is Codespaces-related, use the `github-codespaces-efficiency` skill instead. |
There was a problem hiding this comment.
I don't think this is needed. There's nothing in the description that would encourage the agent to use this skill if it's for a codespace, so this just adds tokens to the context that aren't meaningful.
There was a problem hiding this comment.
What about a note in here about ensuring a devcontainer-lock.json file? This is something only relatively recently added so a lot of repos won't have it
There was a problem hiding this comment.
The skill is only focusing on analysing existing usages of devcontainers/codespaces, would it be worthwhile adding a little to this still to help onboard those?
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.stagedbranch for this pull request.Description
Adds 2 new skills,
github-actions-efficiencyskill focused on reducing GitHub Actions waste.github-codespaces-efficiencyskill focused on reducing GitHub Codespaces waste.These skills provide:
SKILL.mdentry point with scope, workflow, output shape, and review rubric.npm run build.Validation run locally:
node ./eng/validate-skills.mjsnpm run buildType of Contribution
Additional Notes
This PR targets
stagedand is opened from the contributor fork branchmutl3y:workflow_cost.By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.