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.

Detect duplicated business logic v1.0.0

Use this resource to find duplicated business logic and consolidate it

New

  • 436 downloads
  • 231 likes
  • 167 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install shared-domain-logic-detection

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

The agent finds domain functions spread across several components, separates business logic from infrastructure and proposes consolidation approaches. It relies on common domain patterns. You get a list of duplicates and consolidation leads.

Mostly picked by

Updated November 2, 2026

Card for the “Detect duplicated business logic” skill

Details

Generates with
Your agent's model
Licence
CC-BY-4.0

Similar resources

View all

What you get

  • SKILL.md : detection method and consolidation approaches
  • QUICK-REFERENCE.md : pattern quick reference
  • README.md : overview and examples

Good fit for

  • Two services calculate the same discount in different ways
  • You want to share a business rule before splitting the code

Not for

    Tags

    • duplication
    • business logic
    • consolidation
    • components
    • refactoring

    About

    You say

    “Find the duplicated price calculation logic across the components of this project.”

    Card for the “Detect duplicated business logic” skill

    Skill published by tech-leads-club under the CC-BY-4.0 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 find duplicated business logic and consolidate it
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.5 KB
    • NOTICE-PALATEKIT.md0.6 KB
    • QUICK-REFERENCE.md4.1 KB
    • README.md17.5 KB
    • SKILL.md17.6 KB

    Origin and licence

    Listed unmodified

    Author
    tech-leads-club
    Source
    github.com/tech-leads-club/agent-skills/tree/738451e40785750a8e8de5bce8112675f5f0df02/packages/skills-catalog/skills/(architecture)/component-common-domain-detection
    Licence
    CC-BY-4.0

    Notice

    « component-common-domain-detection » (tech-leads-club, CC-BY-4.0) 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.