Give This to Your Agent
Paste this into your agent’s context, system prompt, or project instructions. That’s all it takes.
This project follows DevRail development standards (https://devrail.dev).
Key rules:
1. Run `make check` before completing any task. This runs all linters,
formatters, security scanners, and tests inside a Docker container.
2. Use conventional commits: type(scope): description.
3. Never install tools on the host. All tools run inside the
ghcr.io/devrail-dev/dev-toolchain:v1 container via `make` targets.
4. Respect `.editorconfig` formatting rules.
Available make targets: lint, format, test, security, scan, check (all).
Languages are declared in `.devrail.yml`. See https://devrail.dev/docs/standards/
for per-language tool details.
Want it baked into your repo instead? Add agent instruction files so every agent reads the rules automatically.
Why DevRail?
DevRail provides a universal development contract that works the same way for every developer, every CI pipeline, and every AI agent. No more environment drift. No more “works on my machine.”
One Command
Run make check and get consistent results everywhere – your laptop, CI, or an AI agent. The Makefile delegates to a Docker container that has every tool pre-installed.
One Container
The dev-toolchain container includes linters, formatters, security scanners, and test runners for Python, Bash, Terraform, Ansible, and Ruby. Pin a version and forget about tool management.
Every Language
Per-language standards define which tools run, how they are configured, and what Makefile targets invoke them. Consistent patterns across all supported ecosystems.
How It Works
Start from a template. Create a new repository from the GitHub or GitLab template. All DevRail files are pre-configured.
Declare your languages. Edit
.devrail.ymlto list the languages your project uses. The Makefile reads this file to determine which tools to run.Run
make check. Every linter, formatter, security scanner, and test runner executes inside the dev-toolchain container. Results are identical on every machine.Ship with confidence. CI pipelines call the same
maketargets. Pre-commit hooks catch issues before push. AI agents follow the same standards.
Ready to Start?
- Agent Setup Guide – Get your AI agent following DevRail in one paste
- Quick Start Guide – Set up a new or existing project
- Standards Reference – Per-language tooling conventions
- Container Documentation – How the dev-toolchain works
- Contributing – Help improve DevRail