Skip to content

feat: add plugboard ai init CLI command#237

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-cli-command-plugboard-ai-init
Draft

feat: add plugboard ai init CLI command#237
Copilot wants to merge 3 commits intomainfrom
copilot/add-cli-command-plugboard-ai-init

Conversation

Copy link
Contributor

Copilot AI commented Mar 25, 2026

Summary

Adds a new plugboard ai init CLI command that creates an AGENTS.md file in the current working directory (or a specified directory). The file provides AI coding agents with instructions for building Plugboard models, following the convention used by tools like Claude Code, Codex, and Gemini CLI.

The AGENTS.md template is kept in sync with examples/AGENTS.md via a symlink in the package.

Changes

  • plugboard/cli/ai/__init__.py — New CLI module with init command using Typer, following existing CLI patterns (rich output, stderr for errors).
  • plugboard/cli/ai/AGENTS.md — Symlink to examples/AGENTS.md so the distributed template stays in sync with the examples.
  • plugboard/cli/__init__.py — Register ai subcommand in the main CLI app.
  • tests/unit/test_cli.py — 3 new tests: successful creation, already-exists error, and default directory behavior.
  • docs/usage/ai.md — Documentation page for the new command.
  • mkdocs.yaml — Added "AI-Assisted Development" nav entry under Usage.
  • examples/AGENTS.md — Fixed two typos (componencomponent, duplicate SQLReaderSQLWriter).

Copilot AI and others added 3 commits March 25, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants