DevSpec for Claude Code
Build on your team's best thinking. DevSpec is where your team, your shared knowledge, and your coding agents build software together.
Installing the DevSpec plugin connects Claude Code directly to your DevSpec projects — giving your agent durable project memory, structured task execution, automatic commit provenance, and live remote control from your phone or browser.
Why DevSpec + Claude Code?
- Shared team memory, recalled as you talk, with automatic staleness screening — Before each substantive prompt, from you or from DevSpec, Claude Code is handed the project records that bear on it: the requirements that apply, standing documents and runbooks, decisions and conventions, plans already filed or turned down, and past shipped work. Each appears once per conversation unless it changes, it is added after your prompt so the conversation's cache keeps working, and a slow or unreachable DevSpec never holds your prompt back. Claude Code asks you before it records a decision or a requirement, writes down your reason rather than one of its own, and checks the work it delivers against the requirements that apply. When you record a new decision or land changes, DevSpec screens your project's records for conflicts, duplicates, and Possibly outdated guidance so your team's shared memory stays accurate.
- Steer Claude Code live from your phone or the web — In a linked repository, Claude Code connects automatically and waits on your project's Agents page outside any session (or run
/devspec:devspec.remote). Join a session room with --new or --session <id> — or attach from devspec.ai — to chat from your phone or browser, collaborate with teammates in shared rooms, answer structured agent questions and polls, and track multi-phase execution plans in real time.
- Tasks, observed verification, and automatic commit provenance — Claim tasks with full project context. When a single task is claimed in a linked project repository (including Git worktrees) or a
.devspec/project.json-pinned folder, the plugin tags your commits ([devspec:<id>]) automatically, links pull requests, and records observed verification evidence from checks Claude actually ran against each acceptance criterion. With several tasks claimed, it asks Claude which task a commit belongs to before the commit is made. A commit made with no task claimed, such as a dependency update or an automation run, goes through as written, with a note. Full commit tracking — every commit reported to DevSpec and tagged with its task automatically — needs macOS, Linux, or Windows through WSL (on native Windows, Bash commands use a simpler check for plain commit commands, and PowerShell commits are linked when Claude records its implementation).
- Protected intent, pull-request checks, and Merge when cleared — DevSpec screens changes against your team's recorded decisions, requirements, and open tasks, runs one final check per pull request when it is ready (protected or not), holds reversals of someone else's decision and unagreed experiments on their own branch until approved, publishes its pull-request check on GitHub, and merges cleared pull requests automatically (or wakes Claude Code once to merge with your GitHub credentials when the GitHub App is read-only).
Quick Start
1. Install the DevSpec plugin
Inside Claude Code, run:
/plugin marketplace add DevSpecAI/devspec-claude-plugin
/plugin install devspec@devspec
/reload-plugins
Then open /plugin → Marketplaces → devspec and choose Enable auto-update so Claude Code installs new plugin releases automatically when it starts.
2. Sign in through your browser
Inside Claude Code, run:
/devspec:devspec.login
Your browser opens DevSpec's approval page; approve Claude Code there, then restart Claude Code (or reconnect DevSpec's tools in /mcp → devspec → Reconnect). That one sign-in serves everything the plugin does: Claude Code's own DevSpec tools, remote control and commit tracking. It renews itself and lasts until you sign out (/devspec:devspec.logout) or disconnect Claude Code on your Agent setup page; if it ever stops working, Claude Code tells you when it starts and asks you to run /devspec:devspec.login again.
- On a machine your browser cannot reach (over SSH, or a remote dev box), the command shows a link instead; open it anywhere, approve, and paste back the code DevSpec's page shows. Run
/devspec:devspec.login --code to choose this yourself.
- Staging and production are signed in separately and both sign-ins are kept, so switching the plugin's DevSpec server never needs a fresh sign-in.
3. Connect to your project