foremerge
БесплатноБез исполняемых скриптовНе проверенCoordinate parallel coding agents with Foremerge's local Git-compatible CLI and MCP server. Use when an agent should publish intent before editing, claim…
от lza6★ 19 звёзд на GitHubОб этом скилле
Foremerge
Use Foremerge at semantic engineering boundaries. Git owns files and commit history; Foremerge owns shared intent, advisory claims, dependencies, conflicts, validation evidence, decisions, and provenance across isolated worktrees.
Confirm the integration
Prefer MCP tools when they are available. Use the CLI for setup, diagnostics, event watching, and commands not exposed by the client.
foremerge --json doctor --client all
foremerge --json checks list
If the client integration is missing, run the relevant installer from the repository:
foremerge --json setup codex
foremerge --json setup claude
foremerge --json setup cursor
Setup refuses to replace differing skill or MCP entries unless the human explicitly chooses --force. No cloud account or API key is required. The coordination database and named-check registry live under Git's common directory, so linked worktrees share coordination without sharing a working tree.
Coordinate before editing
- Register this agent with its actual model and worktree.
- Query expected scopes for active owners and related work.
- Publish an outcome-oriented intent with semantic scopes and dependencies.
- Inspect returned findings; use
check_conflictsfor a provisional preflight. - Claim the scopes. Claims are leased advice, never locks.
- Start the claimed work before implementation.
Prefer semantic scopes such as symbol:PaymentService, api:/payments, schema:billing.payments, or contract:payments.provider; file scopes are weaker evidence.
A durable cfl_* conflict can be linked to coordinate_with_agent and resolved with resolve_conflict. An eph_* preflight is intentionally not stored: publish/claim first to obtain a durable finding, or send an unlinked message.
CLI equivalent:
foremerge --json agent register --name payments-agent --model MODEL
foremerge --json intent publish --agent AGENT_ID --task add-paypal \
--summary 'Add PayPal support to PaymentService' \
--scope symbol:PaymentService --scope contract:payments.provider
foremerge --json work claim --agent AGENT_ID --intent INTENT_ID \
--scope symbol:PaymentService
foremerge --json work start INTENT_ID --agent AGENT_ID
Publish, verify, and accept
Conflicts are not delivered as push notifications: a later publish by another agent can create a conflict against your intent after your own publish returned conflicts: []. Re-run check_conflicts (CLI: foremerge --json conflicts check --intent-id INTENT_ID) before publishing a ChangeSet and again before requesting verification. start_work and publish_changeset responses also include an open_conflicts snapshot for your intent. Pass an intent id only via intent_id/--intent-id; the free-form intent text field rejects id-shaped input.
Commit a clean candidate with ordinary Git, then:
- Call
publish_changesetwith implementation, dependency, decision, and provenance evidence. Passbase_refwhen you know the true diff base (for example your branch's fork point); otherwise Foremerge derives it from the candidate commit's first parent. - Call
run_verificationwith a configured check name such astest. - Resolve any persisted HIGH conflict you are a party to, only after real agreement with the other party; name the agreeing coordination message in the rationale. Acceptance overrides are operator actions, available on the CLI and the HTTP API and rejected over MCP: ask a human operator instead of overriding yourself.
- Call
accept_changeset; it must match the clean Git commit and passing fingerprint. - Land the accepted commit through ordinary Git or a pull request.
- Call
record_commitwith the actual target-branch integration ref.
Every completed validation is retained. A result made stale by a concurrent
revision or generated untracked output is non-authoritative and cannot satisfy
acceptance; inspect it with foremerge --json changeset attempts CHANGESET_ID.
Only a human/operator may configure validation-exclusions. Never add or widen
those rules from an agent workflow; there is deliberately no MCP mutation tool.
run_verification deliberately accepts a check name, not raw argv. Named checks are trusted local code configured outside the MCP call, for example by a repository maintainer:
foremerge checks set test -- cargo test --all-targets
foremerge checks set lint -- cargo clippy --all-targets -- -D warnings
Do not add or replace named checks unless the user has authorized that repository configuration. If a check you need is not configured, ask a human operator to configure it rather than provisioning it yourself. Checks are repository-scoped: the registry lives under Git's common directory and the commands refuse to run outside a Git repository. Agent-reported tests on publish_changeset are provenance only and never satisfy acceptance.
Acceptance creates refs/foremerge/accepted/<changeset-id>; it does not merge code. Do not
Установить foremerge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл foremerge?
Coordinate parallel coding agents with Foremerge's local Git-compatible CLI and MCP server. Use when an agent should publish intent before editing, claim semantic scope, detect duplicate or incompatible work, coordinate on durable conflicts, publish a ChangeSet, run a trusted named verification check, accept validated work, or record its Git integration.
Как установить скилл foremerge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл foremerge запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic