<< All versions

Skill v1.0.1

currentAutomated scan100/100
monkilabs/opencastle/project-consistency

+2 new

──Details
PublishedAugust 29, 2026 at 06:37 AM
Content Hashsha256:13b084b13a305e2d...
Git SHAf297837635b1
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.5 KB)
SKILL.md2.5 KBactive
SKILL.md · 82 lines · 2.5 KB

version: "1.0.1" name: project-consistency description: "Generates shared CSS variables, validates component naming conventions, creates layout pattern templates. Use when coordinating design system, theme, consistent styling, CSS variables, or component library across parallel agents."


Project Consistency

Produce shared artifacts and automated checks before parallel work begins.

Foundation-First Principle

Phase 1 (sequential): foundation-setup creates tokens, Layout, UI library, style guide brief. Phase 2 (parallel): every page task imports from Phase 1 — no new tokens, no duplicated components.

Foundation Artifacts & Page Rules

ArtifactPathPage Agent Rules
Design tokenssrc/styles/tokens.cssImport only. Never introduce new color/font/spacing values.
Shared layoutsrc/components/Layout.tsx / Layout.astroWrap every page. Never recreate.
UI componentssrc/components/ui/Import from library. PascalCase components, camelCase props.
Style guide briefInline in promptsMatch tone + terminology exactly. Follow heading hierarchy.

Validation checkpoints:

  1. Foundation complete: tokens.css has all palette/type/spacing vars, Layout renders, UI components compile.
  2. Per-page: grep -rF 'style={{' src/pages/ returns 0 hits (no inline styles). All imports resolve.

Convoy Integration

Include these 5 Foundation References in every page prompt:

1. Design tokens path 2. Layout path 3. UI components path
4. Aesthetic direction 5. Content tone

Prompt templates: see TEMPLATES.md.


Example: src/styles/tokens.css

css
:root {
/* Palette */
--color-bg: #ffffff;
--color-foreground: #0f172a;
--color-primary: #0ea5e9;
--color-primary-600: #0284c7;
/* Typography */
--font-base: Inter, system-ui, -apple-system, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
/* Spacing */
--space-1: 4px;
--space-2: 8px;
--space-3: 16px;
/* Radius */
--radius-sm: 6px;
--radius-md: 12px;
}

UI components consume these vars only — e.g. bg-[var(--color-primary)], never a literal hex.


Anti-Patterns

Anti-patternFix
Agents pick their own fonts/colorsFoundation creates tokens first
Copy-pasting Button between pagesImport from shared library
Inline style={{ color: '#...' }}CSS class with token variable
Foundation and page tasks run in parallelFoundation phase must fully complete first
← v1.0.0All versions