You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.skills.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,8 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to
177
177
|[geofeed-tuner](../skills/geofeed-tuner/SKILL.md)<br />`gh skills install github/awesome-copilot geofeed-tuner`| Use this skill whenever the user mentions IP geolocation feeds, RFC 8805, geofeeds, or wants help creating, tuning, validating, or publishing a self-published IP geolocation feed in CSV format. Intended user audience is a network operator, ISP, mobile carrier, cloud provider, hosting company, IXP, or satellite provider asking about IP geolocation accuracy, or geofeed authoring best practices. Helps create, refine, and improve CSV-format IP geolocation feeds with opinionated recommendations beyond RFC 8805 compliance. Do NOT use for private or internal IP address management — applies only to publicly routable IP addresses. |`assets/example`<br />`assets/iso3166-1.json`<br />`assets/iso3166-2.json`<br />`assets/small-territories.json`<br />`references/rfc8805.txt`<br />`references/snippets-python3.md`<br />`scripts/templates`|
178
178
|[git-commit](../skills/git-commit/SKILL.md)<br />`gh skills install github/awesome-copilot git-commit`| Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping | None |
179
179
|[git-flow-branch-creator](../skills/git-flow-branch-creator/SKILL.md)<br />`gh skills install github/awesome-copilot git-flow-branch-creator`| Intelligent Git Flow branch creator that analyzes git status/diff and creates appropriate branches following the nvie Git Flow branching model. | None |
180
-
|[github-actions-codespaces-efficiency](../skills/github-actions-codespaces-efficiency/SKILL.md)<br />`gh skills install github/awesome-copilot github-actions-codespaces-efficiency`| Audit and improve GitHub Actions and Codespaces efficiency. Use this skill when a user wants to reduce CI minutes, cancel redundant runs, add dependency caching, narrow workflow triggers with path filters, slim devcontainers, right-size Codespaces, tune idle timeout guidance, or scope prebuilds to high-value branches. |`references/actions.md`<br />`references/codespaces.md`<br />`references/patterns.md`<br />`references/reporting.md`|
180
+
|[github-actions-efficiency](../skills/github-actions-efficiency/SKILL.md)<br />`gh skills install github/awesome-copilot github-actions-efficiency`| Audit and improve GitHub Actions workflow efficiency. Use this skill when a user wants to reduce CI minutes, cancel redundant runs, add dependency caching, narrow workflow triggers with path filters, reduce matrix breadth, or optimize job parallelism. |`references/actions.md`<br />`references/patterns.md`<br />`references/reporting.md`<br />`references/review-rubric.md`|
181
+
|[github-codespaces-efficiency](../skills/github-codespaces-efficiency/SKILL.md)<br />`gh skills install github/awesome-copilot github-codespaces-efficiency`| Audit and improve GitHub Codespaces efficiency. Use this skill when a user wants faster Codespaces startup, lower Codespaces spend, slim devcontainers, right-size machines, tune idle timeout, or scope prebuilds to high-value branches. |`references/codespaces.md`<br />`references/review-rubric.md`|
181
182
|[github-copilot-starter](../skills/github-copilot-starter/SKILL.md)<br />`gh skills install github/awesome-copilot github-copilot-starter`| Set up complete GitHub Copilot configuration for a new project based on technology stack | None |
182
183
|[github-issues](../skills/github-issues/SKILL.md)<br />`gh skills install github/awesome-copilot github-issues`| Create, update, and manage GitHub issues using MCP tools. Use this skill when users want to create bug reports, feature requests, or task issues, update existing issues, add labels/assignees/milestones, set issue fields (dates, priority, custom fields), set issue types, manage issue workflows, link issues, add dependencies, or track blocked-by/blocking relationships. Triggers on requests like "create an issue", "file a bug", "request a feature", "update issue X", "set the priority", "set the start date", "link issues", "add dependency", "blocked by", "blocking", or any GitHub issue management task. |`references/dependencies.md`<br />`references/images.md`<br />`references/issue-fields.md`<br />`references/issue-types.md`<br />`references/projects.md`<br />`references/search.md`<br />`references/sub-issues.md`<br />`references/templates.md`|
183
184
|[github-release](../skills/github-release/SKILL.md)<br />`gh skills install github/awesome-copilot github-release`| Guides IA through releasing a new version of a GitHub library end-to-end. Handles SemVer versioning and Keep a Changelog formatting automatically. |`references/commit-classification.md`<br />`references/semver-rules.md`|
Copy file name to clipboardExpand all lines: skills/github-actions-efficiency/SKILL.md
+11-25Lines changed: 11 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,27 @@
1
1
---
2
-
name: github-actions-codespaces-efficiency
3
-
description: 'Audit and improve GitHub Actions and Codespaces efficiency. Use this skill when a user wants to reduce CI minutes, cancel redundant runs, add dependency caching, narrow workflow triggers with path filters, slim devcontainers, right-size Codespaces, tune idle timeout guidance, or scope prebuilds to high-value branches.'
2
+
name: github-actions-efficiency
3
+
description: 'Audit and improve GitHub Actions workflow efficiency. Use this skill when a user wants to reduce CI minutes, cancel redundant runs, add dependency caching, narrow workflow triggers with path filters, reduce matrix breadth, or optimize job parallelism.'
4
4
---
5
5
6
-
# GitHub Actions and Codespaces Efficiency
6
+
# GitHub Actions Efficiency
7
7
8
-
Use this skill as a lean entrypoint for GitHub Actions and Codespaces efficiency work. Keep the hot path small: inspect the repo, identify the waste source, then load only the reference material needed for the current task.
8
+
Use this skill as a lean entrypoint for GitHub Actions efficiency work. Keep the hot path small: inspect the repo, identify the waste source, then load only the reference material needed for the current task.
9
9
10
10
## Use This Skill When
11
11
12
12
- The user wants to reduce GitHub Actions runtime, CI cost, or wasted workflow runs.
13
-
- The user wants faster Codespaces startup or lower Codespaces spend.
14
-
- The repo has `.github/workflows/*.yml`, a `.devcontainer/`, or explicit Codespaces configuration questions.
15
-
- The user asks for caching, concurrency, path filters, matrix reduction, prebuild strategy, machine sizing, or idle-timeout guidance.
13
+
- The repo has `.github/workflows/*.yml` and explicit GitHub Actions configuration questions.
14
+
- The user asks for caching, concurrency, path filters, matrix reduction, job optimization, or workflow-specific fixes.
16
15
17
16
## Load Only What You Need
18
17
19
18
Start with the repo configuration, then load references selectively:
20
19
21
20
- Read [`references/actions.md`](./references/actions.md) for GitHub Actions audits, job gating, matrix reduction, live validation, and workflow-specific fixes.
22
-
- Read [`references/codespaces.md`](./references/codespaces.md) for devcontainer, machine-sizing, prebuild, and idle-timeout guidance.
23
21
- Read [`references/reporting.md`](./references/reporting.md) when the user asks what changed, wants a before/after efficiency report, or wants another review pass over the remaining expensive jobs.
24
22
- Read [`references/patterns.md`](./references/patterns.md) only when you need concrete YAML or configuration examples during implementation.
25
23
26
-
If the task is CI-only, do not load the Codespaces reference. If the task is Codespaces-only, do not load the Actions reference.
24
+
If the task is Codespaces-related, use the `github-codespaces-efficiency` skill instead.
27
25
28
26
## Core Workflow
29
27
@@ -35,15 +33,14 @@ Inspect the current configuration before proposing changes:
35
33
- Dependency installation and cache behavior
36
34
- Whether docs-only or config-only changes trigger heavy validation
37
35
- Whether matrix breadth matches the actual decision being made
38
-
-Whether devcontainers or Codespaces defaults are oversized
description: 'Audit and improve GitHub Codespaces efficiency. Use this skill when a user wants faster Codespaces startup, lower Codespaces spend, slim devcontainers, right-size machines, tune idle timeout, or scope prebuilds to high-value branches.'
4
+
---
5
+
6
+
# GitHub Codespaces Efficiency
7
+
8
+
Use this skill as a lean entrypoint for GitHub Codespaces efficiency work. Keep the hot path small: inspect the repo, identify the waste source, then load only the reference material needed for the current task.
9
+
10
+
## Use This Skill When
11
+
12
+
- The user wants faster Codespaces startup or lower Codespaces spend.
13
+
- The repo has a `.devcontainer/` or explicit Codespaces configuration questions.
14
+
- The user asks for devcontainer optimization, machine sizing, prebuild strategy, or idle-timeout guidance.
15
+
16
+
## Load Only What You Need
17
+
18
+
Start with the repo configuration, then load references selectively:
19
+
20
+
- Read [`references/codespaces.md`](./references/codespaces.md) for devcontainer, machine-sizing, prebuild, idle-timeout guidance, and reporting.
21
+
22
+
If the task is GitHub Actions-related, use the `github-actions-efficiency` skill instead.
23
+
24
+
## Core Workflow
25
+
26
+
### 1. Measure first
27
+
28
+
Inspect the current configuration before proposing changes:
29
+
30
+
- Whether devcontainers or Codespaces defaults are oversized
31
+
- Machine type selection and whether it matches actual development needs
32
+
- Prebuild configuration and which branches have prebuilds enabled
33
+
- Idle timeout settings and usage patterns
34
+
- Extension and port forwarding overhead
35
+
36
+
Start with a compact repo audit like this:
37
+
38
+
```bash
39
+
find .devcontainer -maxdepth 2 -type f
40
+
gh codespace list
41
+
gh api /repos/{owner}/{repo}/codespaces/new?machine=machine-name
42
+
```
43
+
44
+
### 2. Rank fixes by payoff
45
+
46
+
Prefer this order unless repo context says otherwise:
47
+
48
+
1. Trim oversized devcontainer or Codespaces defaults
49
+
2. Right-size machine types based on actual usage patterns
50
+
3. Configure prebuilds for high-value branches only
51
+
4. Tune idle timeout to match development habits
52
+
5. Remove unnecessary extensions or port forwards
53
+
6. Optimize devcontainer image size and layer caching
54
+
55
+
### 3. Keep changes conservative
56
+
57
+
- Do not remove required development tools or extensions that are essential for the workflow.
58
+
- Do not assume smaller machines always mean better productivity; balance cost with developer experience.
59
+
- Treat prebuild configuration as a trade-off between storage cost and startup time.
60
+
- Prefer incremental changes over complete devcontainer rewrites.
61
+
- Separate repo-editable changes from GitHub/org settings recommendations.
62
+
63
+
### 4. Verify in GitHub when possible
64
+
65
+
Configuration changes should be tested when possible.
66
+
67
+
- Validate machine sizing by monitoring actual resource usage.
68
+
- Use a test Codespace to verify devcontainer changes work as expected.
69
+
- Treat unexpected behavior as a real bug even when the configuration looks correct.
70
+
71
+
## Required Output Shape
72
+
73
+
When using this skill, keep the response compact and structured around these four sections:
74
+
75
+
1.`Waste sources`: the top cost or latency drivers you found
76
+
2.`Proposed fixes`: the small set of highest-confidence changes
77
+
3.`Validation`: what was proven live, what was only checked locally, and any remaining risk
78
+
4.`Impact`: expected savings separately from measured savings
0 commit comments