A universal boilerplate for reliable, isolated, and AI-friendly development, including devcontainer tooling and an AI memory bank.
- DevContainers: Fully isolated environment (VS Code / Docker).
- AI-Git Flow: Structured memory bank and automation for new repos.
- Just: Simple command runner.
.devcontainer/ # Docker & Environment config
.ai/ # AI Memory Bank (The "Brain")
└── memory/ # Context files (Mission, Active State)
AGENTS.md # Entry point for AI instructions + doc map
docs/ # Documentation registry
prompts/ # AI Task Management
├── active/ # The ONLY task AI should work on
└── history/ # Archived tasks
This is a template repository for starting a new project with using dotfiles with workflow in devcontainer for VS Code.
Template/fork and use as is or replace dotfiles in Dockerfile
- Keep all the things in insolation from the host machine
- Have a way to run the project on any machine with the same config
- Ability to easily re-create the environment on a new local or remote machine
- Safely try any VSCode based editor
notes:
- Microsoft limit access
to VSCode marketplace, but extensions installation from other sources is still in
place, meaning that you can config your editor of choice with extensions listing
them in
devcontainer.jsonusing VSCode extension marketplace.
TL;DR: For use local .env file for project related variables, for shared between
different projects AND for MCP's use ~./.devcontainer/.env.devcontainer.
-
containerEnvsection of thedevcontainer.jsonwith build env vars. -
remoteEnvsection of thedevcontainer.jsonwith runtime env vars. -
[optional] global env file on the host machine in
~/.devcontainer/.env.devcontainerfile -
[optional] project
.envfile, which is excluded from git and used for secrets
- [optional]
GOOGLE_AI_STUDIO_API_KEY- used byaicommit2, should contain Google AI Studio API key
- Consistent git commit messages generation with
aicommit2andVSCodefollowing conventional commit message format mitmproxy(optional) integration, that allows to intercept and/or substitute responses from other services (local MitM), details- There is a shared folder from outside of the project workspace
~/.devcontainer/sharedthat is forwarded to/workspace/sharedpath. This path is ignored from git
The original boilerplate was from from this MS repo
This repository is a Self-Configuring Template.
For Users:
- Click "Use this template".
- The system will automatically replace the Template's memory with a Fresh Project memory.
For Contributors:
- Work in
.ai/memoryto change this repo. - Work in
templates/ai_scaffoldto change what new repos start with. AGENTS.mdis the entrypoint for AI assistants; usedocs/for additional context and decisions.