Skip to content
Back to skills

Vibe Domain Extractor

ASecurity

Extracts pure, framework-free, IO-free domain models and deterministic business rules from a rapid prototype with strict preservation vs replacement classification and purity audit enforcement.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgosqlreactexpressfastapidjangotestingapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill vibe-domain-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vibe Domain Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vibe Domain Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-vibe-domain-extractor/badge)](https://www.skillsdirectory.com/skills/richfrem-vibe-domain-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vibe-domain-extractor
description: Extracts pure, framework-free, IO-free domain models and deterministic business rules from a rapid prototype with strict preservation vs replacement classification and purity audit enforcement.
---

# Domain Extraction (vibe-domain-extractor)

Extracts pure, framework-free, IO-free domain models and deterministic business rules from rapid prototypes.

## Contents
- [Critical Constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- Zero framework dependencies: No Express, FastAPI, Django, React, or JSX/TSX imports in `/domain`.
- Zero I/O dependencies: No raw SQL, ORM clients, network sockets, or HTTP request libraries.
- 100% deterministic: Domain calculations and invariant validations must be completely pure.

## Quick start
1. Analyze prototype code to classify core domain logic to preserve vs infrastructure to replace.
2. Scaffold clean domain hierarchy (`domain/entities/`, `domain/values/`, `domain/ports/`).
3. Extract pure entities and verify with zero-mock unit tests and static purity audits.

## Workflow
1. **Classification**: Distinguish pure business calculations (PRESERVE) from databases/APIs (REPLACE).
2. **Scaffold Directory Layout**: Establish clean domain structure without framework couplings.
3. **Model Entities & Ports**: Port logic into pure domain entities and define repository interfaces in `ports/`.
4. **Static Purity Audit**: Run `domain-purity-auditor` to verify zero banned I/O or framework imports.
5. **Unit Testing**: Write focused domain tests executing purely in-memory.

## Verification
- Run domain purity check to verify zero external I/O or framework dependencies.
- Confirm all domain unit tests pass deterministically without network or database access.
- Validate port interfaces cover all required persistence interactions.

## References
- [acceptance-criteria.md](references/acceptance-criteria.md)

Files in this skill

  • SKILL.md5.2 KB
  • acceptance-criteria.md985 B
  • evals/evals.json761 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…