@jmservera/squad-speckit-bridge
v0.3.1
Published
Bridge connecting Squad multi-agent team memory with Spec Kit structured planning — enabling agentic AI workflows with clean architecture.
Maintainers
Readme
Squad-SpecKit Bridge
A hybrid integration package connecting Squad's persistent team memory with Spec Kit's structured planning pipeline.
graph LR
A(("🧠<br/>Squad Memory")) -->|" context command "| B["🔗<br/>Memory Bridge"]
B -->|" squad-context.md "| C["📋<br/>Spec Kit Planning"]
C -->|" specify → plan "| D["✅<br/>Tasks"]
D -->|" Design Review "| E["⚡<br/>Execution"]
E -->|" history.md <br/>+<br/> decisions.md "| A
style A fill:#6366f1,stroke:#4f46e5,color:#fff
style B fill:#8b5cf6,stroke:#7c3aed,color:#fff
style C fill:#ec4899,stroke:#db2777,color:#fff
style D fill:#f59e0b,stroke:#d97706,color:#fff
style E fill:#10b981,stroke:#059669,color:#fffOne-Liner
Squad-SpecKit Bridge is a knowledge bridge that creates a bidirectional loop: Squad memory → Memory Bridge → Spec Kit planning → tasks.md → Design Review ceremony → issues → execution → learnings → back to Squad.
How It Works (In One Sentence)
Install once → use Spec Kit normally → bridge automates memory injection & design reviews → squad executes → knowledge compounds.
The bridge stays in the background. You write specs and plans as usual; it handles the thinking work between frameworks.
The Problem
Two powerful agentic development frameworks, each incomplete alone:
- Squad excels at multi-agent orchestration and persistent team memory but lacks structured pre-implementation planning
- Spec Kit excels at specification-driven decomposition and disciplined planning but lacks runtime memory and team coordination
Together, they should amplify each other. Separately, they create a knowledge gap.
The Solution
A lightweight, framework-agnostic bridge that:
- Injects Squad's memory (decisions, skills, learnings) automatically during Spec Kit planning
- Auto-generates Design Reviews after tasks.md is created, so your team can validate before execution
- Captures execution learnings back into Squad's knowledge base for the next planning cycle
- Closes the loop so knowledge compounds over time instead of resetting each cycle
Everything is automatic by default. Manual commands exist if you need direct control.
Generated Files (Commit These)
The bridge creates files that are part of your feature's planning record. Commit them alongside your code:
Created by install command:
| File | Location | Purpose |
|------|----------|---------|
| .bridge-manifest.json | repo root | Tracks bridge version and installed components |
| .squad/skills/speckit-bridge/SKILL.md | .squad/ | Teaches agents about Spec Kit artifacts and Design Review workflow |
| .squad/ceremonies/design-review.md | .squad/ | Ceremony definition for Design Review process |
| .specify/extensions/squad-speckit-bridge/extension.yml | .specify/ | Hook definitions for automation (includes before_specify, after_tasks, after_implement) |
| bridge.config.json | repo root | Configuration file (customizable) |
Created during workflow (also commit these):
| File | Location | Created By | Purpose |
|------|----------|------------|---------|
| squad-context.md | specs/{feature}/ | Automatic or context command | Squad memory summary fed into Spec Kit planning |
| review.md | specs/{feature}/ | Automatic after /speckit.tasks | Design Review template with pre-populated findings |
Why commit them? They're part of your feature's planning history. Future planning cycles and team members benefit from seeing what knowledge informed decisions and what risks the review identified.
Key Features
⚙️ Automatic Memory Injection
During Spec Kit planning, the bridge silently reads your team's prior decisions, learnings, and skills, and injects them as context. You see better plans informed by experience.
🔄 Automatic Design Review Generation
After /speckit.tasks, a review template is auto-generated with pre-populated findings and decision conflicts. Your team discusses and approves before execution.
📝 Squad Plugin (SKILL.md)
Teaches Squad agents about Spec Kit artifacts, methodology, and Design Review participation. Makes the team "bilingual" across both frameworks.
🪝 Automation Hooks
after_tasks— Auto-generates Design Reviews when tasks complete (v0.1+)before_specify— Auto-injects Squad context before planning (v0.2+)after_implement— Auto-syncs execution learnings back to Squad (v0.2+)
All hooks are optional and can be disabled via configuration.
🎯 Issues & Sync Commands (v0.2+)
issues— Convert approved tasks into GitHub issues with one command (--dry-run,--labels,--jsonflags)sync— Capture execution learnings from Squad history back into memory bridge for next planning cycle
📊 Enhanced Diagnostics (v0.2+)
--verbose— Detailed output including file paths and processing details--notify— Send bridge status notifications to Squad agents- Constitution detection — Warns if Squad constitution template is uncustomized
🏗️ Clean Architecture
All core logic separated by dependency inversion. Easy to test, extend, and maintain independently of both frameworks.
Quick Start
# One-time installation (deploys hooks and configuration)
npx @jmservera/squad-speckit-bridge install
# Use Spec Kit normally — bridge handles memory injection & reviews automatically
cd specs/001-feature/
/speckit.specify && /speckit.plan && /speckit.tasks
# Team reviews the generated review.md
# Once approved, create GitHub issues
npx @jmservera/squad-speckit-bridge issues specs/001-feature/tasks.md
# After Squad executes and learns, sync knowledge back (optional, v0.2+)
npx @jmservera/squad-speckit-bridge syncSee Usage Guide for complete workflows, advanced options, and manual command reference.
Demo
Try a complete end-to-end demo that walks through the entire pipeline without making real GitHub issues:
Basic Demo
npm run demoThis runs the full pipeline simulation: spec → plan → tasks → design review → issue creation (simulated).
Dry Run (Recommended First Try)
Simulate GitHub issue creation without making API calls:
npm run demo -- --dry-runOutput: Full pipeline trace with a preview of what issues would be created.
Keep Artifacts
Preserve all demo files for inspection or reuse:
npm run demo -- --keepOutput: Demo directory remains on disk (normally cleaned up). Useful for debugging or manual inspection.
Verbose Output
Detailed logs showing every step, validation, and intermediate file:
npm run demo -- --verboseOutput: Timestamps, file paths, and processing details for each stage.
Combine Flags
Run all stages with detailed output and keep artifacts:
npm run demo -- --verbose --keep --dry-runJSON Output
Machine-readable report for automation or scripting:
npm run demo -- --jsonOutput: Structured JSON with stage results, counts, and diagnostic info.
Architecture Overview
┌─────────────────────────────────────────────────────┐
│ SQUAD: Runtime Orchestration & Team Memory │
│ │
│ ├─ decisions.md (recorded team decisions) │
│ ├─ .squad/skills/*/SKILL.md (team expertise) │
│ └─ .squad/agents/*/history.md (learnings) │
└────────────┬────────────────────────────────────────┘
│ Memory Bridge reads ↓
│
┌────────────▼────────────────────────────────────────┐
│ MEMORY BRIDGE: Context Injection Layer │
│ │
│ Reads: Squad memory, filters by relevance │
│ Produces: squad-context.md for planning │
└────────────┬────────────────────────────────────────┘
│ Context feeds into ↓
│
┌────────────▼────────────────────────────────────────┐
│ SPEC KIT: Planning Pipeline │
│ │
│ specify.md → plan.md → tasks.md │
└────────────┬────────────────────────────────────────┘
│ Tasks ready for ↓
│
┌────────────▼────────────────────────────────────────┐
│ DESIGN REVIEW: Team Validation Ceremony │
│ │
│ Squad agents review tasks with full context │
│ Feedback informs issue creation │
└────────────┬────────────────────────────────────────┘
│ Approved tasks become ↓
│
┌────────────▼────────────────────────────────────────┐
│ GITHUB ISSUES → SQUAD EXECUTION │
│ │
│ Coordinator assigns tasks, agents execute, │
│ learnings flow to history.md │
└────────────┬────────────────────────────────────────┘
│ Learnings feed back to memory bridge ↓
│
└──────────────────────────────────────→
(Knowledge compounds over time)Project Status
v0.2.0 — In Development
- ✅ v0.1.0 shipped (context, review, status commands; after_tasks hook)
- ✅ v0.2.0 spec and plan complete
- ✅ Bug fixes: hook deployment, extension model alignment
- ✅ New commands: issues, sync
- ✅ New hooks: before_specify, after_implement
- ⏳ v0.2.0 implementation in progress
See Feature Spec for v0.1.0 details.
See v0.2.0 Roadmap for upcoming features.
Links & References
- Feature Specification: specs/001-squad-speckit-bridge/spec.md
- Research Report: docs/REPORT-squad-vs-speckit.md
- Team Decisions: .squad/decisions.md
Contributing
We welcome contributions! See CONTRIBUTING.md for setup and workflow.
This repository follows the Squad framework for team coordination and Spec Kit for planning. All development uses Spec Kit's specification workflow and Squad's Design Review ceremony.
License
MIT © 2026 jmservera
