Agent Skills: adversarial-ts-patterns

Use this skill to gate TypeScript and React application code with a pass/fail adversarial review of design-pattern usage — a single blind reviewer subagent judges a diff or file set against 18 decidable rules covering implicit state machines (boolean-flag lifecycles, useEffect chains, stored derived state, non-exhaustive union matches) and over-engineered OO/enterprise ports (getInstance singletons, factory and builder classes, single-method strategy classes, State/Visitor hierarchies, event buses inside a React tree, pass-through repositories, DI containers, single-implementation interfaces, component inheritance, logic-only HOCs, static-only classes, trivial accessors). Trigger it before merging TS/React work, when asked to gate or pass/fail pattern usage, or as a check that agent-authored code is not porting Java/C# idioms. It renders verdicts only; for teaching-style guidance use implementation-design-patterns or implementation-functional-patterns.

UncategorizedID: pproenca/dot-skills/adversarial-ts-patterns

Install this agent skill to your local

pnpm dlx add-skill https://github.com/pproenca/dot-skills/adversarial-ts-patterns

Skill Files

Browse the full folder contents for adversarial-ts-patterns.

Download Skill

Loading file tree…

Select a file to preview its contents.