An open API service indexing awesome lists of open source software.

https://github.com/frmoretto/stream-coding

Stop "vibe coding" and start Stream Coding, the 10-20x velocity methodology for AI-accelerated development. Includes the official SKILL.md for Claude/Cursor/Windsurf and the complete Manifesto.
https://github.com/frmoretto/stream-coding

ai-accelerated ai-coding ai-development claude claude-code context-engineering cursor developer-tools documentation-first llm methodology sdd software-engineering specification-driven-development technical-debt velocity

Last synced: about 2 months ago
JSON representation

Stop "vibe coding" and start Stream Coding, the 10-20x velocity methodology for AI-accelerated development. Includes the official SKILL.md for Claude/Cursor/Windsurf and the complete Manifesto.

Awesome Lists containing this project

README

          

# Stream Coding v3.5

**The 10-20x Methodology for AI-Accelerated Software Development**

[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)

> πŸ“’ **v3.5 Update:** Phase 2.5 Adversarial Review added, internal gate renamed Spec Gate (structural), Clarity Gate is now a standalone epistemic tool. Re-download if using older version.

> βœ… **This methodology built 7 production modules in 4.5 hours** ([5Levels Case Study](./manifesto/Appendix_C_5Levels_Case_Study.md), Git-verified)

> *"Stream coding isn't about faster coding. It's about documentation so clear that code writes itself."*

---

## The Problem: The Velocity Mirage

AI tools promise 10x productivity. GitHub Copilot, Cursor, Claude Codeβ€”they make coding 55% faster.

**But projects still take the same time to ship.**

Why? Because faster typing doesn't solve:
- Strategic decisions AI can't make for you
- Context that gets lost between prompts
- Technical debt created at 10x speed

This gap between task velocity and project velocity is the **Velocity Mirage**.

---

## The Solution: Stream Coding

Stream Coding is a documentation-first methodology that makes AI-generated code deterministic.

**The 40/40/5/10/5 Split:**
- **40%** Strategic Thinking (Phase 1) β€” Solve hard problems before coding
- **40%** AI-Ready Documentation (Phase 2) β€” Specs so complete AI has zero decisions
- **5%** Adversarial Review (Phase 2.5) β€” Different AI attacks the specs before coding
- **10%** Execution (Phase 3) β€” Code streams out automatically
- **5%** Quality (Phase 4) β€” Tests and verification

**Real Results (5Levels Case Study):**
- 7 production modules in 4.5 hours
- 46 intelligence endpoints (77 total backend API)
- Zero bugs in generated code, 21 minutes average per tested module

*Note: The case study focuses on backend intelligence modulesβ€”Stream Coding's sweet spot. For frontend, use the methodology for behavior (components, state, logic) and complement with AI design tools for visuals. See Chapter 4 for details.*

---

## Quick Start

### Option 1: Claude.ai / Claude Desktop

1. Download [`stream-coding.skill`](dist/stream-coding.skill)
2. Go to Settings β†’ Features β†’ Skills β†’ Add
3. Upload the `.skill` file
4. Ask Claude: *"Build a user authentication system"*

### Option 2: Claude Code

Clone the repo β€” Claude Code auto-detects skills in `.claude/skills/`:

```bash
git clone https://github.com/frmoretto/stream-coding
cd stream-coding
# Claude Code will automatically detect .claude/skills/stream-coding/SKILL.md
```

Or copy `.claude/skills/stream-coding/` to your project's `.claude/skills/` directory.

Ask Claude: *"Build a user authentication system"*

### Option 3: Claude Projects

Add [`SKILL.md`](SKILL.md) to project knowledge. Claude will search it when needed, though Skills provide better integration.

### Option 4: OpenAI Codex / GitHub Copilot

Copy the canonical skill to the appropriate directory:

| Platform | Location |
|----------|----------|
| OpenAI Codex | `.codex/skills/stream-coding/SKILL.md` |
| GitHub Copilot | `.github/skills/stream-coding/SKILL.md` |

Use [`skills/stream-coding/SKILL.md`](skills/stream-coding/SKILL.md) (agentskills.io format).

### Option 5: Manual / Other LLMs

For Cursor, Windsurf, or other AI tools:
- Extract core principles (Phases, Document Types, Spec Gate)
- Create a condensed version for `.cursorrules` or project settings
- Use the [templates](./templates) and [Spec Gate Checklist](./templates/SPEC_GATE_CHECKLIST.md) as reference

The methodology is tool-agnosticβ€”only SKILL.md is Claude-optimized.

---

## Read the Manifesto

The [`/manifesto`](./manifesto) folder contains the complete methodology:

| Chapter | Topic |
|---------|-------|
| [Chapter 1](./manifesto/Chapter_01_The_10x_Promise.md) | The Velocity Mirage |
| [Chapter 2](./manifesto/Chapter_02_Why_AI_Cant_Deliver.md) | Why AI Tools Alone Fail |
| [Chapter 3](./manifesto/Chapter_03_The_Methodology_Gap.md) | The Missing Middle |
| [Chapter 4](./manifesto/Chapter_04_What_Is_Stream_Coding.md) | The 5-Phase Methodology |
| [Chapter 5](./manifesto/Chapter_05_The_Perpetual_Stream.md) | Day 2 & The Rule of Divergence |
| [Appendix A](./manifesto/Appendix_A_The_Toolkit.md) | Templates & Checklists |
| [Appendix B](./manifesto/Appendix_B_References.md) | Research & SDD Positioning |
| [Appendix C](./manifesto/Appendix_C_5Levels_Case_Study.md) | 5Levels Case Study (Git-Verified) |
| [Advanced Framework](./manifesto/advanced/Advanced_Framework.md) | Document Architecture (v3.5) |

