coding-style

Define and enforce unified coding standards for Vue and TypeScript projects.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/DevXoje/gerocare --skill coding-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-style
Source: https://github.com/DevXoje/gerocare/tree/main/.cursor/skills/coding-style
Command: npx skills add https://github.com/DevXoje/gerocare --skill coding-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The coding-style skill codifies a shared set of standards and patterns to prevent style drift, reduce cognitive load during reviews, and speed up development by providing a single source of truth for formatting, naming, and structural decisions.

Core Features & Use Cases

  • Consistent formatting and line-length across TypeScript and Vue code.
  • Standardized naming conventions for files, variables, types, and functions.
  • Guidelines for imports, component structure, and CSS scoping.
  • Decision trees for common patterns (ternaries vs if/else, early returns) to reduce mental overhead.
  • Tooling alignment with Prettier, ESLint, and EditorConfig to enforce rules.

Quick Start

Refactor the given Vue/TypeScript files to comply with the coding-style guidelines and apply the recommended tooling.

Frequently Asked Questions about coding-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a consistent TypeScript and Vue coding style across my codebase?

You can enforce a unified coding standard by applying concrete requirements for formatting, naming, and component structure. This skill codifies these standards to prevent style drift and reduce cognitive load during Vue and TypeScript code reviews.

What's the best way to standardize naming conventions and imports in Vue and TypeScript projects?

The best way to standardize naming and imports is to use a single source of truth for structural decisions. This skill specifies concrete requirements for file, variable, and type naming, alongside import guidelines, to speed up development and reduce mental overhead.

Can I align my coding style guidelines with Prettier, ESLint, and EditorConfig?

Yes, you can align your coding style guidelines with these tools. This skill provides tooling alignment with Prettier, ESLint, and EditorConfig to automatically enforce the formatting, line-length, and structural rules across your codebase.

Does this coding style skill provide decision trees for TypeScript patterns like ternaries vs if/else?

Yes, this coding style skill provides decision trees for common patterns like ternaries versus if/else and early returns. These decision trees reduce mental overhead by standardizing structural choices during refactoring and new feature development.

How do I refactor existing Vue and TypeScript files to comply with a unified coding standard?

To refactor existing files, you apply the skill's guidelines for consistent formatting, CSS scoping, and component structure to your code. This ensures that both new features and refactored utilities comply with the shared codebase standard.