Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By linziyanleov0.7.0MITIn 1 marketplace
Gives coding agents your team's standards, module contracts and task specs from .specanchor/ before they write code. A session-start hook injects that context automatically, so the agent can check later whether its changes still match the spec.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Spec is the anchor, code is the ship.
English · 中文 · WHY · Install · Contributing · Skill
SpecAnchor is a three-tier spec system that agents load on boot. It keeps your team's coding rules, module contracts, and task intents in .specanchor/, then agents load the relevant ones into context before any code is generated — and check later whether the code still matches.
Think of it as a Context Construction System for AI coding agents: it compiles bounded, auditable, sedimentable engineering context across four categories — Spec / Decision / Evidence / Finding — into a Context Bundle that every agent reads before acting, detects drift through an Alignment Surface, sediments accepted findings into long-term Spec through Sediment Proposal (human-curated, never auto-applied), and exports a handoff packet for cross-session continuity. Context stays bounded even across repeated same-session activations: boot is a once-per-session preflight, already-loaded specs aren't reprinted, and oversized specs degrade to summary. SpecAnchor does not own the agent execution loop — workflow schemas like sdd-riper-one are opt-in integrations, not the default identity.
It ships a bundled spec-driven development (SDD) workflow as an opt-in integration — the sdd-riper-one schema gives you Research → Plan → Execute → Review gates when you need strict workflow — so you don't need Spec-Kit or OpenSpec to use SpecAnchor. If you already have an OpenSpec or custom spec directory, parasitic mode wraps it without migration. Keep your existing authoring, add SpecAnchor as the loader and anti-decay layer.
| Category | Source | Typical artifact | Lifecycle |
|---|---|---|---|
| Spec Context (cold) | Team / module / task contracts | .specanchor/global/, modules/, tasks/, Assembly Trace | Static — versioned in git |
| Decision Context (hot) | Checkpoint inputs from human reviewers | Task Spec §5.2 Checkpoint Decisions Log; hot/cold filter | Dynamic — sediments per checkpoint, hot view auto-pruned |
| Evidence Context (hot) | Verification outputs and acceptance proofs | Task Spec §6.2 Evidence Ledger; auto-pinned acceptance criteria | Dynamic — handoff packet exposes verification status |
| Finding Context (hot, v0.6+) | Agent discoveries during execute / review | .specanchor/findings/F-*.md with visibility field | Dynamic — cross-task / cross-session; sediment via human-reviewed proposal |
Decision and Evidence context live inside the Task Spec; Finding context lives in standalone .specanchor/findings/ files (cross-task reusable). All four are assembled into bounded Context Bundle v1 JSON (specanchor.context_bundle.v1) by specanchor-assemble.sh --bundle-schema=context_bundle.v1 or specanchor-boot.sh --agent --intent="...".
→ Curious about the design philosophy? Read WHY.md.
Warning SpecAnchor writes
.specanchor/, may create or updateanchor.yaml, and may inject Markdown frontmatter. Try it on a clean branch first.
A typical day-two interaction in Claude Code — refactoring the order module to support split-shipping (touches orders, shipping, inventory):
You: Create task: refactor order module to support multi-address split shipping
(touches orders, shipping, inventory)
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub linziyanleo/spec-anchor --plugin spec-anchor