forge-town/skills

forge_remove-comments

Use when 需要批量删除代码文件中的注释,支持 Python、JS、TS、TSX、Java、C/C++、Rust、Go、HTML 等主流编程语言。触发词:删除注释、?

Installation

$ npx skills add forge-town/skills --skill forge_remove-comments

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from forge-town/skills · top by installs.

npx skills add forge-town/skills

Browse all from forge-town/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 7
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 677 B
  • docs SUMMARY.md 255 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

代码注释删除器

使用说明

  1. 读取目标文件,识别编程语言
  2. 根据语言规则删除注释(详细规则与示例见 [references/examples.md](references/examples.md))
  3. 验证结果,确保无语法错误且代码逻辑未被破坏

重要原则: 保护字符串中的注释符号(如 URL http://);处理重要代码前先备份