Receber por email
← Voltar para o catálogo

pattern-surgeon

Use when the user names a TS/JS/Python/Java/C#/PHP/Kotlin/Dart/Swift file or function and asks what design pattern fits, asks to compare which pattern (and why/how it fits), to refactor to a pattern, to make new code match existing patterns ("match existing", "make this consistent"), or to implement new behavior with the right pattern. Recommends one of Strategy/Factory/Adapter/Repository/Observer

1estrelas
Atualizado há 5 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add nuhin13/pattern-surgeon

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/pattern-surgeon/svg)](https://www.skillteca.com.br/skills/pattern-surgeon)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

pattern-surgeon

When to use

User points at a code scope (file/function/class) in any supported language (see ## Language & framework detection) and asks what pattern fits, says it is messy/has a big switch, or asks to refactor to a pattern. Reactive only — never scan the whole repo unprompted.

Language & framework detection

Before applying the procedure, detect the project:

  • Language by nearest marker to the edited file: package.json+tsconfig→TS;

pyproject.toml/setup.py/`r

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn