Guidance for AI coding agents working in this repository.
Project name: Boilerplates CLI
A Python CLI for managing infrastructure boilerplates, template libraries, template rendering, and validation. Built with Typer and Jinja2.
AGENTS.md file.AGENTS.md files may add or override instructions for their subtrees.RELEASE.md first.cli/ - main CLI application and core runtime code.tests/ - automated tests, fixtures, and test utilities.CONTRIBUTING.md - setup, validation, GitHub workflow, and command overview.docs/ - developer documentation and architecture notes.RELEASE.md - release PR, version, changelog, tag, and publish workflow.scripts/ - installer and helper scripts..github/ - workflows, issue/PR templates, and repository scripts.library/ - backward-compatibility template content for versions older than 0.2.0; not the canonical modern template library.Project documentation lives in docs/.
Agents should read the relevant docs before making changes and update docs when behavior, configuration, or workflows change.
docs/architecture.md - repository layout, module system, and core runtime componentsdocs/templates.md - template format, variables, rendering, and validation behaviordocs/libraries.md - library configuration and canonical external template library guidancedocs/display.md - DisplayManager and CLI output rulesDefault checks before finishing code changes:
ruff check --fix .
ruff format .
python3 -m pytest
See CONTRIBUTING.md for setup and workflow details.
cli/core/exceptions.py for user-facing errors where applicable.DisplayManager for user-facing command output; never print directly from command, module, config, repository, validation, or template-rendering code. See docs/display.md.library/ as the canonical source for current template work. For 0.2.0+, active templates live in the separate boilerplates-library repository. See docs/libraries.md.cli/modules/ over legacy library contents.