xiaohongshu
xiaohongshu
Status: ACTIVE AppliesTo: v10 ParentSSOT: skills/devian-core/03-ssot/SKILL.md
Full skill instructions
Status: ACTIVE AppliesTo: v10 ParentSSOT: skills/devian-core/03-ssot/SKILL.md
이 문서는 DATA 도메인(테이블, Contract, 스토리지) 관련 SSOT를 정의한다.
중복 금지: 공통 용어/플레이스홀더/입력 분리/머지 규칙은 Root SSOT가 정본이며, 이 문서는 재정의하지 않는다.
DATA 도메인의 데이터 출력 타겟은 전역 tableConfig로 설정한다.
"tableConfig": {
"tableDirs": ["../framework-cs/apps/UnityExample/Assets/Bundles/Tables"],
"stringDirs": ["../framework-cs/apps/UnityExample/Assets/Bundles/Strings"],
"soundDirs": ["../framework-cs/apps/UnityExample/Assets/Bundles/Sounds"]
}
| 필드 | 역할 | 예시 |
|---|---|---|
tableDirs | 테이블 출력 디렉토리 목록 | ["...Assets/Bundles/Tables"] |
stringDirs | String 테이블 출력 디렉토리 목록 | ["...Assets/Bundles/Strings"] |
soundDirs | Sound 데이터 출력 디렉토리 목록 | ["...Assets/Bundles/Sounds"] |
필수 규칙:
tableConfig의 각 Dir 배열은 필수 (빈 배열 허용)ndjson/ 및 pb64/ 하위 디렉토리를 생성dataConfig는 금지 (deprecated, 존재 시 빌드 FAIL)domains[*].dataTargetDirs는 금지 (존재 시 빌드 실패)DATA 입력은 {buildInputJson}의 domains 섹션이 정의한다.
Devian v10 프로젝트는 DATA DomainKey로 Common을 반드시 포함한다.
{buildInputJson}에서 domains.Common은 필수 항목이다.Devian.Domain.Common (프로젝트명)@devian/module-common (폴더명: devian-domain-common)Common 모듈의 상세 정책은 skills/devian-common/02-module-policy를 참조한다.
입력 경로는 {buildInputJson}이 정본이다:
domains[Common].contractDir = Domains/Common/contractsdomains[Common].tableDir = Domains/Common/tables키 변경 (레거시 호환):
contractDir (새 키), contractsDir (레거시/금지)tableDir (새 키), tablesDir (레거시/금지)pk 옵션만 PrimaryKey로 해석한다.gen: 옵션이 선언된 컬럼은 반드시 pk여야 한다.optional:true는 "nullable/optional column" 힌트로만 사용parser:* 등은 Reserved (있어도 무시 / 의미 부여 금지)상세 규칙: skills/devian-data/30-table-authoring-rules
staging:
{tempDir}/{DomainKey}/cs/Generated/{DomainKey}.g.cs{tempDir}/{DomainKey}/ts/Generated/{DomainKey}.g.ts, index.ts{tempDir}/{DomainKey}/data/ndjson/{TableName}.json (내용은 NDJSON){tempDir}/{DomainKey}/data/pb64/{TableName}.asset (pk 옵션 있는 테이블만)final (csConfig/tsConfig/tableConfig 기반):
{csConfig.generateDir}/Devian.Domain.{DomainKey}/Generated/{DomainKey}.g.cs{tsConfig.generateDir}/devian-domain-{domainkey}/Generated/{DomainKey}.g.ts, index.ts{tableDir}/ndjson/{TableName}.json (내용은 NDJSON){tableDir}/pb64/{TableName}.asset (pk 옵션 있는 테이블만)도메인 폴더 미사용 (Hard Rule):
{DomainKey} 폴더를 생성하지 않는다.금지 필드 (Hard Fail):
domains[*].csTargetDir — 금지, csConfig.generateDir 사용domains[*].tsTargetDir — 금지, tsConfig.generateDir 사용domains[*].dataTargetDirs — 금지, tableConfig.*Dirs 사용DATA Domain 생성물의 C# 네임스페이스:
namespace Devian.Domain.{DomainKey}예: DomainKey Common → namespace Devian.Domain.Common
TS devian-domain-*/index.ts는 빌더가 관리하되, 통째 덮어쓰기를 금지한다.
// <devian:domain-exports> ~ // </devian:domain-exports> — Domain 생성물 export// <devian:feature-exports> ~ // </devian:feature-exports> — features 폴더 export파일 확장자는 .json이지만, ndjson/ 폴더의 파일 내용은 NDJSON(라인 단위 JSON)이다.
상세 규칙: skills/devian-data/34-ndjson-storage
pk 옵션이 있는 테이블만 Unity TextAsset .asset 파일로 export한다.
{TableName}.asset (테이블 단위 1개 파일)상세 규칙: skills/devian-data/35-pb64-storage
DATA export는 PK 유효 row만 포함하며, 유효 row가 없으면 산출물을 생성하지 않는다.
primaryKey(pk 옵션)가 정의되지 않은 테이블은 ndjson/pb64 파일을 생성하지 않는다.primaryKey 값이 비어있는 row는 export 대상에서 제외된다.[Skip] 로그를 남긴다.xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience