domain-extraction

Community

Isolate domain logic into a clean TS domain layer.

AuthorSaurav-snapwork
Version1.0.0
Installs0

System Documentation

What problem does it solve?

MUST be used whenever business logic needs to be extracted into a pure TypeScript domain layer following clean architecture. Use when: isolating entities, use cases, and repository interfaces from Flutter domain classes or mixed UI+logic code; creating the domain layer of a new feature after the Feature Folder Generator has scaffolded the structure; verifying that an existing domain layer contains no framework dependencies; removing React, Axios, Redux, or any UI/infrastructure imports from business logic.

Core Features & Use Cases

  • Extract domain entities as pure TypeScript interfaces
  • Generate domain value objects and policy classes to enforce invariants
  • Scaffold repository interfaces and use cases aligned with clean architecture
  • Validate domain boundaries and produce a canonical domain index per feature

Quick Start

Point the classifier at a Flutter feature and run the domain-extraction skill to scaffold domain models, use cases, and repository interfaces.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: domain-extraction
Download link: https://github.com/Saurav-snapwork/NewAppTemplate/archive/main.zip#domain-extraction

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.