BeClaude

spacing-skill

New
1GitHub TrendingGeneralby buidangminh23

The Anti-Cramped Spacing Skill for AI Agents — one spacing scale, vertical rhythm, optical alignment, and density discipline. SKILL.md + Claude Code plugin.

First seen 6/21/2026

Summary

The Anti-Cramped Spacing Skill enforces consistent vertical rhythm, optical alignment, and density discipline in AI-generated code.

  • It helps developers maintain readable, well-spaced layouts across projects by applying a unified spacing scale and rules, reducing visual clutter and improving maintainability.

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/spacing-skill.md

3
Invoke with @agent-name
@spacing-skill

Use Cases

Enforce consistent vertical spacing between functions and classes in a Python codebase.
Automatically adjust indentation and line breaks in HTML/CSS to match a project's style guide.
Fix cramped or uneven spacing in JSON or YAML configuration files for better readability.
Apply optical alignment to multi-line conditionals and method chains in JavaScript.
Normalize spacing around operators and brackets in C++ or Java code during code review.
Ensure consistent density (compact vs. airy) across all files in a monorepo.

Usage Examples

1

/spacing-skill apply --scale 1.5 --style airy src/

2

Check and fix spacing in all Python files in the current directory using the anti-cramped rules.

3

Apply vertical rhythm and optical alignment to the entire project, skipping vendor folders.

View source on GitHub
agentplugin

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is spacing-skill?

The Anti-Cramped Spacing Skill enforces consistent vertical rhythm, optical alignment, and density discipline in AI-generated code. It helps developers maintain readable, well-spaced layouts across projects by applying a unified spacing scale and rules, reducing visual clutter and improving maintainability.

How to install spacing-skill?

To install spacing-skill: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/spacing-skill.md. Finally, @spacing-skill in Claude Code.

What is spacing-skill best for?

spacing-skill is a agent categorized under General. It is designed for: agent, plugin. Created by buidangminh23.

What can I use spacing-skill for?

spacing-skill is useful for: Enforce consistent vertical spacing between functions and classes in a Python codebase.; Automatically adjust indentation and line breaks in HTML/CSS to match a project's style guide.; Fix cramped or uneven spacing in JSON or YAML configuration files for better readability.; Apply optical alignment to multi-line conditionals and method chains in JavaScript.; Normalize spacing around operators and brackets in C++ or Java code during code review.; Ensure consistent density (compact vs. airy) across all files in a monorepo..