Tighten — Code Quality skill for Claude Code
Scan a file, folder, or repo for high-confidence refactor wins that reduce complexity with minimal side effects.
How to install Tighten
Installs to ~/.claude/skills/jnelken-ai-tools-tighten/SKILL.md
mkdir -p ~/.claude/skills/jnelken-ai-tools-tighten && curl -fsSL https://raw.githubusercontent.com/jnelken/ai-tools/HEAD/commands/tighten.md -o ~/.claude/skills/jnelken-ai-tools-tighten/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Tighten does
description: Scan a file, folder, or repo for high-confidence refactor wins that reduce complexity with minimal side effects argument-hint: File path, folder path, or '.' for the whole repo
Tighten
Scan the target for a single clear, low-risk refactor win. Stop as soon as you find one high-confidence issue you can solve, fix it, and move on.
Log any other potential issues you notice along the way to the repo's tighten memory file for future runs.
Target
$ARGUMENTS (if empty, sc
Alternatives in Code Quality
- Refactor — We are about to refactor code 1.6k ★
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Repren — Power rename/refactor tool (now with Claude Code skill support 371 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fec TDD
Use front-end TDD workflow to implement functions, fix bugs, or refactor logic: first write failing tests, the
iOS Clean Code Skills
Clean Code skills for Swift / iOS projects based on Robert Martin's Clean Code and G. Ann Campbell's Cognitive
Pi Code Review
Adversarial code review via Codex — break confidence in changes, not validate them
Symfony TDD Pest
Start a TDD workflow using Pest PHP for Symfony with RED-GREEN-REFACTOR cycle
Symfony TDD Phpunit
Start a TDD workflow using PHPUnit for Symfony with RED-GREEN-REFACTOR cycle
Htmlstyleguides 3qh
Refactor fencing video to use StickFight.attack() and contact-driven sparks
Related Agents
Refactor Scout
Scan code for structural health - code smells, duplication, complexity hotspots, and refactoring opportunities
Optimist
Steel-mans the upside of an idea. Names the specific wins if it works, the compounding effects, the second-ord
Python Complexity Reducer
Production-grade Python complexity reduction specialist using radon to reduce cyclomatic complexity from 20 to