specrails — плагин для Claude Code: что делает и как установить
Плагин specrails разворачивает в репозитории агентный пайплайн с ролями архитектора и разработчика для подготовки проверенных изменений.
MIT ★ 9 обновлён 2026-10-24
/plugin marketplace add anthropics/claude-plugins-community
/plugin install specrails@claude-communityЧто делает specrails
Плагин specrails встраивает в проект процесс разработки на базе агентов. Инструмент добавляет точки входа implement и retry, параметры провайдеров и навыки OpenSpec. Роли архитектора, разработчика и ревьюера встроены в саму среду выполнения, поэтому отдельные файлы ролей в проект не копируются.
Движок поддерживает детерминированную проверку шагов, возобновление после сбоев и локальные модели с интерфейсом OpenAI. Важная деталь архитектуры: specrails сам по себе не отправляет код в удалённый репозиторий и не создаёт пулл-реквесты, а лишь готовит проверенный патч для хоста.
Какие задачи решает
- организовать сквозную разработку тикетов с помощью ролевых агентов
- повторить упавшие шаги пайплайна через точку входа retry
- запускать агентные циклы на локальных моделях с API OpenAI
- проверять кандидаты правок перед передачей в хост-систему
Примеры запросов агенту
- Запусти реализацию тикета через точку входа
implement - Повтори упавший шаг пайплайна с помощью
retry - Проверь состояние текущих фаз через
specrails-core pipeline
Как установить specrails
Через маркетплейс плагинов
/plugin marketplace add anthropics/claude-plugins-community/plugin install specrails@claude-communityПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о specrails
Как установить specrails в Claude Code?
Сначала добавьте каталог плагинов командой /plugin marketplace add anthropics/claude-plugins-community, затем установите пакет через /plugin install specrails@claude-community.
Создаёт ли specrails коммиты и пулл-реквесты самостоятельно?
Нет. Движок готовит проверенный кандидат правок, а управление рабочими деревьями Git, фиксацию коммитов и публикацию пулл-реквестов берёт на себя внешняя обвязка вроде Specrails Desktop.
Поддерживает ли specrails локальные модели?
Да, среда выполнения позволяет задавать провайдеров для отдельных ролей и может работать с локальными моделями через интерфейс OpenAI.
Исходный текст
specrails-plugin · MIT
# specrails-core [](https://github.com/fjpulidop/specrails-core/actions/workflows/ci.yml) [](https://www.npmjs.com/package/specrails-core) [](LICENSE) The agent workflow engine behind [Specrails Desktop](https://github.com/fjpulidop/specrails-desktop). Core does two things: 1. **Installs** the specrails workflow into a project for Claude Code, Codex CLI, Gemini CLI or Kimi Code: the `implement` and `retry` entry points (`implement` runs one ticket or several tickets as one aggregate run), provider settings and the official OpenSpec skills. The architect, developer and reviewer roles are defined by the runtime itself; no role file is installed. 2. **Executes** Desktop-owned workflow definitions through the [programmatic agent runtime](docs/agent-runtime.md): independent agent and implementation operations, per-role providers, deterministic verification, durable recovery and OpenAI-compatible local models. Desktop owns workflow composition and editable loop agents; Core retains the old builtin for saved runs. Desktop bundles a pinned Core package and owns everything around it: worktrees, commits, pull requests, backlog and the user interface. Core never ships code on its own; it prepares a reviewed candidate for the host. ## Commands ```text specrails-core init Install specrails into a repository specrails-core install-framework Materialize the versioned framework (offline) specrails-core swap-current Point framework/current at a version (offline) specrails-core assemble Link the framework into a project workspace (offline) specrails-core pipeline Inspect and verify durable implementation phases specrails-core runtime Run, inspect and resume programmatic agents ``` Desktop calls `init` and the offline framework lifecycle, then launches `dist/agent-runtime/cli.js` directly. The machine-readable contract between both lives in [`integration-contract.json`](integration-contract.json); the runtime configuration schema is [`schemas/agent-runtime.schema.json`](schemas/agent-runtime.schema.json). ## Layout ```text bin/specrails-core.mjs npm bin shim → dist/installer/cli.js src/installer/ CLI, framework lifecycle, provider rendering src/pipeline/ pipeline journal, gates and verification receipts src/agent-runtime/ programmatic runtime: graph, executors, compact loop, recovery templates/ workflow commands, provider settings, Kimi runner schemas/ runtime configuration schema and fixtures integration-contract.json Desktop ⇄ Core contract ``` ## Develop Requires Node.js 20.19.0+ and Git. ```sh npm ci npm test # build + typecheck + vitest npm run ci # full local CI: typecheck, script tests, coverage, package check ``` See [CONTRIBUTING.md](CONTRIBUTING.md) and [CI and publishing](docs/ci-cd.md). ## License MIT
© fjpulidop · MIT · fjpulidop/specrails-core