Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Design-pattern review gate for TypeScript v1.0.0

Use this resource to check design-pattern usage in TypeScript and React before merging

New

  • 452 downloads
  • 189 likes
  • 221 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install typescript-pattern-review-gate

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

A blind reviewer checks the code against 18 decidable rules. It flags over-abstraction, such as singletons, factories and DI containers, and under-modelling, such as boolean state flags and chained effects. It returns a pass or fail verdict. The agent does not fix the code.

Mostly picked by

Updated November 2, 2026

Card for the “Design-pattern review gate for TypeScript” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: review protocol and verdict format
  • references/: one card per rule on state, creation and layering

Good fit for

  • A React component chains several dependent useEffect calls
  • A TypeScript project adds an interface for a single implementation

Not for

    Tags

    • typescript
    • react
    • patterns
    • code review
    • architecture

    About

    You say

    “Run this TypeScript module through the pattern gate: check the singletons, factories and boolean state.”

    Card for the “Design-pattern review gate for TypeScript” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to check design-pattern usage in TypeScript and React before merging
    3. Review and adjust the result

    Content preview

    Files

    • assets/templates/verdict.md1.5 KB
    • gotchas.md1.9 KB
    • LICENSE1.1 KB
    • metadata.json1.7 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.5 KB
    • references/behave-no-event-bus-in-tree.md2.1 KB
    • references/behave-no-single-method-class.md1.9 KB
    • references/behave-union-over-state-visitor-classes.md2.3 KB
    • references/create-no-builder-for-optional-bag.md2.1 KB
    • references/create-no-factory-class-hierarchy.md1.9 KB
    • references/create-no-getinstance-singleton.md1.8 KB
    • references/layer-no-di-container-in-app.md2.3 KB
    • references/layer-no-passthrough-repository.md2.4 KB
    • references/layer-no-single-impl-interface.md2.2 KB
    • references/oo-no-static-only-class.md1.6 KB
    • references/oo-no-trivial-accessors.md1.7 KB
    • references/react-no-component-inheritance.md2.2 KB
    • references/react-no-hoc-for-logic-reuse.md2.1 KB
    • references/react-no-imperative-handle-data-flow.md2.3 KB
    • references/reviewer-prompt.md4.3 KB
    • references/state-exhaustive-match-on-unions.md2.2 KB
    • references/state-no-effect-chains.md2.2 KB
    • references/state-no-stored-derived-state.md1.7 KB
    • references/state-union-over-boolean-flags.md2 KB
    • SKILL.md7.3 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/adversarial-ts-patterns
    Licence
    MIT

    Notice

    « adversarial-ts-patterns » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.