This repository contains a collection of features that can be used to enhance the development experience in a Visual Studio Code Dev Container.
The features are organized in separate folders and can be used individually in a devcontainer.json file.
The installation script can be run locally and/or in a devcontainer environment.
When run locally:
- Features are installed in the local environment.
- A
devcontainer.jsonfile is optionally created for the remote development experience.
npx tomgrv/devcontainer-features -hnpx tomgrv/devcontainer-features -- initnpx tomgrv/devcontainer-features -- add gitutilsnpx tomgrv/devcontainer-features -- add -a| Feature | Description |
|---|---|
| GitUtils | Git aliases and workflow automation |
| GitHooks | Commit hooks: commitlint, prettier, lint-staged |
| GitVersion | Semantic versioning via GitVersion |
| Act | Run GitHub Actions locally via nektos/act |
| PECL | PHP extension installer via PECL |
| Larasets | Laravel-specific development utilities |
| Common Utils | Shared utilities used by other features |
| Gateway | SSL certificate management for corporate networks |
| Minikube | Local Kubernetes cluster via Minikube |
| AI Coding | Agent-agnostic AI coding skills + Claude Code GitHub Action |
A collection of Git aliases, git-flow shortcuts, and interactive utilities for automating Git workflows.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/gitutils:5": {}
}npx tomgrv/devcontainer-features -- add gitutilsConfigures Git hooks in one step using commitlint, commitizen, lint-staged, prettier, and devmoji.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/githooks:5": {}
}npx tomgrv/devcontainer-features -- add githooksInstalls GitVersion to calculate semantic version numbers from your Git history.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/gitversion:6": {}
}npx tomgrv/devcontainer-features -- add gitversionInstalls nektos/act to run GitHub Actions locally inside the dev container.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/act:6": {}
}npx tomgrv/devcontainer-features -- add actInstalls PHP extensions from the PHP Extension Community Library (PECL).
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/pecl:5": {
"extension": "zip"
}
}npx tomgrv/devcontainer-features -- add peclLaravel-specific settings, shell utilities, Composer scripts, and VS Code extensions for Laravel development.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/larasets:6": {}
}npx tomgrv/devcontainer-features -- add larasetsShared utilities (jq, dos2unix, JSON helpers, logging) used by other features in this collection.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/common-utils:5": {
"utils": "jq dos2unix"
}
}npx tomgrv/devcontainer-features -- add common-utilsHandles SSL inspection certificates for corporate network environments (e.g. Zscaler). Installs the root CA and wraps curl for transparent gateway authentication. Can also be installed on the host to make it ready for devcontainer creation behind the gateway.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/gateway:7": {}
}npx tomgrv/devcontainer-features -- add gatewayInstalls Minikube to run a single-node Kubernetes cluster locally inside the dev container.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/minikube:6": {}
}npx tomgrv/devcontainer-features -- add minikubeAgent-agnostic AI coding skills (.github/skills/) plus the Claude Code GitHub Action for @claude mentions on issues and pull requests.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/ai-coding:7": {}
}npx tomgrv/devcontainer-features -- add ai-codingIf you have a feature that you would like to add to this repository, please open an issue or submit a pull request.
This repository is licensed under the MIT License.