typescript-write

Write TypeScript/React code with DDD architecture and TDD workflow.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/semicolon-devteam/semo --skill typescript-write-semicolon-devteam
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: typescript-write
Source: https://github.com/semicolon-devteam/semo/tree/main/packages/eng/nextjs/skills/typescript-write
Command: npx skills add https://github.com/semicolon-devteam/semo --skill typescript-write-semicolon-devteam

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes references (resource) components.

What problem does it solve?

Semicolon νŒ€ ν‘œμ€€μ— 맞좘 TS/React μ½”λ“œ μž‘μ„±κ³Ό DDD μ•„ν‚€ν…μ²˜ μ μš©μ„ 돕고, ν…ŒμŠ€νŠΈ 주도 개발의 원칙을 μ€€μˆ˜ν•©λ‹ˆλ‹€.

Core Features & Use Cases

  • DDD Layer κ·œμΉ™ 적용: Repository/API Client/Hooks/Components의 μ—­ν•  ꡬ뢄
  • νƒ€μž… μ•ˆμ „μ„±: λͺ…μ‹œμ  νƒ€μž… μ‚¬μš©, any κΈˆμ§€
  • μ—λŸ¬ 핸듀링 ν‘œμ€€ν™”: μΌκ΄€λœ μ˜ˆμ™Έ 처리 νŒ¨ν„΄

Quick Start

κΈ°μ‘΄ μ½”λ“œμ— ν•„μš”ν•œ μ»΄ν¬λ„ŒνŠΈλ₯Ό μΆ”κ°€ν•˜κ³ , μ‹€νŒ¨ν•˜λŠ” ν…ŒμŠ€νŠΈλ₯Ό λ¨Όμ € μž‘μ„±ν•©λ‹ˆλ‹€.

Frequently Asked Questions about typescript-write

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write TypeScript and React code that follows domain-driven design principles?β–Ό

Domain-driven design for TypeScript/React organizes code into four layers: Repository (data access), API Client (external services), Hooks (business logic), and Components (UI). This Skill automates applying that structure to Next.js features, enforcing explicit typing, consistent error handling, and test-driven workflows to keep concerns separated and code maintainable.

Can I use TDD with TypeScript and React components?β–Ό

Yes. Test-driven development with TypeScript/React means writing failing tests first, then implementing components, hooks, and API logic to pass them. This Skill applies TDD to a 4-layer DDD structure, ensuring your React features are typed, tested, and aligned with Semicolon team standards before deployment.

How do I integrate Supabase into a Next.js project with proper separation of concerns?β–Ό

Supabase integration follows the DDD Repository pattern: create a dedicated Repository layer for Supabase queries, expose typed API Clients for business logic, wire logic through Hooks, and consume data in Components. This Skill enforces that layering automatically, preventing Supabase calls from leaking into UI code.

What's the best way to structure TypeScript types and error handling across React and Next.js?β–Ό

Explicit, strict typing prevents runtime errors; consistent error-handling patterns ensure predictable failures. This Skill standardizes both across your codebase by applying lint and typecheck rules, Repository/API Client/Hook/Component patterns, and Semicolon team conventions to all TypeScript/React code.

Do I need to rewrite existing code to adopt DDD architecture and TDD?β–Ό

No. The Skill adds DDD components incrementally: identify where your existing code needs a Repository, API Client, Hook, or Component, add it following the pattern, and write failing tests first. You integrate one feature at a time without a full rewrite.

What happens if my React code doesn't match linting or type-checking rules?β–Ό

The Skill enforces lint and typecheck rules as part of its workflow, catching style, typing, and error-handling violations before code review. Violations block merge until resolved, ensuring consistent quality across your Next.js project.