ddd:setup-code-formating

Configure JavaScript and TypeScript formatting rules in CLAUDE.md.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/kennyolofsson23-netizen/claude-code-config --skill ddd-setup-code-formating-kennyolofsson23-netizen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ddd:setup-code-formating
Source: https://github.com/kennyolofsson23-netizen/claude-code-config/tree/main/skills/ddd/setup-code-formating
Command: npx skills add https://github.com/kennyolofsson23-netizen/claude-code-config --skill ddd-setup-code-formating-kennyolofsson23-netizen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent or undocumented code styles across a repository cause merge conflicts, review friction, and unpredictable formatting. This Skill standardizes the project's style by creating or updating CLAUDE.md with explicit formatting rules so every contributor follows the same conventions.

Core Features & Use Cases

  • Create or update CLAUDE.md with a canonical code style reference for the project.
  • Enforce specific style choices: no semicolons, single quotes, no unnecessary curly braces, 2-space indentation, and import ordering.
  • Use Cases: onboarding new developers, improving code review consistency, and integrating with automated hooks or linters.

Quick Start

Create or update CLAUDE.md with the standard code style rules: no semicolons, single quotes, no unnecessary curly braces, 2-space indentation, and import order external → internal → types.

Frequently Asked Questions about ddd:setup-code-formating

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

FAQPage Schema
How do I enforce consistent code formatting rules in a JavaScript repository?

Setting up code formatting in a CLAUDE.md file enforces rules like no semicolons, single quotes, 2-space indentation, and import ordering. This creates a canonical style reference for JavaScript and TypeScript projects.

How do I configure import order for external, internal, and type imports?

You can configure import order by adding a specific rule to your CLAUDE.md file. This specifies that imports should be ordered external first, then internal, and finally types, ensuring consistent module loading syntax across the repository.

Does this code style guide work for both JavaScript and TypeScript projects?

Yes, this code formatting configuration works for both JavaScript and TypeScript projects. It updates CLAUDE.md with rules like no unnecessary curly braces and specific import ordering to standardize repository configuration.

What is the best way to document code style for new developer onboarding?

The best way to document code style for onboarding is creating a CLAUDE.md file with explicit rules. Specifying conventions like no semicolons, single quotes, and 2-space indentation ensures new developers follow the same formatting standards.

Can I integrate CLAUDE.md formatting rules with automated linters and hooks?

Yes, CLAUDE.md formatting rules can integrate with automated hooks or linters. By defining rules like no semicolons and specific import ordering, you establish a reference for automated formatting enforcement across your projects.