con un clic
github-codespaces-efficiency
// Use when optimizing GitHub Codespaces — faster startup times, lower spend, slimmer devcontainers, right-sizing machines, or scoping prebuilds.
// Use when optimizing GitHub Codespaces — faster startup times, lower spend, slimmer devcontainers, right-sizing machines, or scoping prebuilds.
Use when Copilot CLI's built-in tools do not cover a service you need — for example PostgreSQL, Redis, Jira, Slack, or an internal API — and you need to add an MCP server beyond the default GitHub MCP. NOT when the built-in tools already cover the task.
Use when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Use when auditing an AI agent system against the OWASP Agentic Security Initiative Top 10 — checks tool access, prompt boundaries, memory handling, and operational safeguards across the agent pipeline.
Use when you need to evaluate an LLM pipeline or AI feature systematically — sets up an eval harness with test cases, scoring rubrics, and pass/fail tracking rather than one-off manual spot-checks
Use when reviewing or planning QA strategy for a feature, PR, or release so test coverage, test quality, reliability, and defect reporting are handled as a coherent engineering discipline instead of ad hoc checks.
Use when creating or validating a Git branch name so the branch follows a conventional type/description format, matches the work being done, and starts from the right base branch.
| name | github-codespaces-efficiency |
| description | Use when optimizing GitHub Codespaces — faster startup times, lower spend, slimmer devcontainers, right-sizing machines, or scoping prebuilds. |
| metadata | {"category":"copilot-exclusive","agent_type":"general-purpose","origin":"adapted from github/awesome-copilot github-codespaces-efficiency (MIT)"} |
Audit GitHub Codespaces efficiency with a GitHub-native lens. Focus on devcontainer size, startup time, machine sizing, prebuild scope, and idle-time discipline without stripping away tools the team relies on every day.
GitHub Codespaces is a GitHub-native development environment. This skill is most useful when
you can inspect repository configuration, correlate it with gh-based Codespaces metadata,
and turn the result into Copilot-driven GitHub workflow guidance.
.devcontainer/ exists and needs trimming, right-sizing, or prebuild tuning| Instead of github-codespaces-efficiency | Use |
|---|---|
| Debugging a failing GitHub Actions run | actions-debugging |
| Reviewing PR lifecycle and checks | github-pr-workflow |
| General local development environment setup without Codespaces | ordinary repo setup guidance |
.devcontainer/ when it existsgh CLI access if you want live Codespaces or machine data../../../references/github-codespaces-efficiency/codespaces.md - audit order, preferred fix order, safe-change rules, and reporting focus../../../references/github-codespaces-efficiency/review-rubric.md - compact rubric for review passesIf no .devcontainer/ exists yet, start with codespaces.md and define a minimal baseline
before optimizing.
Get-ChildItem .devcontainer -Recurse -File | Select-Object -ExpandProperty FullName
gh codespace list
$repo = gh repo view --json nameWithOwner --jq ".nameWithOwner"
gh api "/repos/$repo/codespaces/machines"
If gh auth fails or the user lacks repo admin scope, continue with static analysis of
.devcontainer/ files and mark machine-type or prebuild recommendations as unverified.
Look for:
devcontainer-lock.jsonRank by expected monthly savings or startup-time improvement:
Keep only evidence-backed, guardrail-safe recommendations. Return up to three.
github-pr-workflow - manage GitHub pull requests and related checksactions-debugging - debug workflow failures that block Codespaces-related changesusing-git-worktrees - isolate risky environment changes in a separate checkout