code-style

Apply and check Klang project code style rules across multiple languages.

3|1|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/PeekAndPoke/klang --skill code-style-peekandpoke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-style
Source: https://github.com/PeekAndPoke/klang/tree/main/.claude/skills/code-style
Command: npx skills add https://github.com/PeekAndPoke/klang --skill code-style-peekandpoke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that code adheres to the established coding style rules of the Klang project, promoting consistency and maintainability across the codebase.

Core Features & Use Cases

  • Rule Enforcement: Applies specific coding conventions to maintain uniformity.
  • Code Quality: Helps in writing cleaner, more readable, and less error-prone code.
  • Use Case: When reviewing a pull request, use this Skill to verify that all new code follows the project's established curly brace and formatting guidelines.

Quick Start

Apply the code style rules to the provided Kotlin code snippet.

Frequently Asked Questions about code-style

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

FAQPage Schema
How do I enforce consistent code style for Kotlin in my project?

To enforce consistent Kotlin code style, apply automated linting and formatting rules that require mandatory curly braces for all control flow statements, ensuring readability and maintainability across the codebase.

What are common Kotlin code style conventions for control flow statements?

Common Kotlin code style conventions mandate the use of curly braces for all control flow statements to prevent errors and maintain uniform formatting across multiple programming languages within a project.

How do I check code formatting rules during a pull request review?

Check code formatting rules during a pull request review by applying style enforcement tools to verify that new code follows established project guidelines, ensuring cleaner and less error-prone contributions.

Does this code style enforcement work with multiple programming languages?

Yes, this code style enforcement supports maintaining code quality and readability across multiple programming languages within the project, applying specific conventions like mandatory curly braces universally.

When do I need to apply code style rules to a code snippet?

You need to apply code style rules to a code snippet when you want to verify it meets established project conventions, such as requiring curly braces, to maintain consistency before merging changes.