code-style

Enforce code style consistency across Python and TypeScript projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/LannieYoo/gangwon-business-portal --skill code-style-lannieyoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-style
Source: https://github.com/LannieYoo/gangwon-business-portal/tree/main/.agent/skills/dev-code_style
Command: npx skills add https://github.com/LannieYoo/gangwon-business-portal --skill code-style-lannieyoo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining consistent code style and quality across a project, preventing common errors and improving readability.

Core Features & Use Cases

  • Automated Formatting: Applies consistent code formatting rules using tools like Ruff and Prettier.
  • Linting & Error Detection: Identifies and helps fix style violations, potential bugs, and anti-patterns.
  • Type Checking: Ensures type safety in Python and TypeScript codebases.
  • Pre-commit Hooks: Integrates checks into the commit process to catch issues early.
  • Use Case: Before committing code, run this Skill to automatically format Python and TypeScript files, lint for style errors, and perform type checks, ensuring all code adheres to project standards.

Quick Start

Use the code-style skill to automatically format and lint all Python and TypeScript files in the current directory.

Frequently Asked Questions about code-style

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

FAQPage Schema
How do I automate Python and TypeScript code formatting and linting before commits?

To automate code formatting and linting before commits, you can use pre-commit hooks integrated with tools like Ruff, Prettier, and ESLint. This Skill automatically formats files and detects style violations to ensure consistent code quality across your project.

What is the best way to enforce consistent code style across Python and TypeScript projects?

The best way to enforce consistent code style is to use automated linters and formatters like Ruff and Prettier. This Skill applies consistent formatting rules and performs type checking using mypy and ESLint to maintain readability and prevent errors.

Do I need pre-commit hooks to run Ruff and Prettier for code quality checks?

Pre-commit hooks are not strictly required to run Ruff and Prettier, but integrating checks into the commit process catches issues early. This Skill uses pre-commit hooks to automate code formatting, linting, and type checking before changes are committed.

Can I run type checking and linting together for Python and TypeScript codebases?

Yes, you can run type checking and linting together for Python and TypeScript codebases. This Skill uses mypy for Python type safety and ESLint for TypeScript, automatically identifying style violations, potential bugs, and anti-patterns across both languages.

Why does my pre-commit hook fail to catch style violations in Python files?

Pre-commit hooks fail to catch style violations when linters like Ruff are not properly configured or integrated. This Skill enforces code style consistency by automating Ruff and Prettier execution within the commit process to reliably detect and fix formatting issues.

How do I set up continuous code quality assurance for Python and TypeScript?

To set up continuous code quality assurance, integrate automated formatting, linting, and type checking into your commit workflow. This Skill uses pre-commit hooks with Ruff, Prettier, ESLint, and mypy to catch style errors and ensure all code adheres to project standards.