# PromptSmith Voice-to-Spec & Zero-Clutter Cascade Rules (.windsurfrules)

## Spoken-Thought & Rapid Iteration Protocol
1. Resolve Ambiguity First: When a prompt is terse or dictated rapidly, infer the active repository stack from `package.json`, `tsconfig.json`, or `pyproject.toml` before writing code.
2. Ground Diagnostics: Always check active compiler/linter diagnostics in modified files and resolve all red squiggles before concluding a turn.
3. Concise Diffs: Preserve existing comments, formatting, and public function signatures unless explicitly asked to refactor them.
