By agjs
Portable spec loop: one .specs/next.md, explore→slice→approve→build→learn, optional PreToolUse gate. Claude Code adapter; contract + gate work in any tool.
One file, one loop, one gate. Stops AI agents from sprinting ahead of you.
A workflow for solo founders using AI to build:
explore → slice → approve → build → learn
Lives in one file per project: .specs/next.md.
You ask an AI for a small feature. You get a folder tree, an ADR forest, and 800 lines of code for something nobody designed. Reviewing it is slower than writing it yourself.
Solo Spec Loop forces a checkpoint: the agent can't touch source until you've explicitly approved a small, vertical slice with a runnable acceptance check.
/plugin marketplace add agjs/solo-spec-loop
/plugin install solo-spec-loop
/reload-plugins
/solo-spec-loop:spec init
/solo-spec-loop:spec explore <idea>
/solo-spec-loop:spec slice
/solo-spec-loop:spec approve
/solo-spec-loop:spec build
Clash with another marketplace? /plugin install solo-spec-loop@agjs-solo-spec-loop
Want /spec instead? Copy commands/spec.md into this project’s .claude/commands/spec.md.
Cursor: install from this repo (.cursor-plugin/).
Anything else (Codex, Gemini, Aider, Copilot, plain ChatGPT): copy templates/next.md to .specs/next.md, paste rules/spec-loop.mdc into your AGENTS.md. Optionally wire hooks/solo_spec_gate.py into a pre-write hook if your tool has one.
This repo is project-agnostic by design. Starter templates that want the loop on a git clone (no marketplace fetch, no pip install) can vendor the artifacts directly. BoringStack does this — tools/spec-loop/ is a verbatim copy plus a bun run spec:init script that wires .specs/next.md, the slash command, and PreToolUse hooks for both Claude Code and Cursor in one shot. A BoringStack-flavored variant of templates/next.md (with monorepo-aware acceptance examples) ships as templates/next.boringstack.md.
If you're vendoring into a TypeScript / bun project, the solo_spec_gate.py script can also be ported to TypeScript without changing the loop's semantics — see BoringStack's tools/spec-loop/hooks/gate.ts for a parity-tested reference implementation.
hooks/solo_spec_gate.py the portable gate (~160 lines stdlib Python)
templates/next.md the spec template
commands/spec.md slash command (Claude Code: `/solo-spec-loop:spec …`)
rules/spec-loop.mdc Cursor always-apply rule
skills/solo-spec/ Claude Code skill
tests/ stdlib-only tests for the gate
python3 tests/test_solo_spec_gate.py
Not Spec Kit. Not GSD. Not OpenSpec. No constitution, no per-feature folders, no multi-agent orchestration. If you want any of that, pick one of those.
MIT.
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub agjs/solo-spec-loop --plugin solo-spec-loopMulti-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Memory compression system for Claude Code - persist context across sessions
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.