Update AGENTS.md
Description This PR updates AGENTS.md to enhance documentation for adding new AI agent integrations to Spec Kit, improving onboarding for new contributors and standardizing integration patterns.
Changes Overview Documentation Structure
Adds a "Quickstart" section providing a 5-step path from initial setup to working integration Restructures content with clearer hierarchical organization and descriptive headings Consolidates integration architecture explanation with directory tree visualization Technical Reference
Introduces a base class reference table with selection criteria (MarkdownIntegration, TomlIntegration, YamlIntegration, SkillsIntegration, IntegrationBase) Documents IntegrationManifest file tracking mechanism and its role in safe uninstallation Provides method reference table specifying override conditions for setup(), teardown(), command_filename(), options(), and process_template() Practical Guidance
Adds a complete end-to-end example (mycli) demonstrating integration from creation to verification Expands testing documentation with structured test patterns and assertion guidelines Includes debugging section with common error scenarios and resolution strategies Adds contribution checklist for integration PRs Motivation The existing AGENTS.md adequately describes existing integrations but lacks structured guidance for new contributors. Adding an integration previously required inferring patterns from multiple existing implementations. This update provides:
Decision framework for base class selection Step-by-step implementation instructions with copy-paste templates Test structure specifications with example assertions Debugging reference for frequent failure modes Testing Verified all code examples against existing integration implementations (Claude, Gemini, Windsurf, Copilot, Codex, Goose) Confirmed directory structures and file paths match current codebase in src/specify_cli/integrations/ Validated placeholder consistency across documentation ($ARGUMENTS, {{args}}, {{parameters}}) Reviewed integration registration process in src/specify_cli/integrations/init.py Verified context file behavior documentation matches base class implementation Confirmed contribution checklist completeness for new integration PRs AI Disclosure This contribution was developed with assistance from Claude (Anthropic). AI assistance was used for:
Analyzing existing documentation to identify structural gaps Organizing technical content into tables and decision frameworks Generating illustrative examples based on existing integration patterns Formatting debugging checklists and contribution requirements All technical information presented has been verified against the Spec Kit codebase. The AI assisted with presentation and organization of existing knowledge; no novel technical requirements were generated.
Please address Copilot feedback and resolve conflicts
I have fix the changes