skills/local/stelow-product-coding-standards/SKILL.md
[stelow] Self-contained coding standards for product planning. Universal principles (KISS, DRY, LoB, SoC, Fail Fast, YAGNI, file/function size limits). Use when generating or reviewing code within any product planning context.
npx skillsauth add renatocaliari/agent-sync-public-skills stelow-product-coding-standardsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Self-contained. This skill includes universal coding principles — no external prerequisite skills needed.
Prefer the boring solution. Clever code is a liability for both humans and LLMs.
Wait for the third repetition before abstracting. Premature DRY creates the wrong abstraction.
Follow established conventions of the language/framework before introducing custom config.
Simple by default, complexity behind toggles.
Interfaces for extensibility only when it adds real value.
Behavior lives close to where it's used — in the template/view that owns it.
For backend code and multi-layer frameworks.
Validate at the boundary. Return errors immediately.
Don't build for future needs. Implement only what's needed now.
When LoB and SoC conflict:
| Context | Principle | |---|---|---| | Template/frontend layer (HTML with reactive attributes) | ✅ LoB — behavior in the template that uses it | | Backend layer (handlers, services, repos) | ✅ SoC — separation into layers | | Multi-layer frameworks (React, Vue, Svelte) | ✅ SoC — everything in separate layers | | Mix LoB + SoC frameworks | ⚠️ LoB on frontend, SoC on backend | | Unsure | SoC is the safe default |
| Metric | Universal | Go Override | |---|---|---| | Lines per function | 50 | 100 | | Lines per file | 400 | 500 | | Cyclomatic complexity | 10 | 10 | | Indentation depth | 3 levels | 3 levels |
Why Go relaxes limits: Typed language, explicit error handling adds lines, Go convention favors longer but linear functions.
See references/file-function-sizes.md for detailed limits by language, rationale, and enforcement patterns.
See references/ci-enforcement.md for CI patterns to enforce these standards.
When applying these principles, produce code that:
fmt.Sprintf with HTML tags in Goif err != nil { return nil })| Skill | Relationship |
|---|---|
| stelow-product-tech-planning | Uses these principles for tech plan generation |
tools
Extrai métricas estruturadas, cálculos e estimativas de transcripts de entrevistas com clientes do Sommelier de IA. Produz um JSON com dores, frequências, tempo gasto, pessoas envolvidas, economia potencial, ROI e recomendações financeiras. Projetado para alimentar o cali-degustia-diagnostico ou integrar com dashboards/planilhas.
tools
Guia a coleta de depoimentos de clientes do Sommelier de IA no momento certo do processo, usando a abordagem de Hormozi: pedir depois da primeira evidência de resultado, nunca na entrega. Gera depoimentos mais autênticos e reduz a sensação de que o cliente está sendo "solicitado".
development
[stelow] Full UX critique for visual interfaces. Accepts a live URL, source code directory, or screenshot image. Evaluates accessibility (WCAG AA), Nielsen's 10 heuristics, visual hierarchy, cognitive load, consistency, mobile responsiveness, AI slop, emotional journey, and design personas — then generates a classified gap report. Standalone or integrated into stelow and stelow-product-testing-execution.
development
Building trust through perception and guarantee mechanisms. Covers ten pillars to materialize trust, guarantee types from unconditional to anti-guarantees, and strategic approaches for different contexts.