Skip to content

Add GitHub Actions and Codespaces Efficiency skill#1646

Open
mutl3y wants to merge 4 commits intogithub:stagedfrom
mutl3y:workflow_cost
Open

Add GitHub Actions and Codespaces Efficiency skill#1646
mutl3y wants to merge 4 commits intogithub:stagedfrom
mutl3y:workflow_cost

Conversation

@mutl3y
Copy link
Copy Markdown

@mutl3y mutl3y commented May 7, 2026

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

Adds a new github-actions-codespaces-efficiency skill focused on reducing GitHub Actions and Codespaces waste.

The skill provides:

  • A lean SKILL.md entrypoint with scope, workflow, output shape, and review rubric.
  • Focused references for Actions audits, Codespaces optimization, reporting, and concrete patterns.
  • agents/openai.yaml metadata aligned to the full Actions + Codespaces scope.
  • Updated generated skills documentation via npm run build.

Validation run locally:

  • node ./eng/validate-skills.mjs
  • npm run build

Type of Contribution

  • New skill file.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.

Additional Notes

This PR targets staged and is opened from the contributor fork branch mutl3y: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.

Copilot AI review requested due to automatic review settings May 7, 2026 15:12
@mutl3y mutl3y requested a review from aaronpowell as a code owner May 7, 2026 15:12
@github-actions github-actions Bot added new-submission PR adds at least one new contribution skills PR touches skills labels May 7, 2026
@github-actions github-actions Bot added the skill-check-warning Skill validator reported warnings label May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

🔍 Skill Validator Results

✅ All checks passed

Scope Checked
Skills 1
Agents 1
Total 2
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 1 skill(s)
ℹ️ [github-actions-codespaces-efficiency] 📊 github-actions-codespaces-efficiency: 1,048 BPE tokens [chars/4: 1,262] (detailed ✓), 11 sections, 1 code blocks
ℹ️ ✅ All checks passed (1 skill(s))
Full validator output ```text Found 1 skill(s) [github-actions-codespaces-efficiency] 📊 github-actions-codespaces-efficiency: 1,048 BPE tokens [chars/4: 1,262] (detailed ✓), 11 sections, 1 code blocks ✅ All checks passed (1 skill(s)) ```

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new skill (github-actions-codespaces-efficiency) to guide audits and concrete improvements that reduce GitHub Actions runtime/cost and Codespaces waste, and registers it in the generated skills documentation.

Changes:

  • Added a new skill entrypoint (SKILL.md) with a focused workflow, output shape, and review rubric for Actions + Codespaces efficiency work.
  • Added supporting reference docs for Actions audits, Codespaces optimization, reporting, and reusable implementation patterns.
  • Added agent metadata and updated docs/README.skills.md to include the new skill and its bundled assets.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
skills/github-actions-codespaces-efficiency/SKILL.md New skill entrypoint defining scope, workflow, output contract, and references.
skills/github-actions-codespaces-efficiency/references/actions.md Reference guidance for auditing and improving GitHub Actions efficiency.
skills/github-actions-codespaces-efficiency/references/codespaces.md Reference guidance for devcontainer/Codespaces sizing, prebuilds, and cost controls.
skills/github-actions-codespaces-efficiency/references/patterns.md Concrete YAML/config patterns for caching, concurrency, trigger scoping, etc.
skills/github-actions-codespaces-efficiency/references/reporting.md Guidance for before/after reporting and follow-up review passes.
skills/github-actions-codespaces-efficiency/agents/openai.yaml Agent UI/prompt metadata for the skill.
docs/README.skills.md Registers the new skill in the generated skills index with bundled assets.

Comment thread skills/github-actions-codespaces-efficiency/SKILL.md Outdated
mutl3y and others added 2 commits May 7, 2026 16:17
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@mutl3y mutl3y marked this pull request as draft May 7, 2026 15:35
@github-actions github-actions Bot removed the skill-check-warning Skill validator reported warnings label May 7, 2026
@mutl3y
Copy link
Copy Markdown
Author

mutl3y commented May 7, 2026

Added a compact audit command block to SKILL.md to address the review comment about having no code blocks. This is included in commit cf55938.

@mutl3y mutl3y marked this pull request as ready for review May 7, 2026 15:59
Copy link
Copy Markdown
Contributor

@aaronpowell aaronpowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would make more sense to exist as two separate skills, one that focuses on GitHub Actions and another that focuses on Codespaces/Devcontainers. While yes, it's likely people are using them together, they aren't really overlapping products in how they work, so having them in a single skill will overload the context window with (arguably) unhelpful tokens.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you drop this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-submission PR adds at least one new contribution skills PR touches skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants