소스 정보
- 저장소
- ForceInjection/domain-driven-design-skills
- 최근 소스 활동
- 2026년 5월 8일 03:07
- 감지된 SKILL.md 언어
- 일본어
- 스타
- 25
- 포크
- 7
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ForceInjection/domain-driven-design-skills --skill feature-scaffolding명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | feature-scaffolding |
| description | BoxLogの新しいFeatureモジュールを作成。stores, hooks, components, types の統一構造を生成。 |
BoxLogプロジェクトの新しいFeatureモジュールを規約に沿って作成するスキルです。
以下のキーワードが含まれる場合に自動的に起動:
src/features/{feature-name}/
├── index.ts # Public API(バレルファイル)
├── types/
│ └── index.ts # 型定義
├── stores/
│ └── index.ts # Zustand stores
├── hooks/
│ └── index.ts # カスタムフック
├── components/
│ └── index.ts # UIコンポーネント
├── constants/ # (optional)
│ └── index.ts
└── contexts/ # (optional)
└── {Feature}Context.tsx
FEATURE_NAME="your-feature"
mkdir -p src/features/${FEATURE_NAME}/{types,stores,hooks,components}
// {Feature}の型定義
export interface {Entity} {
id: string
user_id: string
// entity fields
created_at: Date
updated_at: Date
}
export interface Create{Entity}Input {
// required fields for creation
}
export interface Update{Entity}Input {
// optional fields for update
}
export { use{Feature}Store } from './use{Feature}Store'
import { create } from 'zustand'
import { devtools, persist } from 'zustand/middleware'
interface {Feature}State {
// state
items: {Entity}[]
// actions
addItem: (item: Create{Entity}Input) => Promise<boolean>
updateItem: (id: string, updates: Update{Entity}Input) => Promise<boolean>
deleteItem: (id: string) => Promise<boolean>
getItemById: (id: string) => {Entity} | undefined
}
export const use{Feature}Store = create<{Feature}State>()(
devtools(
persist(
(set, get) => ({
: [],
: (data) => {
},
: (id, updates) => {
},
: (id) => {
},
: {
()..( item. === id)
},
}),
{
: ,
: ({ : state. }),
}
),
{ : }
)
)
export { use{Feature}s } from './use-{feature}s'
export { use{Feature}Operations } from './use-{feature}-operations'
export { {Feature}List } from './{Feature}List'
export { {Feature}Item } from './{Feature}Item'
/**
* {Feature} Feature - Public API
*
* @example
* ```tsx
* // ✅ 推奨: バレルファイル経由
* import { {Feature}List, use{Feature}s, use{Feature}Store } from '@/features/{feature}'
*
* // ❌ 非推奨: 深いパス指定
* import { {Feature}List } from '@/features/{feature}/components/{Feature}List'
* ```
*/
// Components
export { } from './components'
// Hooks
export { } from './hooks'
// Stores
export { use{Feature}Store } from './stores'
// Types
export type { } from './types'
| 種類 | 命名規則 | 例 |
|---|---|---|
| ディレクトリ | kebab-case | user-settings |
| コンポーネント | PascalCase | UserSettingsList |
| フック | camelCase (use prefix) | useUserSettings |
| ストア | camelCase (use prefix) | useUserSettingsStore |
| 型 | PascalCase | UserSettings |
index.ts 経由types/index.ts に集約export function 形式(export default 禁止)bg-card, text-foreground 等)src/features/
├── tags/ # 参考実装(最も完成度が高い)
├── plans/ # 複雑なFeatureの例
├── calendar/ # 大規模Featureの例
├── settings/ # シンプルなFeatureの例
└── auth/ # 認証関連