zapcircle
v0.2.11
Published
ZapCircle is a modern **Behavior-Driven Development (BDD)** tool for front-end developers. It bridges the gap between **human intent** and **production-grade code**, helping you ship faster, reduce bugs, and keep your code aligned with design intent.
Readme
ZapCircle: Behavior-Driven Development for Your Codebase
ZapCircle is a modern Behavior-Driven Development (BDD) tool for front-end developers. It bridges the gap between human intent and production-grade code, helping you ship faster, reduce bugs, and keep your code aligned with design intent.
Built with React developers in mind, ZapCircle lets you analyze, generate, and refactor components using plain-English behaviors — stored in .zap.toml files — powered by your choice of LLM.
You can use ZapCircle with your existing code base, with no dependencies. If you want to stop using ZapCircle as a development assistant, nothing will break.
🚀 What You Can Do with ZapCircle
Have an LLM Review your Code Take all the code you've changed - unstaged, staged, and committed, and get an LLM to do a code review before you create a pull request, by running one command:
npx zapcircle reviewYou can also use ZapCircle to review your pull requests, as a GitHub Action. Works on any type of project, not just React.
Create New Projects Instantly
Scaffold a full React Router app with Tailwind, a NavBar, a Dashboard, and behaviors — all with one prompt:npx zapcircle newAnalyze Existing Components
Generate behavior definitions from code:npx zapcircle analyze jsx ./src/componentsGenerate New Components
Use.zap.tomlbehavior files to create React components:npx zapcircle generate jsx ./src/components/LoginForm.jsx.zap.tomlUpdate Existing Components (Coming Soon!)
Sync your code with evolving behaviors:npx zapcircle update
✨ Key Features
- 🧠 Behavior-First Development: Define intent in
.zap.toml, not just code. - 🤖 LLM-Powered: Works with OpenAI, Claude, Gemini, and more via LangChain.
- 🧪 Local Review: Run
npx zapcircle reviewto get AI code reviews before PRs. - 🔍 Component Drift Detection (coming soon): Know when code drifts from behavior.
- 🧰 CLI-First Design: No IDE plugin required. Everything runs locally.
- 🌐 React-Friendly: Supports JSX/TSX with Next.js and Remix/React Router.
🛠️ Quick Start
Install and configure ZapCircle with your LLM details:
npx zapcircle configureTry ZapCircle on a new project with:
npx zapcircle newThen follow the prompts to describe your app, generate components, and start developing.
🔁 Typical Workflow
- New: Generate a full React + Tailwind app scaffold.
- Analyze: Create
.zap.tomlbehavior files from existing components. - Edit: Tweak behavior descriptions for new use cases.
- Generate: Produce new components directly from the updated behaviors.
- Review: Use
zapcircle reviewto catch issues before making a pull request.
📚 Documentation
Need examples, guides, or advanced configuration?
👉 Visit zapcircle.com for full documentation.
🤖 Architecture
🧩 Layer 3: UI/UX Integrations (Future)
| Studio (planned) | Fire Extension (planned) | VS Code Plugin (planned) | |------------------|----------------|---------------------------|
🧠 Layer 2: Composite Features
| new | distill | architect | agent (run/chat)` |
|-------|-----------|-------------|----------------------|
⚙️ Layer 1: Primary Capabilities
| generate | analyze | review | updateCode | generateTests |
|------------|-----------|----------|--------------|------------------|
🧱 Layer 0: Core Services (Foundations)
| Prompt Loader | invokeLLM | Context Builder | File I/O + Diff | |---------------|-----------|------------------|------------------|
💬 Community & Support
- 🐙 GitHub: github.com/jefflinwood/zapcircle
- 🧵 Twitter/X: @jefflinwood
- 📬 Email: [email protected]
🤝 Contributing
We welcome contributions!
git clone https://github.com/jefflinwood/zapcircle
cd zapcircle
npm installThen follow the Contributing Guide to open a PR.
🪪 License
ZapCircle is released under the MIT License.
ZapCircle helps you code like you mean it — with clarity, intent, and lightning speed.
