Css template

From reggiechan74/JobOps · View interactive version

Css template is an AI agent skill from the GitHub repository reggiechan74/JobOps. Manage CSS design system templates for landing pages - view, analyze, or create component libraries

How to use this skill

Skill file

Configuration

Read .jobops/config.json. If missing, stop with:

JOBOPS NOT CONFIGURED

Run /jobops:setup (then /jobops-ic:setup) to initialize your workspace.

Use config.directories.contractor_root for output paths in this skill.

Use config.preferences.default_currency for pricing if applicable.

Arguments

I'll help you manage the CSS design system templates for landing page development.

Default behavior (no arguments): List all available templates with summaries

Available CSS Templates

| Template | File | Description |

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

| tactical | ${CLAUDE_PLUGIN_ROOT}/styles/subpage-styles.css | Military/tech aesthetic with gradients, grid layouts, terminal displays |

| minimal | ${CLAUDE_PLUGIN_ROOT}/styles/minimal-styles.css | Clean, whitespace-focused, modern typography |

| corporate | ${CLAUDE_PLUGIN_ROOT}/styles/corporate-styles.css | Professional, conservative, enterprise-friendly |


Mode: View Templates (`--view`)

Tactical Template (`${CLAUDE_PLUGIN_ROOT}/styles/subpage-styles.css`)

Design Philosophy: Mission-critical, data-driven, technically sophisticated

Color Palette:

:root {
    --bg-dark: #0a0f1c;
    --bg-darker: #050810;
    --text-primary: #e0e6ed;
    --text-secondary: #8892a0;
    --accent: #4a9eff;
    --accent-secondary: #00d4aa;
    --border-color: #1a2234;
    --card-bg: #0d1424;
}

Key Components:

| Component | Class | Usage |

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

| Navigation | .nav, .nav-link, .nav-cta | Top navigation with CTA button |

| Hero | .hero, .hero-title, .hero-subtitle | Full-width gradient hero section |

| Content Sections | .content-section, .section-title | Standard content containers |

| Feature Grid | .feature-grid, .feature-item | 2-3 column benefit displays |

| Method Cards | .method-cards, .method-card | Step-by-step methodology |

| Pipeline Steps | .pipeline-steps, .pipeline-step | Linear process visualization |

| Terminal Display | .terminal-mini, .terminal-header | Code/command display |

| Scoring Grid | .scoring-grid, .score-item | Metrics and ratings |

| CTA Section | .cta-section, .cta-btn, .secondary-btn | Call-to-action blocks |

| Footer | .footer, .footer-links | Site footer |

Responsive Breakpoints:

Animation Features:


Mode: Analyze Template (`--analyze`)

When --analyze tactical (or other template) is specified:

Deep Analysis Process

  1. Read the CSS file completely

```

Read: ${CLAUDE_PLUGIN_ROOT}/styles/subpage-styles.css

```

  1. Extract Design System Variables
  1. Catalog All Components

For each component, document:

  1. Generate Component Usage Examples

```html

<!-- Feature Grid Example -->

<div class="feature-grid">

<div class="feature-item">

<div class="feature-icon">Icon</div>

<h3>Feature Title</h3>

<p>Feature description text</p>

</div>

<!-- Repeat for each feature -->

</div>

```

  1. Identify Extension Points
  1. Accessibility Audit

Analysis Output Format

# CSS Template Analysis: [Template Name]

## Design System Overview
- **Primary Color**: [hex] - Used for [components]
- **Accent Color**: [hex] - Used for [components]
- **Typography**: [font-stack] at [scale]

## Component Inventory
| Component | Classes | Variants | Responsive |
|-----------|---------|----------|------------|
| ...       | ...     | ...      | ...        |

## Usage Patterns
[Code examples for each major component]

## Extension Guidelines
[How to add new components while maintaining consistency]

## Accessibility Notes
[WCAG compliance status and recommendations]

Mode: Create Template (`--create`)

When --create [name] is specified:

Template Creation Process

  1. Define Design Direction

Gather requirements for the new template:

  1. Generate Base CSS Structure

Using the frontend-design skill, create a new CSS file with:

```css

/* ========================================

/* Variables */

:root {

/* Colors */

--bg-primary: [value];

--bg-secondary: [value];

--text-primary: [value];

--text-secondary: [value];

--accent: [value];

--accent-hover: [value];

/* Typography */

--font-heading: [stack];

--font-body: [stack];

--font-mono: [stack];

/* Spacing */

--space-xs: 0.25rem;

--space-sm: 0.5rem;

--space-md: 1rem;

--space-lg: 2rem;

--space-xl: 4rem;

/* Borders */

--radius-sm: 4px;

--radius-md: 8px;

--radius-lg: 16px;

/* Shadows */

--shadow-sm: [value];

--shadow-md: [value];

--shadow-lg: [value];

}

/* Base Styles */

body {

font-family: var(--font-body);

background: var(--bg-primary);

color: var(--text-primary);

line-height: 1.6;

}

/* Navigation */

.nav { ... }

/* Hero Section */

.hero { ... }

/* Content Sections */

.content-section { ... }

/* Feature Grid */

.feature-grid { ... }

/* Cards */

.card { ... }

/* CTA */

.cta-section { ... }

.cta-btn { ... }

/* Footer */

.footer { ... }

/* Responsive */

@media (max-width: 768px) { ... }

@media (max-width: 480px) { ... }

```

  1. Validate Template
  1. Save Template

Quick Reference: Common Patterns

Hero Section Pattern

<section class="hero">
    <div class="hero-content">
        <h1 class="hero-title">Main Headline</h1>
        <p class="hero-subtitle">Supporting subheadline with value prop</p>
        <div class="hero-cta">
            <a href="#" class="cta-btn">Primary Action</a>
            <a href="#" class="secondary-btn">Secondary Action</a>
        </div>
    </div>
</section>

Feature Grid Pattern

<section class="content-section">
    <h2 class="section-title">Benefits Section</h2>
    <div class="feature-grid">
        <div class="feature-item">
            <div class="feature-icon">[Icon/Emoji]</div>
            <h3>Benefit One</h3>
            <p>Description of benefit</p>
        </div>
        <!-- Repeat 2-3 more items -->
    </div>
</section>

CTA Section Pattern

<section class="cta-section">
    <h2>Ready to Get Started?</h2>
    <p>Supporting copy that reinforces value</p>
    <a href="#" class="cta-btn">Take Action Now</a>
</section>

Example Usage

# List all available templates
/landing-page:css-template

# View tactical template components
/landing-page:css-template --view tactical

# Deep analysis of the tactical template
/landing-page:css-template --analyze tactical

# Create a new minimal template
/landing-page:css-template --create saas-modern

# Create corporate template with specific requirements
/landing-page:css-template --create enterprise-clean

Now processing template operation: $ARGUMENTS...

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.