agentskills.codes
CH

check-spacing

Detect and report blank-line spacing violations between consecutive

Install

mkdir -p .claude/skills/check-spacing && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15855" && unzip -o skill.zip -d .claude/skills/check-spacing && rm skill.zip

Installs to .claude/skills/check-spacing

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Detect and report blank-line spacing violations between consecutive
67 chars · catalog descriptionno explicit “when” trigger

About this skill

Check Spacing

Detect blank-line spacing violations between consecutive test() calls in test files.

Usage

node .github/skills/check_spacing/check_spacing.mjs <path/to/file.test.ts>

Rules enforced

Consecutive pairExpected gap
single-line → single-line0 (no blank line)
any other combination1 (exactly one blank line)

A test is single-line when the entire test(…) call ends with ); on the same line. Everything else is multi-line.

Output

  • No violations: No spacing violations found.
  • Violations found: one entry per violation showing the line range, the actual vs expected gap, and the test types involved.
VIOLATION L12→L15: gap=2 expected=1 (multi → single)
  line 10: test('#01 => status is "available"', () => {
  line 15: test('#02 => counter.count is 1', () => expect(counter.count).toBe(1));

1 violation(s) total.

When to use

Run this after editing or reorganising any *.test.ts file to ensure blank-line spacing between tests conforms to the project conventions (see .github/instructions/organize-tests.instructions.md § 3).

Fix every reported violation, then re-run until the output is No spacing violations found.

Search skills

Search the agent skills registry