### Use the Templates

The [`/templates`](./templates) folder contains ready-to-use frameworks:

| Template | Purpose |
|----------|--------|
| [Strategic Blueprint](./templates/STRATEGIC_BLUEPRINT.md) | Answer the 7 Phase 1 Questions |
| [ADR Template](./templates/ADR_TEMPLATE.md) | Document architecture decisions with rationale |
| [Spec Gate Checklist](./templates/SPEC_GATE_CHECKLIST.md) | The mandatory Phase 2β†’2.5 gate |

---

## The Core Insight

> **"When code fails, fix the specβ€”not the code."**

Traditional development iterates on code. Stream Coding iterates on documentation.

Every manual code edit without updating the spec creates **Divergence**β€”technical debt that breaks the stream. The methodology works because it treats code as a compiled output of documentation, not the source of truth.

---

## Who This Is For

- βœ… **Technical founders** building greenfield products
- βœ… **Solo developers** and small teams (1-5 people)
- βœ… **Anyone tired of AI-generated spaghetti code**
- βœ… **Backend/business logic focused** (see Chapter 4 for frontend approach)

- ❌ Not for large enterprises (see GitHub Spec-Kit, Kiro, Gemini Conductor)
- ❌ Not for teams who can't commit to documentation-first

---

## Where Stream Coding Fits

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ AI-Assisted Development Landscape β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Layer 3: Enterprise SDD GitHub Spec-Kit, Kiro, Conductor β”‚
β”‚ (teams 50+) Full lifecycle, heavy process β”‚
β”‚ β”‚
β”‚ Layer 2: Founder SDD ◄── STREAM CODING β”‚
β”‚ (teams 1-5) Documentation-first, AI-ready specs β”‚
β”‚ β”‚
β”‚ Layer 1: AI Assistants Copilot, Cursor, Claude Code β”‚
β”‚ (task-level) Fast typing, no methodology β”‚
β”‚ β”‚
β”‚ Layer 0: Manual Coding Traditional development β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

**The Gap:** Layer 1 tools make coding 55% faster but don't solve the methodology problem. Enterprise tools (Layer 3) are overkill for founders. Stream Coding fills the middle.

---

## Competitive Positioning

| Dimension | AI Assistants (Copilot) | Stream Coding | Enterprise SDD (Kiro) |
|-----------|------------------------|---------------|----------------------|
| **Target** | Individual developers | Founders, small teams | Large enterprises |
| **Focus** | Task velocity | Project velocity | Process compliance |
| **Cost** | $10-20/mo | Free | Enterprise pricing |
| **Methodology** | None | 5-phase, Spec Gate | Full SDLC |
| **Documentation** | Optional | Mandatory (80% of time) | Mandatory |
| **AI Role** | Code suggestions | Spec execution | Workflow automation |

---

## Research Validation

Stream Coding aligns with industry research:

- **McKinsey (2025):** Top performers see 16-30% productivity gains through "end-to-end PDLC implementation" and "structured communication of specs"
- **DORA (2025):** 7.2% delivery instability increase for every 25% AI adoption *without foundational systems*
- **METR (2025):** Developers 19% slower with AI despite *feeling* 20% faster

The methodology isn't magic, it's systematic application of spec-driven development at founder scale.

---

## Related

**Clarity Gate** β€” Pre-ingestion verification for epistemic quality (originated from Stream Coding's Clarity Gate concept)
[github.com/frmoretto/clarity-gate](https://github.com/frmoretto/clarity-gate)

**Source of Truth Creator** β€” Create epistemically calibrated documents
[github.com/frmoretto/source-of-truth-creator](https://github.com/frmoretto/source-of-truth-creator)

---

## Roadmap

| Phase | Status | Description |
|-------|--------|-------------|
| **v3.4** | βœ… Released | 13-item Clarity Gate, scoring rubric, Documentation Audit |
| **v3.5** | βœ… Released | Phase 2.5 Adversarial Review, Spec Gate (structural), Clarity Gate (epistemic) split |
| **v4.0** | πŸ”œ Planned | Multi-agent workflow support, automated spec validation |

---

## Contributing

Stream Coding is open source under CC BY 4.0. You're free to use, adapt, and share with attribution.

Looking for:
1. **Real-world case studies** β€” Applied Stream Coding to your project?
2. **Tool integrations** β€” Cursor, Windsurf, other AI tools
3. **Methodology feedback** β€” Are the 5 phases the right split?
4. **Template improvements** β€” Better Strategic Blueprint, ADR formats

Open an issue or PR.

---

## About

Created by [Francesco Marinoni Moretto](https://www.linkedin.com/in/francesco-moretto/) while building [5Levels](https://5levels.io), a LinkedIn relationship intelligence platform.

The methodology emerged from building 7 production modules in 4.5 hours, and documenting exactly how.

---

## License

[CC BY 4.0](./LICENSE) β€” Use freely with attribution.

*"Stream Coding methodology by Francesco Marinoni Moretto (github.com/frmoretto/stream-coding)"*

---

*In memory of my beloved father Guido*