Agent skill

Comment Layout And Formatting

by kitchen-engineer42 in kitchen-engineer42/pdf2skills

Apply proper indentation and spacing rules to code comments to enhance readability and maintain code visual structure.

No licenceAuto-check passedDevelopment

Install Comment Layout And Formatting

skills CLI
$ npx skills add kitchen-engineer42/pdf2skills --skill comment-layout-and-formatting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kitchen-engineer42/pdf2skills comment-layout-and-formatting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kitchen-engineer42/pdf2skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'skills_samples/Steve McConnell Code Complete A Practical Handbook of Software Construction_output/comment-layout-and-formatting' .claude/skills/comment-layout-and-formatting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
comment-layout-and-formatting
GitHub stars
134
Token cost
~408 tokens
SKILL.md length
188 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
None found

At a glance

Apply proper indentation and spacing rules to code comments to enhance readability and maintain code visual structure.

  • Works in 3 steps: Align comments with the code they… → Ensure comments do not obscure the… → Maintain visual hierarchy to help…
  • Formatting comments within code blocks
  • SKILL.md covers Comment Indentation, Comment Spacing and Result
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Comment Layout And Formatting is an agent skill from kitchen-engineer42/pdf2skills. Apply proper indentation and spacing rules to code comments to enhance readability and maintain code visual structure. Use when writing or formatting comments within code blocks, or when establishing code style guidelines.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation and Plain language and style rules. The repository describes itself as: Convert a book into skills directly callable to Claude Code.

When your agent uses it

  • Formatting comments within code blocks
  • Establishing code style guidelines

Example prompts

  • “/comment-layout-and-formatting”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Align comments with the code they describe using the same indentation level
  2. Ensure comments do not obscure the visual indentation structure of the code
  3. Maintain visual hierarchy to help readers understand program logic structure

What it can do on your machine

Read from SKILL.md and the folder at commit 0d70065. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Comment Layout And Formatting loads about 408 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 188 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~408

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 188 words (~408 tokens).

“Apply these rules to ensure comments enhance rather than disrupt code readability.”

— opening of SKILL.md by kitchen-engineer42
name
comment-layout-and-formatting

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills_samples/Steve McConnell Code Complete A Practical Handbook of Software Construction_output/comment-layout-and-formatting of kitchen-engineer42/pdf2skills.

Open the folder on GitHubat commit 0d70065

Compare with similar skills

Comment Layout And Formatting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Comment Layout And Formatting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Comment Layout And Formatting this skillkitchen-engineer42/pdf2skills134—~408Automated safety check: PassNone
Agent Stylepchalasani/claude-code-tools2k—~1.4kAutomated safety check: PassMIT
Content Modelguardana/guardana129—~1.2kAutomated safety check: PassApache-2.0
Tabler Docs Writertabler/tabler42k—~2.5kAutomated safety check: PassMIT
Writing Guidelinesrohitg00/pro-workflow2.9k—~593Automated safety check: PassNone
Understandsmallnest/goal-workflow289—~1.1kAutomated safety check: PassMIT

Similar skills

  • Agent Style

    pchalasani/claude-code-tools

    Literature-backed English technical-prose writing rules (agent-style, 21 rules).

    2k GitHub stars~1.4k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Content Model

    guardana/guardana

    Route wording work to GPT (codex CLI) or Gemini (agy CLI) instead of writing it with Claude — landing-page copy, a readability rewrite of a README or docs page, attack and judge prompts for a rule…

    129 GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Tabler Docs Writer

    tabler/tabler

    Writes and updates Tabler documentation pages in simple English following the repository's page schema, and flags new components that have no docs yet.

    42k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Writing Guidelines

    rohitg00/pro-workflow

    Apply clear-writing standards to any prose the agent produces - READMEs, docs, UI copy, error messages, commit and PR text, release notes.

    2.9k GitHub stars~593 tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Understand

    smallnest/goal-workflow

    Review and understand freshly AI-generated code. An agent skill from smallnest/goal-workflow.

    289 GitHub stars~1.1k tokensUpdated 25 days ago
    DevelopmentAuto-check passed
  • Official

    Sets the voice and word choices for any text a person reads in PostHog: UI labels, buttons, tooltips, empty and error states, notifications, in-app messages, onboarding, docs, and support replies.

    40k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from kitchen-engineer42/pdf2skills

