소스 정보
- 저장소
- doanchienthangdev/omgkit
- 최근 소스 활동
- 2026년 1월 8일 05:47
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/doanchienthangdev/omgkit --skill design-system-context명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
AI agent practices test-first development with the Red-Green-Refactor cycle for confident, well-designed code. Use when implementing features, fixing bugs, or establishing testing practices.
The agent enforces mandatory test completion before any task or feature can be marked as done, ensuring code quality through strict validation gates and evidence-based completion criteria.
The agent automatically generates comprehensive test tasks from feature requirements, ensuring every implementation task has corresponding test coverage with proper acceptance criteria.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | design-system-context |
| description | Automatic design system context injection for UI consistency |
| category | frontend |
| level | foundational |
| commands | ["/design:preview","/design:themes"] |
This skill ensures all UI/UX work automatically follows the project's design system without explicit user specification.
CRITICAL: Before ANY UI/component work, you MUST:
.omgkit/design/theme.json exists/design:theme <id> first# Always check first
if [ -f ".omgkit/design/theme.json" ]; then
# Read and use theme colors
else
# Suggest: "No design system detected. Run /design:themes to select one."
fi
When theme.json exists, extract these key values:
{
"name": "Theme Name",
"id": "theme-id",
"colors": {
"light": {
"background": "0 0% 100%",
"foreground": "240 10% 3.9%",
"primary": "346.8 77.2% 49.8%",
"primary-foreground": "355.7 100% 97.3%",
"secondary": "240 4.8% 95.9%",
"muted": "240 4.8% 95.9%",
"accent": "240 4.8% 95.9%",
"destructive": "0 84.2% 60.2%",
"border": "240 5.9% 90%",
"ring": "346.8 77.2% 49.8%"
}
},
NEVER hardcode colors. Always use CSS variables via Tailwind:
// Backgrounds
<div className="bg-background"> // Main background
<div className="bg-card"> // Card background
<div className="bg-muted"> // Subtle background
<div className="bg-primary"> // Primary action background
<div className="bg-secondary"> // Secondary background
<div className="bg-destructive"> // Error/danger background
// Text
<p className="text-foreground"> // Primary text
<p className="text-muted-foreground"> // Secondary/subtle text
<p className="text-primary"> // Accent text
<p className="text-destructive"> // Error text
// Borders
<div className="border-border"> // Standard border
<div className="border-input"> // Input border
<div className="ring-ring"> // Focus ring
// Interactive states
<button className="bg-primary hover:bg-primary/90">
<button className="bg-secondary hover:bg-secondary/80">
// NEVER do this
<div className="bg-[#E11D48]"> // Hardcoded hex
<div className="bg-rose-500"> // Tailwind default color
<div className="text-gray-900"> // Not from theme
<div style={{ color: '#333' }}> // Inline style
When generating ANY UI component:
// Always use theme colors
<Button className="bg-primary text-primary-foreground hover:bg-primary/90">
Primary Action
</Button>
<Button variant="secondary" className="bg-secondary text-secondary-foreground">
Secondary
</Button>
<Button variant="destructive" className="bg-destructive text-destructive-foreground">
Delete
</Button>
<Button variant="outline" className="border-border bg-background hover:bg-accent">
Outline
</Button>
<Card className="bg-card text-card-foreground border-border">
<CardHeader>
<CardTitle className="text-foreground">Title</CardTitle>
<CardDescription className="text-muted-foreground">Description</CardDescription>
</CardHeader>
<CardContent>
Content with <span className="text-primary">accent</span> color
</CardContent>
</Card>
<form className="space-y-4">
<div>
<Label className="text-foreground">Email</Label>
<Input
className="border-input bg-background focus:ring-ring"
placeholder="Enter email"
/>
</div>
<Button className="bg-primary text-primary-foreground">
Submit
</Button>
</form>
<nav className="bg-background border-b border-border">
<div className="flex items-center gap-4">
<a className="text-foreground hover:text-primary">Home</a>
<a className="text-muted-foreground hover:text-foreground">About</a>
<a className="text-muted-foreground hover:text-foreground">Contact</a>
</div>
</nav>
// Success - use primary or custom success color
<Alert className="bg-primary/10 text-primary border-primary">
<CheckIcon className="text-primary" />
<AlertDescription>Success message</AlertDescription>
</Alert>
// Error - use destructive
<Alert className="bg-destructive/10 text-destructive border-destructive">
<XIcon className="text-destructive" />
<AlertDescription>Error message</AlertDescription>
</Alert>
// Info - use muted
<Alert className="bg-muted text-muted-foreground border-border">
<InfoIcon />
<AlertDescription>Info message</AlertDescription>
</Alert>
Theme CSS includes .dark class overrides. Just ensure:
// This automatically works - colors swap in dark mode
<div className="bg-background text-foreground">
Content adapts to light/dark automatically
</div>
// For dark mode toggle
<button onClick={() => document.documentElement.classList.toggle('dark')}>
Toggle Dark Mode
</button>
Use theme's radius value via CSS variable:
// These use --radius from theme
<div className="rounded-lg"> // var(--radius)
<div className="rounded-md"> // calc(var(--radius) - 2px)
<div className="rounded-sm"> // calc(var(--radius) - 4px)
Before generating ANY UI code, mentally check:
.omgkit/design/theme.json if existsIf you catch yourself writing:
bg-blue-500 → Change to bg-primarytext-gray-600 → Change to text-muted-foregroundborder-gray-200 → Change to border-border#E11D48 → Change to CSS variable referenceshadcn/ui components automatically use CSS variables:
// These already use theme colors
import { Button } from "@/components/ui/button"
import { Card } from "@/components/ui/card"
import { Input } from "@/components/ui/input"
// Just use them - they read from theme.css
<Button>Uses --primary automatically</Button>
<Card>Uses --card automatically</Card>
<Input /> // Uses --input, --border, --ring automatically
The Golden Rule: If you're writing a color class, it MUST be one of:
bg-{background|foreground|card|popover|primary|secondary|muted|accent|destructive|border|input|ring}text-{foreground|card-foreground|popover-foreground|primary-foreground|secondary-foreground|muted-foreground|accent-foreground|destructive-foreground}border-{border|input|ring}bg-primary/90, text-muted-foreground/80NO EXCEPTIONS.