kyaulabs/prism/scss-mobile-first

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when writing or reviewing SCSS. Covers mobile-first design rules, responsive breakpoints, unit preferences, touch targets, and stylelint configuration.

Install

npx vskill@latest install kyaulabs/prism/scss-mobile-first

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Mobile-First Design Rules

All styling is developed mobile-first. This means:

  • Base styles target the smallest viewport (320px mobile)
  • Scale up with `min-width` media queries — never max-width for layout
  • Use min-width breakpoints: 768px (tablet), 1024px (desktop)
scss
// Correct — mobile-first
.container {
padding: 1rem;
@media (min-width: 768px) {
padding: 2rem;
}
}
// Wrong — desktop-first
.container {
padding: 2rem;
@media (max-width: 767px) {
padding: 1rem;
}
}

Units

  • Use rem, %, vw, vh, clamp() for layout and spacing
  • Avoid fixed px values for widths and margins
  • Use clamp() for fluid typography and spacing:
scss
font-size: clamp(1rem, 2.5vw, 1.5rem);
padding: clamp(1rem, 4vw, 2rem);
  • Avoid fixed px widths on layout containers — use max-width + responsive padding
  • Touch targets ≥ 44×44px — see the accessibility skill for the WCAG minimum and adjacent-target gap rule

Stylelint

Config: .stylelintrc.json Run through the launcher:

bash
node_modules/.bin/stylelint "cdn/sass/**/*.scss" --allow-empty-input

Stylelint runs automatically in the pre-commit hook on staged .scss files. Fix violations before committing — the hook blocks on failure.

SCSS Source Location

Edit files in cdn/sass/. Never edit cdn/css/*.min.css — those are generated.

Compile with the project-local tool:

bash
node_modules/.bin/sass --style=compressed cdn/sass/source.scss cdn/css/output.min.css

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kyaulabs/prism/scss-mobile-first/badge)](https://verified-skill.com/skills/kyaulabs/prism/scss-mobile-first)

Something wrong with this skill or its page? Tell us.