Unfuck AI Comments — AI skill for Claude Code
converts all comments inside go functions to lowercase.
How to install Unfuck AI Comments
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open umputun/unfuck-ai-comments and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Unfuck AI Comments does
converts all comments inside go functions to lowercase.
Alternatives in AI
- AGENTS.md - Skill Seekers — Concise reference for AI coding agents 11.1k ★
- Auto Re Agent — Open-source AI reverse-engineering agent using Ghidra and LLMs to reconstruct and validate C/C++ functions fro 1.4k ★
- Claude To ChatGPT — This project converts the API of Anthropic's Claude model to the OpenAI Chat API format 1.3k ★
README
unfuck-ai-comments [](https://github.com/umputun/unfuck-ai-comments/actions/workflows/ci.yml) [](https://coveralls.io/github/umputun/unfuck-ai-comments?branch=master)
A simple CLI tool that converts all comments inside Go functions and structs to lowercase while preserving comments for packages and function definitions, as well as special indicator comments like TODO and FIXME. This makes comments in code consistent and easier to read.
Motivation
Modern AI coding assistants like GitHub Copilot, Claude, and ChatGPT have become invaluable tools for many developers. However, they often generate code with inconsistent comment styling, including:
- ALL UPPERCASE comments for emphasis
- Initial Uppercase Words for pseudo-titles
- Mixed Case comments that Don't Follow conventions
For example:
func ProcessData(data []byte) error {
// CHECK FOR EMPTY INPUT
if len(data) == 0 {
return errors.New("empty data")
}
// Important: Validate Data Before Processing
if !isValid(data) {
return errors.New("invalid data format")
}
// This Function handles Multiple Formats
switch determineFormat(data) {
// Process Each Format differently
// ...
}
}
This inconsistent capitalization clashes with Go's conventional style where in-function comments typically use lowercase sentences. While these AI-generated comments are helpful in the moment, they create visual noise and inconsistency in codebases.
This tool automatically normalizes comments to match standard Go code conventions, ensuring your codebase maintains a consistent style regardless of whether the code was written by a human or generated by AI.
The tool is smart enough to preserve proper documentation comments (package comments and function
Related Skills
ClaudeSwitch
Native macOS utility for Claude Desktop 3P inference. Features HTTP/1.1 persistent keep-alive proxy, wire-mode
Code Agent
An AI Agent that operates on GitHub Actions. By using this action, you can directly invoke Coding Agent CLI fr
Md Redline
Inline review comments for markdown specs. Built-in MCP server hands feedback directly to your AI agent.
Review PR Comments
Triage and resolve AI or human GitHub PR review comments for the current branch.
Hn MCP
Hacker News MCP server for Claude Desktop & AI assistants. Browse HN stories, search posts, read comments, ana
Webframes
A native macOS workspace for web projects and AI coding agents: live pages on a canvas, DOM-aware comments, re
Related Agents
Halmos Verification
Converts structured invariant specifications into compilable Halmos symbolic test suites (.t.sol) that run ins
Python Local Imports Checker
Analyzes git unstaged changes to identify local imports (imports inside functions/methods) which are forbidden
Notifier
Writes one lane's ending to the outside world during an unattended /dev-loop run — swaps the issue's workflow