🎯

ln-114-frontend-docs-creator

🎯Skill

from levnikolaevich/claude-code-skills

VibeIndex|
What it does

Generates design guidelines documentation for frontend projects with WCAG 2.1 compliance when a frontend framework is detected.

πŸ“¦

Part of

levnikolaevich/claude-code-skills(85 items)

ln-114-frontend-docs-creator

Installation

Claude CodeAdd plugin in Claude Code
/plugin add levnikolaevich/claude-code-skills
git cloneClone repository
git clone https://github.com/levnikolaevich/claude-code-skills.git ~/.claude/skills
πŸ“– Extracted from docs: levnikolaevich/claude-code-skills
14Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Creates design_guidelines.md for frontend projects. L3 Worker invoked CONDITIONALLY when hasFrontend detected.

Overview

# Frontend Documentation Creator

L3 Worker that creates design_guidelines.md. CONDITIONAL - only invoked when project has frontend.

Purpose & Scope

  • Creates design_guidelines.md (if hasFrontend)
  • Receives Context Store from ln-110-project-docs-coordinator
  • WCAG 2.1 Level AA accessibility compliance
  • Design system documentation
  • Never gathers context itself; uses coordinator input

Invocation (who/when)

  • ln-110-project-docs-coordinator: CONDITIONALLY invoked when:

- hasFrontend=true (react, vue, angular, svelte detected)

  • Never called directly by users

Inputs

From coordinator:

  • contextStore: Context Store with frontend-specific data

- DESIGN_SYSTEM (Material-UI, Ant Design, custom)

- COLOR_PALETTE (primary, secondary, accent)

- TYPOGRAPHY (font families, sizes, weights)

- COMPONENT_LIBRARY (detected components)

  • targetDir: Project root directory
  • flags: { hasFrontend }

Documents Created (1, conditional)

| File | Condition | Questions | Auto-Discovery |

|------|-----------|-----------|----------------|

| docs/project/design_guidelines.md | hasFrontend | Q43-Q45 | Low |

Workflow

Phase 1: Check Conditions

  1. Parse flags from coordinator
  2. If !hasFrontend: return early with empty result

Phase 2: Create Document

  1. Check if file exists (idempotent)
  2. If exists: skip with log
  3. If not exists:

- Copy template

- Replace placeholders with Context Store values

- Populate design system section

- Mark [TBD: X] for missing data

Phase 3: Self-Validate

  1. Check SCOPE tag
  2. Validate sections:

- Design System (component library)

- Typography (font families, sizes)

- Colors (hex codes, semantic colors)

  1. Check WCAG 2.1 references
  2. Check Maintenance section

Phase 4: Return Status

```json

{

"created": ["docs/project/design_guidelines.md"],

"skipped": [],

"tbd_count": 1,

"validation": "OK"

}

```

Critical Notes

Core Rules

  • Conditional: Skip entirely if no frontend detected
  • WCAG compliance: Document must reference accessibility standards
  • Design tokens: Extract from CSS variables, tailwind config, or theme files
  • Idempotent: Never overwrite existing files

NO_CODE_EXAMPLES Rule (MANDATORY)

Design guidelines document visual standards, NOT code:

  • FORBIDDEN: CSS code blocks, component implementations
  • ALLOWED: Tables (colors, typography), design tokens, Figma links
  • INSTEAD OF CODE: "See [Component Library](link)" or "See src/components/Button.tsx"

Stack Adaptation Rule (MANDATORY)

  • Link to correct component library docs (MUI for React, Vuetify for Vue)
  • Reference framework-specific patterns (React hooks, Vue composition API)
  • Never mix stack references (no React examples in Vue project)

Format Priority (MANDATORY)

Tables (colors, typography, spacing) > Lists (component inventory) > Text

Definition of Done

  • Condition checked (hasFrontend)
  • Document created if applicable
  • Design system, typography, colors documented
  • WCAG references included
  • Status returned to coordinator

Reference Files

  • Templates: references/templates/design_guidelines_template.md
  • Questions: references/questions_frontend.md (Q43-Q45)

---

Version: 1.1.0 (Added NO_CODE, Stack Adaptation, Format Priority rules)

Last Updated: 2025-01-12

More from this repository10

πŸͺ
levnikolaevich-claude-code-skillsπŸͺMarketplace

Official marketplace for Agile Linear Workflow plugin - complete end-to-end automation for software development teams using Linear. Includes 7XX Project Bootstrap series for technology-agnostic project migration.

🎯
ln-110-project-docs-coordinator🎯Skill

Coordinates project documentation by gathering context once, detecting project type, and delegating document creation to 5 specialized workers.

🎯
ln-140-test-docs-creator🎯Skill

Generates comprehensive test documentation with testing strategy and test organization structure for software projects.

🎯
ln-115-devops-docs-creator🎯Skill

Generates a comprehensive runbook.md for DevOps setup, dynamically tailored to project's Docker configuration and deployment specifics.

🎯
ln-113-backend-docs-creator🎯Skill

Generates backend documentation files (API spec and database schema) automatically when backend or database technologies are detected in a project.

🎯
ln-610-code-comments-auditor🎯Skill

Audits code comments and docstrings across 6 quality categories, generating a comprehensive compliance score and actionable recommendations for improvement.

🎯
ln-772-error-handler-setup🎯Skill

Configures global exception handling middleware for .NET and Python backend applications with standardized error responses.

🎯
ln-626-dead-code-auditor🎯Skill

Identifies and reports dead, unused, and legacy code across the codebase, generating a comprehensive audit with compliance scoring.

🎯
ln-111-root-docs-creator🎯Skill

Generates standardized root documentation files for a project using templates and context-specific data from a coordinator.

🎯
ln-120-reference-docs-creator🎯Skill

Generates reference documentation structure and smart documents for project tech stack, creating only justified architectural decision records and guides.