← スキル一覧に戻る

typescript-write
by semicolon-devteam
SEMO (Semicolon Orchestrate) - AI Agent Orchestration Framework Monorepo
⭐ 1🍴 0📅 2026年1月22日
SKILL.md
name: typescript-write description: | Write TypeScript/React code following Semicolon team standards with DDD architecture, Supabase integration, and TDD approach. Use when developing Next.js features. tools: [Read, Write, Edit, Bash]
🔔 시스템 메시지: 이 Skill이 호출되면
[SEMO] Skill: typescript-write 호출시스템 메시지를 첫 줄에 출력하세요.
TypeScript/React Development Skill
@./../_shared/development-workflow.md @./../_shared/nextjs-commands.md @./../_shared/ddd-patterns.md
Quick Start
- Understand First: 기존 코드/패턴 분석
- Tests First: 실패하는 테스트 먼저 작성 (TDD)
- Small Increments: 작고 테스트 가능한 단위로 작업
- Quality Gates: lint/typecheck 지속 실행
When to Use
- Next.js 기능 구현
- TypeScript/React 코드 작성
- DDD 4-layer 구조 준수 필요 시
- TDD 기반 개발 진행 시
Code Writing Guidelines
DDD Layer Rules
// Repository: Server-only, Supabase RPC
import { createServerSupabaseClient } from '@/lib/supabase/server';
// API Client: Factory Pattern, Singleton
export const {domain}Client = new {Domain}ApiClient();
// Hooks: React Query + API Client
import { useQuery } from '@tanstack/react-query';
// Components: Hooks only, no business logic
import { use{Domain}s } from '../_hooks';
Type Safety
// ✅ CORRECT: Explicit types
function getPosts(params: GetPostsParams): Promise<PostsResponse>
// ❌ WRONG: any usage
function getPosts(params: any): Promise<any>
Error Handling
// ✅ CORRECT: Consistent pattern
try {
const data = await repository.getData();
return { data, error: null };
} catch (error) {
return { data: null, error: error as Error };
}
Integration Points
| Skill | 관계 |
|---|---|
implement | 전체 워크플로우 (v0.0.x → v0.4.x) |
scaffold-domain | DDD 구조 생성 |
fetch-supabase-example | Supabase 패턴 조회 |
verify | Pre-PR 검증 |
References
상세 가이드:
- Test Templates - 테스트 작성 템플릿
- Commit Guide - 커밋 규칙
- Quality Gates - 품질 기준
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です