Skip to content

AI Skills

llms.txt lists every page for an agent

The Docker lexicon ships two AI skills that teach coding agents Docker Compose and Dockerfile patterns.

Skills are installed automatically when you scaffold a project:

Terminal window
chant init --lexicon docker my-project

To refresh skills after a lexicon update:

Terminal window
chant update

Core Docker lexicon usage:

  • Resource types: Service, Volume, Network, Config, Secret, Dockerfile
  • Build: chant build src --lexicon docker -o docker-compose.yml
  • Lint: chant lint src/ and post-synth checks
  • Variable interpolation: env() with required and default values
  • Default labels: defaultLabels() scope and merge

Common patterns and composition:

  • Database services with health checks and named volumes
  • Redis cache, Nginx reverse proxy
  • Multi-stage Dockerfiles
  • Secret management with env() and Docker secrets
  • Service networking with named networks

AI agents can call these MCP tools:

ToolDescription
buildBuild the chant project
lintRun lint rules
explainSummarize project resources
scaffoldGenerate starter files
searchSearch available resource types
diffShow changes between builds

Via chant serve lsp:

  • Completions: type new for Docker resource completions
  • Hover: hover over a type name for its Compose/Dockerfile serialization ===

chant