All 21 skills in this repo
  • Code Commenting Strategy

    kitchen-engineer42/pdf2skills

    Apply strategic approaches to code commenting including when to comment, optimal comment density, performance considerations, and integration with development workflow.

    134 GitHub stars~894 tokensUpdated 7 mo ago
    Auto-check passed
  • Software Engineering Standards

    kitchen-engineer42/pdf2skills

    Reference and apply IEEE, ISO/IEC, and other software engineering standards for development, quality assurance, and project management.

    134 GitHub stars~921 tokensUpdated 7 mo ago
    Auto-check passed
  • Software Engineering Standards Reference

    kitchen-engineer42/pdf2skills

    A skill your agent uses when you need to reference, cite, or apply software engineering standards.

    134 GitHub stars~681 tokensUpdated 7 mo ago
    Auto-check passed
  • Complex Conditional Refactoring

    kitchen-engineer42/pdf2skills

    Refactor complex case statements and deeply nested code using appropriate strategies.

    134 GitHub stars~679 tokensUpdated 7 mo ago
    Auto-check passed
  • Pseudocode Programming Process

    kitchen-engineer42/pdf2skills

    A skill your agent uses when implementing complex logic, developing functions, or designing algorithms.

    134 GitHub stars~516 tokensUpdated 7 mo ago
    Auto-check passed
  • Class Organization And Layout

    kitchen-engineer42/pdf2skills

    Organize class members in standard order, separate classes with blank lines, and maintain one-class-per-file structure.

    134 GitHub stars~626 tokensUpdated 7 mo ago
    Auto-check passed

Questions about Comment Layout And Formatting

What does Comment Layout And Formatting do?

Apply proper indentation and spacing rules to code comments to enhance readability and maintain code visual structure. Comment Layout And Formatting is an agent skill from kitchen-engineer42/pdf2skills. Apply proper indentation and spacing rules to code comments to enhance readability and maintain code visual structure.

When should I use Comment Layout And Formatting?

Comment Layout And Formatting fits situations like: formatting comments within code blocks; establishing code style guidelines.

How do I install Comment Layout And Formatting in Claude Code?

Run `npx skills add kitchen-engineer42/pdf2skills --skill comment-layout-and-formatting -a claude-code`. Or copy the skill folder (skills_samples/Steve McConnell Code Complete A Practical Handbook of Software Construction_output/comment-layout-and-formatting in kitchen-engineer42/pdf2skills) into .claude/skills/comment-layout-and-formatting in your project. Claude Code loads it when a task matches its description.

How do I install Comment Layout And Formatting in Codex?

Run `npx skills add kitchen-engineer42/pdf2skills --skill comment-layout-and-formatting -a codex`. Or copy the skill folder (skills_samples/Steve McConnell Code Complete A Practical Handbook of Software Construction_output/comment-layout-and-formatting in kitchen-engineer42/pdf2skills) into .agents/skills/comment-layout-and-formatting in your project. Codex loads it when a task matches its description.

Can I use Comment Layout And Formatting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kitchen-engineer42/pdf2skills --skill comment-layout-and-formatting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/comment-layout-and-formatting, .gemini/skills/comment-layout-and-formatting, .github/skills/comment-layout-and-formatting and .opencode/skills/comment-layout-and-formatting in your project.

What does Comment Layout And Formatting need to run?

SKILL.md names no scripts, command-line tools or credentials: Comment Layout And Formatting is instructions for the agent only.

Does Comment Layout And Formatting access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Comment Layout And Formatting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Comment Layout And Formatting use?

No licence was found for Comment Layout And Formatting or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Comment Layout And Formatting use?

About 408 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Comment Layout And Formatting?

Skills that share tags, products or a category with Comment Layout And Formatting: Agent Style (pchalasani/claude-code-tools, 2k stars), Content Model (guardana/guardana, 129 stars), Tabler Docs Writer (tabler/tabler, 42k stars) and Writing Guidelines (rohitg00/pro-workflow, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Comment Layout And Formatting?

kitchen-engineer42 (a GitHub user) maintains it in kitchen-engineer42/pdf2skills, which has 134 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on February 24, 2026.

Source: kitchen-engineer42/pdf2skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.