no comment banners

Remove decorative horizontal rule banners from JavaScript and TypeScript comments.

3|2|Updated May 12, 2026
One-click install
npx skills add https://github.com/kriscendobot/garden --skill no-comment-banners
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: no comment banners
Source: https://github.com/kriscendobot/garden/tree/main/skills/no-comment-banners
Command: npx skills add https://github.com/kriscendobot/garden --skill no-comment-banners

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill eliminates visual noise in source code caused by decorative horizontal rule banners in comments, which often become inconsistent and messy when edited by humans.

Core Features & Use Cases

  • Automated Detection: Identifies banner-style comment lines using repeated punctuation characters like dashes, equals, or asterisks.
  • Intelligent Cleanup: Automatically removes decorative rules while preserving section titles as clean, readable comments.
  • Use Case: When working on a large codebase, this skill ensures that all files you touch remain free of machine-generated decorative clutter, maintaining a consistent and professional code style.

Quick Start

Ask the garden to sweep the current file for any decorative comment banners and remove them.

Frequently Asked Questions about no comment banners

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

FAQPage Schema
How do I automatically remove decorative comment banners from JavaScript code?

You can automatically remove decorative comment banners from JavaScript by using regex-based pattern matching to detect repeated punctuation and prune non-prose decorations during a gardening loop. This preserves essential section headers while stripping visual noise.

What is the best way to prevent stylistic drift from comment banners in TypeScript files?

The best way to prevent stylistic drift from comment banners in TypeScript files is to enforce a pre-push gate that detects and prunes decorative horizontal rules. This ensures files remain free of machine-generated clutter before changes are merged.

Can I clean up code style by removing horizontal rule comments without losing section titles?

Yes, you can clean up code style by removing horizontal rule comments without losing section titles. Intelligent cleanup logic detects decorative lines using repeated dashes or asterisks and removes them while preserving readable section titles as standard comments.

Does this comment cleanup approach work with both JavaScript and TypeScript files?

Yes, this comment cleanup approach works with both JavaScript and TypeScript files. It operates uniformly across both file types to identify and remove decorative horizontal rule banners, maintaining consistent source code formatting throughout your project.

What are the limitations of using regex pattern matching to detect decorative code comments?

The limitation of using regex pattern matching to detect decorative code comments is that it specifically targets horizontal rule banners using repeated punctuation. It may not catch unconventional decorative patterns or complex block comment styling that deviates from standard repeated character formatting.