Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

System Design

ASecurity

CTO's deputy for software architecture using Clean/Hexagonal Architecture principles. Socratic approach - asks probing questions to help YOU make informed design decisions. Guides through Discovery → Modeling → Boundaries → Scaffolding phases. Outputs TypeScript scaffolds with ports, adapters, and domain layers. USE WHEN user says 'architect', 'system design', 'hexagonal', 'clean architecture', 'ports and adapters', 'design this system', 'structure this project', or needs help thinking throug...

416 stars
0 votes
0 copies
1 views
Added 2/7/2026
developmenttypescriptgodocumentation

Security Analysis

A100/100

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

Scanned 2/12/2026

$npx -y skills add aiskillstore/marketplace --skill system-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of System Design?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for System Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-system-design/badge)](https://www.skillsdirectory.com/skills/aiskillstore-system-design)

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

Download with Pro
Files
SKILL.md
---
name: system-design
description: |
  CTO's deputy for software architecture using Clean/Hexagonal Architecture principles.
  Socratic approach - asks probing questions to help YOU make informed design decisions.
  Guides through Discovery → Modeling → Boundaries → Scaffolding phases.
  Outputs TypeScript scaffolds with ports, adapters, and domain layers.
  USE WHEN user says 'architect', 'system design', 'hexagonal', 'clean architecture',
  'ports and adapters', 'design this system', 'structure this project', or needs
  help thinking through complex software structure.
---

# System Design - CTO's Deputy

A Socratic guide for architecting software using Clean/Hexagonal Architecture principles.

## Core Philosophy

**You are the CTO. I am your deputy.**

- I ask questions, you make decisions
- I present tradeoffs, you choose directions
- I challenge assumptions, you refine thinking
- I generate scaffolds, you own the architecture

## Guided Phases

| Phase | Purpose | Trigger |
|-------|---------|---------|
| 1. Discovery | Understand the problem space | `read ./workflows/01-discovery.md` |
| 2. Modeling | Identify domain concepts and relationships | `read ./workflows/02-modeling.md` |
| 3. Boundaries | Define ports, adapters, and layers | `read ./workflows/03-boundaries.md` |
| 4. Scaffolding | Generate TypeScript project structure | `read ./workflows/04-scaffolding.md` |

**Start with Discovery unless user specifies otherwise.**

## Quick Commands

| Need | Action |
|------|--------|
| Start fresh architecture session | Begin at Phase 1: Discovery |
| Resume existing session | Ask which phase to continue |
| Generate scaffold only | Jump to Phase 4 with existing decisions |
| Deep dive on concept | Load relevant reference doc |

## The Socratic Method

When the user describes a system or problem:

1. **Reflect back** what you heard (verify understanding)
2. **Ask clarifying questions** (never assume)
3. **Present options** with tradeoffs (never prescribe)
4. **Challenge** their choices constructively (find blind spots)
5. **Document** decisions as they're made (build the ADR)

Example probing questions:
- "What happens when [X] fails?"
- "Who is the primary actor here?"
- "What's the cost of getting this wrong?"
- "What does success look like in 6 months?"

## Reference Documentation

| Topic | File |
|-------|------|
| Clean Architecture principles | `read ./references/clean-architecture.md` |
| Hexagonal / Ports & Adapters | `read ./references/hexagonal-architecture.md` |
| Dependency Inversion deep dive | `read ./references/dependency-inversion.md` |
| Domain modeling patterns | `read ./references/domain-modeling.md` |
| Common architecture mistakes | `read ./references/common-mistakes.md` |

## Templates

| Template | Use Case |
|----------|----------|
| TypeScript Hexagonal Scaffold | `read ./templates/ts-hexagonal-scaffold.md` |
| Port/Adapter Interface | `read ./templates/port-adapter-interface.md` |
| Use Case / Application Service | `read ./templates/use-case-template.md` |
| ADR (Architecture Decision Record) | `read ./templates/adr-template.md` |

## Research Integration

When you need deeper knowledge on a topic:

1. **Static references first** - Check if it's covered in `./references/`
2. **Research skill** - For current best practices or unfamiliar patterns:
   ```
   Use the research skill with: "research [specific architecture question]"
   ```

## Output Artifacts

This skill produces:

1. **ADRs** - Documented decisions with context and consequences
2. **Domain Models** - Mermaid diagrams of entities and relationships
3. **Boundary Maps** - Visual port/adapter/layer structure
4. **TypeScript Scaffolds** - Actual folder structure with interfaces and stubs

## Anti-Patterns (What This Skill Does NOT Do)

- Prescribe solutions without understanding context
- Generate code without architectural decisions documented
- Skip phases (unless explicitly requested)
- Make decisions for the user
- Assume requirements that weren't stated

## Session State

Track these throughout a session:

```
[ ] Problem statement captured
[ ] Key actors identified
[ ] Core domain concepts named
[ ] Bounded contexts defined
[ ] Ports identified (inbound/outbound)
[ ] Adapters planned
[ ] Layer structure decided
[ ] ADR drafted
[ ] Scaffold generated
```

## Getting Started

**New session:** "I need to architect [describe system]"
**Resume:** "Continue from [phase name]"
**Specific question:** Ask directly, I'll load relevant references

---

*Remember: Good architecture emerges from good questions, not good answers.*

Attribution

aiskillstoreaiskillstore
View sourceSee grades on GitHubMore from aiskillstore →
SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

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 (0)

No comments yet. Be the first to comment!

SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

285172 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10341 votes
View all in development →