Agent agnostic -- Keep agent-specific state out of .specify/
#4740
Replies: 1 comment 2 replies
|
Thanks for raising this. Spec Kit does support multiple agents in one project: after That addresses a team whose contributors use different agents, but not quite the preference you describe. Spec Kit still has one project-wide default. I would avoid ignoring all three files without that design change: |
Uh oh!
There was an error while loading. Please reload this page.
Running
specify init --here --integration claudeputs project decisions and developer preferences together in.specify/. Some files are needed by every collaborator: the constitution, templates, scripts and workflows. Other files, and parts of files, record which agent I chose. Because both live in the same folder, a team can't commit.specify/without also committing one person's agent choice.Files that aren't agent-agnostic after a clean init (Spec Kit v1.0.12.dev0):
.specify/integration.json"installed_integrations": ["claude"]"integration_settings": { "claude": { ... } }"integration": "claude", "default_integration": "claude".specify/init-options.json"ai": "claude""integration": "claude".specify/integrations/claude.manifest.jsonSpec Kit's specs, plans and constitution work with any agent, which is a big part of its appeal. In a shared repo, though, each contributor may use a different agent (Claude, Copilot, Gemini, Cursor and so on). These files would likely get committed, deliberately or accidentally, and If these files are committed:
.gitignorerules for themselvesProposal:
All reactions