airails.dev

Standards-first guardrails for AI coding agents.

Semantic compression
Use what the model already knows: standards instead of invention. Fewer tokens, less ambiguity.
Exclusive grounding
Define the allowed solution space, exclude everything else.

= fewer turns · lower inference cost · predictable code

skill.md

LLM-native conventions. See installation.

java

aws

web platform

agents.md

Specialized subagent definitions for AI coding agents. Place in your AI coding agent's agents directory.

  • zb ↓ details Java builds with zb without external dependencies

migrating

Migrate legacy, overengineered enterprise Java or web systems onto the modern stack. Rehost, replatform, or rearchitect toward BCE; every code-changing step bracketed by recorded behavior.

skill.md

documenting

sidetrack

Supplementary skills and utilities.

skill.md

installation

A skill is a directory containing a SKILL.md. Install it in your agent's skills directory: home for all projects (~/.claude/skills/), project root for one project (<project>/.claude/skills/).

Three ways in: the airails installer (one command, Java 25), a zip from the skills release (all skills per agent, or one bundle per stack; no JDK, no git), or installSkills from a clone for the working tree.

airails installer

One command selects, downloads and extracts released bundles, globally or into a project. Needs curl and Java 25; no git, no clone.

curl -fsSL https://raw.githubusercontent.com/AdamBien/airails/main/airails | java --source 25 /dev/stdin
What the command does

curl fetches the installer, a single-file Java program, from the repository's main branch and pipes it to java. The source launcher compiles it in memory and runs it: no javac, no JAR, nothing written to disk until you confirm the plan.

  • curl -fsSL <url> downloads the raw airails file to standard output. -f fails on HTTP errors instead of passing an error page to Java, -s hides the progress meter, -S still reports a failure, -L follows redirects
  • | pipes the text into the next command instead of saving it
  • java --source 25 runs the JDK's source-file launcher (since Java 11) at language level 25. The flag is required because the file has no .java extension and uses Java 25 features such as import module and IO.println; a JDK 25 is needed
  • /dev/stdin names the pipe as the source file, so the launcher reads the program curl just downloaded. Everything after it is passed to the installer as arguments

The installer depends on java.base and java.net.http only. Its first line is a shebang, #!/usr/bin/env -S java --source 25, so a downloaded copy also runs as ./airails. As with any piped install you execute what the URL serves at that moment; to inspect first, download the file, read it, and run java --source 25 airails.

How it works, options, project layout

The wizard asks three questions: scope (globally into your home, or a project root), agents (installed ones are marked detected), and bundles (read from the release, default: skills, every skill). It prints the plan, the skills each bundle contains and the directories they go to, and downloads and unzips on confirmation. A skill of the same name is overwritten, the release being the source of truth.

Each option answers one question. With all of them answered it runs without a terminal, e.g. in CI or a project's setup script:

curl -fsSL https://raw.githubusercontent.com/AdamBien/airails/main/airails | java --source 25 /dev/stdin -project . -agents claude -bundles web,sbce -yes
  • -global installs into the home directory; -project <root> into a project, checked in with it
  • -agents <ids> comma-separated: claude, vibe, kiro, copilot, codex, goose, or all
  • -bundles <names> comma-separated released bundles, or all; -list prints what the release offers
  • -yes proceeds without the final confirmation; -help, -version

Project installs land where each agent reads them in a repository: .claude/skills, .vibe/skills, .kiro/skills, .github/skills (Copilot), .agents/skills (Codex and Goose share it). Commit the skills directories to share them with the project.

Any agent

All skills under a plain skills/ prefix — compatible with every agent. Unzip into the parent of your agent's skills directory.

airails-skills.zip ↓ unzip airails-skills.zip -d <parent>

Bundles

One zip per stack: the core (bce, bce-reviewer, system-tests, readme) plus the stack skill, its building blocks, conventions, and test loop. fullstack is the union of sbce, documentation, java-server and web, so a system with both tiers needs no second bundle. sbce and documentation are add-ons for any stack. Same skills/ prefix as above, so unzip into the parent of your agent's skills directory, e.g. unzip airails-web.zip -d ~/.claude. Bundles overlap by design; unzipping two writes identical files twice. The installer fetches the same zips: -bundles web,sbce.

  • airails-fullstack.zip ↓ unzip airails-fullstack.zip -d <parent>

    sbce + documentation + java-server + web: from system brief to a running backend and frontend
  • airails-java-server.zip ↓ unzip airails-java-server.zip -d <parent>

    core + microprofile-server, continuous-testing, aws-cdk, java-conventions, concerns, jdbc-persistence, memory-persistence, zjson
  • airails-java-cli.zip ↓ unzip airails-java-cli.zip -d <parent>

    core + java-cli-app, java-cli-script, java-conventions, concerns, zb, zb-release-pipeline, zargs, zcfg, zcl, zjson, zunit, zhtmldb, zllm-scripts, jdbc-persistence, memory-persistence
  • airails-web.zip ↓ unzip airails-web.zip -d <parent>

    core + web-conventions, javascript-conventions, web-static, web-sprinkles, web-components, web-system-tests, web-latest, web-pwa, web-performance-reviewer, web-standards-reviewer
  • airails-migrations.zip ↓ unzip airails-migrations.zip -d <parent>

    core + migration-advisor, concept-extractor, concept-clarifier, bc-carver, concept-annotator, characterization-tests, simplifier, java-conventions, concerns, java-distiller, python-to-java
  • airails-sbce.zip ↓ unzip airails-sbce.zip -d <parent>

    add-on: sbce, ears-tests, capability-brief, system-brief
  • airails-documentation.zip ↓ unzip airails-documentation.zip -d <parent>

    add-on: readme, bce-diagrams, mermaid, drawio
Claude Code

Copy skill files to ~/.claude/skills/

Or airails-claude.zip: unzip airails-claude.zip -d ~

Codex

Copy skill files to ~/.agents/skills/

Or airails-codex.zip: unzip airails-codex.zip -d ~

Vibe

Copy skill files to ~/.vibe/skills/

Or airails-vibe.zip: unzip airails-vibe.zip -d ~

Kiro

Copy skill files to ~/.kiro/skills/

Or airails-kiro.zip: unzip airails-kiro.zip -d ~

Copilot

Copy skill files to ~/.copilot/skills/

Or airails-copilot.zip: unzip airails-copilot.zip -d ~

Goose

Copy skill files to ~/.config/goose/skills/

Or airails-goose.zip: unzip airails-goose.zip -d ~