agentsclimarketplace

Vue style guide

Skill Pancake-Q/claude-plugin-frontend/skills/vue-style-guide

Frontend code organizer for Vue 3 / Nuxt 3 / React / Next.js projects. Auto-invoke during code review, PR review, refactor, and any "check my code" request to enforce script block ordering, naming conventions, component patterns, and directory structure rules. Also invoke when the user explicitly asks to organize / reorganize / restructure project layout. Scans project structure, diagnoses issues (including script setup variable ordering), proposes fixes, and executes after confirmation.From its SKILL.md

Install
npx -y skills add Pancake-Q/claude-plugin-frontend --skill vue-style-guide

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.0 KB, as published. Nobody here has run it

Analyze, diagnose, and reorganize frontend project directory structures. Also serves as the canonical reference for coding conventions and best practices across Vue 3/Nuxt 3, React/Next.js, TypeScript, and multiple styling approaches.

Focused on Vue 3 / Nuxt 3 projects. React / Next.js supported as reference.

Preferences

  • Always use Composition API with <script setup lang="ts">
  • Prefer TypeScript over JavaScript — never use any
  • Single file ≤ 500 lines, single function ≤ 50 lines
  • Extract when duplicated > 3 times
  • No deprecated or experimental APIs
  • Pick one styling approach and stick with it

Organization Workflow

TopicDescriptionReference
Scan & DiagnoseDetect framework, scan directory tree, produce diagnostic reportorganization-workflow
Standard StructuresNuxt 3 and Vue 3 (Vite) canonical directory templatesstandard-structures
Common IssuesMisplaced files, naming violations, excessive nesting, missing directoriescommon-issues

Coding Conventions

TopicDescriptionReference
Naming ConventionsFile naming, variable naming, conflict resolution (Type suffix pattern)naming-conventions
Component PatternsVue 3 and React component structure templates, extraction rulescomponent-patterns
TypeScript & StylingTypeScript rules, SCSS/BEM, Tailwind, CSS-in-JS, CSS Modulestypescript-and-styling
Refactoring & QualityRefactoring workflow, quality checks, git commit conventionsrefactoring-and-quality

Quick Reference

Component Directory Layout

components/
├── common/      # Reusable UI (buttons, cards, tags)
├── layout/      # Page structure (header, footer, sidebar)
├── business/    # Domain-specific (news card, paper card)
└── form/        # Form-related (search bar, filters)

Quality Checks

pnpm lint:fix      # Auto-fix formatting
pnpm type-check    # TypeScript errors
pnpm test          # Tests (if available)

Git Commit Convention

<type>(<scope>): <subject>

feat | fix | docs | style | refactor | perf | test | chore

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.