stream-coding
БесплатноБез исполняемых скриптовНе проверенDocumentation-first development methodology. The goal is AI-ready documentation - when docs are clear enough, code generation becomes automatic. Triggers on…
от frmoretto★ 96 звёзд на GitHubОб этом скилле
Stream Coding v3.5: Documentation-First Development
⚠️ CRITICAL REFRAME: THIS IS A DOCUMENTATION METHODOLOGY, NOT A CODING METHODOLOGY
The Goal: AI-ready documentation. When documentation is clear enough, code generation becomes automatic.
The Insight:
"If your docs are good enough, AI writes the code. The hard work IS the documentation. Code is just the printout."
v3.5 Core Additions:
- Phase 2.5 Adversarial Review — stress-test specs with a hostile critic before execution. New time allocation: 40/40/5/10/5.
- Renamed internal 13-item checklist to Spec Gate (structural completeness for code generation)
Two-gate pipeline — know the difference:
- Spec Gate (13 items, this skill) → "Can AI execute this without asking questions?"
- Clarity Gate (9 points, separate tool) → "Will AI mistake assumptions for facts?"
Spec Gate → Clarity Gate → Adversarial Review → Verified Specification → Execution
CHANGELOG
| Version | Changes |
|---|---|
| 3.0 | Initial Stream Coding methodology |
| 3.1 | Clearer terminology, mandatory Spec Gate |
| 3.3 | Document-type-aware placement (Anti-patterns, Test Cases, Error Handling in implementation docs) |
| 3.3.1 | Corrected time allocation (40/40/20), added Phase 4, added Rule of Divergence |
| 3.4 | Complete 13-item Spec Gate, scoring rubric with weights, self-assessment questions, 4 mandatory section templates, Documentation Audit integrated into Phase 1 |
| 3.5 | Phase 2.5 Adversarial Review added. New time allocation: 40/40/5/10/5. Internal 13-item checklist renamed from "Clarity Gate" → "Spec Gate". Two-gate pipeline documented: Spec Gate (structural) + Clarity Gate standalone (epistemic). |
THE STREAM CODING TRUTH
Messy Docs → Vague Specs → AI Guesses → Rework Cycles → 2-3x Velocity
Clear Docs → Clear Specs → AI Executes → Minimal Rework → 10-20x Velocity
Why Most "AI-Assisted Development" Fails:
- People feed AI messy docs
- AI generates code based on assumptions
- Code doesn't match intent
- Endless revision cycles
- Result: Marginally faster than manual coding
Why Stream Coding Achieves 10-20x:
- Documentation is clarified FIRST
- AI has zero ambiguity
- Code matches intent on first pass
- Minimal revision
- Result: Documentation time + automatic code generation
DOCUMENT TYPE ARCHITECTURE
The Rule: Not all documents need all sections. Putting implementation details in strategic documents violates single-source-of-truth.
"If AI has to decide where to find information, you've already lost velocity."
Document Types
| Type | Purpose | Examples |
|---|---|---|
| Strategic | WHAT and WHY | Master Blueprint, PRD, Vision docs, Business cases |
| Implementation | HOW | Technical Specs, API docs, Module specs, Architecture docs |
| Reference | Lookup | Schema Reference, Glossary, Configuration |
Section Placement Matrix
| Section | Strategic Docs | Implementation Docs | Reference Docs |
|---|---|---|---|
| Deep Links (References) | ✅ Required | ✅ Required | ✅ Required |
| Anti-patterns | ❌ Pointer only | ✅ Required | ❌ N/A |
| Test Case Specifications | ❌ Pointer only | ✅ Required | ❌ N/A |
| Error Handling Matrix | ❌ Pointer only | ✅ Required | ❌ N/A |
Why This Matters
Wrong (violates single-source-of-truth):
Master Blueprint
├── Strategy content
├── Anti-patterns ← WRONG: duplicates Technical Spec
├── Test Cases ← WRONG: duplicates Testing doc
└── Error Matrix ← WRONG: duplicates Error Handling doc
Right (single-source-of-truth):
Master Blueprint (Strategic)
├── Strategy content
└── References
└── Pointer: "Anti-patterns → Technical Spec, Section 7"
Technical Spec (Implementation)
├── Implementation details
├── Anti-patterns ← CORRECT: lives here
├── Test Cases ← CORRECT: lives here
└── Error Matrix ← CORRECT: lives here
THE 4-PHASE METHODOLOGY
Time Allocation
| Phase | Time | Focus |
|---|---|---|
| Phase 1: Strategic Thinking | 40% | WHAT to build, WHY it matters |
| Phase 2: AI-Ready Documentation | 40% | HOW to build (specs so clear AI has zero decisions) |
| Phase 2.5: Adversarial Review | 5% | Stress-test specs with a hostile critic before execution |
| Phase 3: Execution | 10% | Code generation + implementation |
| Phase 4: Quality & Iteration | 5% | Testing, refinement, divergence prevention |
The logic: Spending 5% upfront to break specs saves more than 5% in Phase 3 rework. If you bulletproof docs adversarially, execution gets faster — not slower.
PHASE 2.5: ADVERSARIAL REVIEW (5% of time)
When to Run
After Spec Gate passes (9+/10). Before any code generation.
The principle: The same AI that wrote your specs has the same blind spots you do. A different model — or a human with instructions to attack — finds what you can't see.
"When code fa
Установить stream-coding в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл stream-coding?
Documentation-first development methodology. The goal is AI-ready documentation - when docs are clear enough, code generation becomes automatic. Triggers on "Build", "Create", "Implement", "Document", or "Spec out". Version 3.5 adds Phase 2.5 Adversarial Review and renames internal verification to Spec Gate (structural completeness). Clarity Gate is now a separate standalone tool for epistemic quality.
Как установить скилл stream-coding?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stream-coding запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic