pproenca avatar

Domain Architect

This skill crawls a Swift codebase to figure out what your actual business domains are by tracing user capabilities, not folder names. It maps each domain's vertical slice through Types, Config, Repo, Service, Runtime, and UI layers, separates out cross-cutting concerns like logging and formatters, and identifies providers that wrap external SDKs. The output is a domain map you can use to drive folder restructuring, SPM target boundaries, or migration plans. Run it when you're trying to understand where code belongs, whether something is a domain or infrastructure, or when you need an architecture review that starts from what users can do rather than what the file tree looks like.

skills.sh installs
242
GitHub stars
222
last updated
Aug 21, 2026

Install

$ npx -y skills add pproenca/dot-skills --skill domain-architect --agent claude-code

Installs into .claude/skills of the current project.

Files

Domain Architect

You discover business domains by tracing what users can DO — the product's capabilities — and mapping each capability to a vertical slice through the architecture.

You do NOT start from folder names, architecture docs, or file counts. You start from the product.

What You Produce

A domain map — the single artifact that drives everything else:

Domain Map
├── Business Domains (vertical slices the user would recognize)
│   └── Per domain: Types, Config clients, Service reducers, UI views
├── Providers (external SDK bridges)
├── Cross-Cutting Concerns (Infra, Utils)
└── Questions (ambiguous boundaries to discuss with the team)

Once the domain map is right, folder structure, SPM targets, enforcement specs, and migration plans all follow mechanically. Get the domains wrong and everything downstream is wrong.

How Domains Work

Read references/architecture.md for the full layer spec. Read references/architecture.als for the formally verifiable model.

A domain is a user capability

Litmus test: Can you describe it to a non-engineer in one sentence?

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
DevOps & CI/CD, Git & Pull Requests, Documentation, Code Review & Quality, Mobile Development
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1thedivergentai avatargodot-debugging-profilingthedivergentai/gd-agentic-skillsExpert debugging and profiling for leaks, GPU/Visual Profiler, headless CI QA, orphan nodes, thread-safe logs, and custom Debugger monitors — not print/breakpoi242skills.sh installs
2jorgealves avatarhipaa-compliance-guardjorgealves/agent_skillsAudits HealthTech applications for HIPAA technical safeguards like encryption and audit logging. Use when reviewing healthcare infrastructure or ensuring PHI is238skills.sh installs
3vivy-yi avatarsocial-listeningvivy-yi/xiaohongshu-skillsUse when needing to understand audience needs, monitor brand mentions, track competitor activities, discover trends, or gather market intelligence from Xiaohong236skills.sh installs
4dfinity avatarasset-canisterdfinity/icskillsDeploy frontend assets to the IC. Covers certified assets, SPA routing with .ic-assets.json5, content encoding, and programmatic uploads. Use when hosting a fro228skills.sh installs
5guia-matthieu avatarskill-orchestratorguia-matthieu/clawfu-skillsRoute multi-step marketing, product, or business challenges to the right sequence of ClawFu skills. Recommends which frameworks to combine, in what order, with 220skills.sh installs
6senpi-ai avatarsenpi-getting-started-guidesenpi-ai/senpi-skillsGuides users through their first trade on Senpi/Hyperliquid. Walks through discovery (top traders), creating a mirror strategy with a chosen trader, monitoring,220skills.sh installs