Setting the file. One moment.
Skill 191 · GitHub Codespaces Efficiency
Subchapter 191.1
references/codespaces.mdMarkdown2 KBView on GitHub
Load this reference only when the task involves .devcontainer/, Codespaces sizing, prebuilds, or workspace cost.
If the repo is onboarding Codespaces for the first time, define a minimal baseline first, then optimize.
Inspect in this order:
.devcontainer/ exists..devcontainer/devcontainer.json..devcontainer/devcontainer-lock.json exists; if missing, recommend adding it because many repos predate lock-file support.For new setups (step 2), start minimal and avoid optional tools until usage data justifies them.
When reporting Codespaces improvements, separate: