Verify Ssot

UserRole

v1.0.0

このスキルについて

適した場面: 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:. ローカライズされた概要: 상세: references/ssot-checks.md Step 1 Step 2: Permission 임포트 소스 확인 PASS: 모든 Permission이 @equipment-management/shared-constants에서 import. Claude Code, Cursor, and Windsurf workflows.

機能

타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:
Enum/타입 임포트 — UserRole, EquipmentStatus 등은 @equipment-management/schemas에서 임포트
Permission 임포트 — @equipment-management/shared-constants에서 임포트
API 엔드포인트 임포트 — @equipment-management/shared-constants에서 임포트
로컬 재정의 금지 — 패키지에 정의된 타입을 로컬에서 재정의하지 않음

# 主なトピック

junnv93 junnv93
[0]
[0]
更新日: 4/8/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

適した場面: 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:. ローカライズされた概要: 상세: references/ssot-checks.md Step 1 Step 2: Permission 임포트 소스 확인 PASS: 모든 Permission이 @equipment-management/shared-constants에서 import. Claude Code, Cursor, and Windsurf workflows.

このスキルを使用する理由

推奨ポイント: verify-ssot helps agents 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:. 상세: references/ssot-checks.md Step 1 Step 2: Permission 임포트 소스 확인 PASS: 모든 Permission이 @equipment-management/shared-constants에서 import. This AI

おすすめ

適した場面: 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:.

実現可能なユースケース for Verify Ssot

ユースケース: 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:
ユースケース: Enum/타입 임포트 — UserRole, EquipmentStatus 등은 @equipment-management/schemas에서 임포트
ユースケース: Permission 임포트 — @equipment-management/shared-constants에서 임포트

! セキュリティと制限

  • 制約事項: Requires repository-specific context from the skill documentation
  • 制約事項: Works best when the underlying tools and dependencies are already configured

About The Source

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs デモ

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ とインストール手順

These questions and steps mirror the structured data on this page for better search understanding.

? よくある質問

Verify Ssot とは何ですか?

適した場面: 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:. ローカライズされた概要: 상세: references/ssot-checks.md Step 1 Step 2: Permission 임포트 소스 확인 PASS: 모든 Permission이 @equipment-management/shared-constants에서 import. Claude Code, Cursor, and Windsurf workflows.

Verify Ssot はどうやって導入しますか?

次のコマンドを実行してください: npx killer-skills add junnv93/equipment_management_system。Cursor、Windsurf、VS Code、Claude Code など19以上のIDEで使えます。

Verify Ssot の主な用途は?

主な用途は次のとおりです: ユースケース: 타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:, ユースケース: Enum/타입 임포트 — UserRole, EquipmentStatus 등은 @equipment-management/schemas에서 임포트, ユースケース: Permission 임포트 — @equipment-management/shared-constants에서 임포트。

Verify Ssot に対応するIDEは?

このスキルは Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer に対応しています。統一された導入には Killer-Skills CLI を使えます。

Verify Ssot に制限はありますか?

制約事項: Requires repository-specific context from the skill documentation. 制約事項: Works best when the underlying tools and dependencies are already configured.

このスキルの導入方法

  1. 1. ターミナルを開く

    プロジェクトディレクトリでターミナルまたはコマンドラインを開きます。

  2. 2. インストールコマンドを実行

    npx killer-skills add junnv93/equipment_management_system を実行してください。CLI がIDEまたはエージェントを自動検出し、スキルを設定します。

  3. 3. スキルを使い始める

    このスキルはすぐに有効になります。現在のプロジェクトで Verify Ssot をすぐ使えます。

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

Verify Ssot

상세: references/ssot-checks.md Step 1 Step 2: Permission 임포트 소스 확인 PASS: 모든 Permission이 @equipment-management/shared-constants에서 import. This AI agent skill

SKILL.md
Readonly
Upstream Repository Material
The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

SSOT 임포트 소스 검증

Purpose

타입, enum, 상수가 올바른 패키지에서 임포트되는지 검증합니다:

  1. Enum/타입 임포트UserRole, EquipmentStatus 등은 @equipment-management/schemas에서 임포트
  2. Permission 임포트@equipment-management/shared-constants에서 임포트
  3. API 엔드포인트 임포트@equipment-management/shared-constants에서 임포트
  4. 로컬 재정의 금지 — 패키지에 정의된 타입을 로컬에서 재정의하지 않음
  5. Icon Library 통합 — lucide-react 표준 준수

하드코딩 값 탐지는 /verify-hardcoding에서 수행합니다.

When to Run

  • 새로운 enum이나 타입을 추가한 후
  • import 경로를 변경한 후
  • 새로운 모듈/컴포넌트를 추가한 후

핵심 SSOT 패키지 요약 (전체 파일 목록: references/ssot-file-map.md):

Package / LayerSSOT 항목
packages/schemas/Enum, 타입, ErrorCode, 설정 기본값, VM 검증 메시지, DocumentType, AuditLogUserRole
packages/shared-constants/Permission, API 경로, 스코프 정책, 비즈니스 규칙, 엔티티 라우트, Test Users
packages/db/DB enum 배열, AppDatabase 타입, varchar 컬럼 .$type<T>() 타입 좁힘
apps/backend/src/common/scope/scope-enforcer.tsenforceScope() 정책 함수 + EnforcedScope 타입 (요청 경계 — cross-site/cross-team 차단 SSOT)
apps/backend/src/common/scope/scope-sql-builder.tsbuildScopePredicate / dispatchScopePredicate (쿼리 계층 — 정책 상태기계 SSOT, 2026-04-08~)
apps/backend/src/common/decorators/site-scoped.decorator.ts@SiteScoped 데코레이터 + SiteScopedOptions (failLoud 옵션 포함)
apps/backend/src/common/decorators/current-scope.decorator.ts@CurrentScope() / @CurrentEnforcedScope() parameter decorator
apps/backend/.eslintrc.jsESLint no-restricted-syntax — domain status 리터럴 3-layer 차단 (BinaryExpression / Property / CallExpression selector)

Workflow

Step 1: 로컬 enum/타입 재정의 탐지

패키지에 정의된 핵심 타입(UserRole, EquipmentStatus, SystemSettings 등)이 로컬에서 재정의되는지 확인. PASS: 0개 결과. FAIL: 로컬 타입 정의 발견 시 패키지 임포트로 변경.

상세: references/ssot-checks.md Step 1

Step 2: Permission 임포트 소스 확인

PASS: 모든 Permission이 @equipment-management/shared-constants에서 import. FAIL: 다른 소스 사용.

상세: references/ssot-checks.md Step 2

Step 2a: Client-side hasRole() 금지 (role literal 기반 권한 게이트 탐지)

PASS: 프론트엔드 컴포넌트/페이지에 useAuth().hasRole 사용 0건. role 리터럴 배열을 권한 게이트로 쓰는 패턴 0건. FAIL: client code에서 hasRole 또는 [URVal.XXX, ...]로 권한 결정.

규칙 근거: 2026-04-08 (49fb6d7e)에 role-based client gating이 전면 can(Permission.X)로 마이그레이션되어 백엔드 @RequirePermissions와 단일 SSOT를 공유.

상세: references/ssot-checks.md Step 2a

Step 3: 패키지별 임포트 소스 확인 (3a~3e 포함)

API_ENDPOINTS, Audit Log 타입, Field Labels, Entity Routes, Data Scope, SSOT 상수의 import 소스 확인. PASS: 모두 올바른 패키지에서 import. FAIL: 잘못된 소스 사용.

상세: references/ssot-checks.md Step 3

Step 4: Icon Library 통합 확인

react-icons(deprecated) 사용 및 비표준 icon library 탐지. PASS: lucide-react만 사용. FAIL: react-icons 또는 비표준 라이브러리 사용.

상세: references/ssot-checks.md Step 4

Step 5~14: 추가 SSOT 검증

| Step

関連スキル

Looking for an alternative to Verify Ssot or another community skill for your workflow? Explore these related open-source skills.

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

ローカライズされた概要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

ローカライズされた概要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat. It covers ai, artificial-intelligence, awesome-list workflows. Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

ローカライズされた概要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. Claude Code, Cursor, and Windsurf workflows.

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

ローカライズされた概要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review. It covers autograd, deep-learning, gpu workflows. Claude Code, Cursor, and Windsurf workflows.

98.6k
0
開発者