/lint-fix
Auto-fix all linting and formatting issues
> /plugin marketplace add CloudAI-X/claude-workflow-v2 > /plugin install project-starter@claude-workflow
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/lint-fix
Context preview
What this command does when you run it.
Auto-fix all linting and formatting issues
Command definition
lint-fix.mdallowed-tools: Bash(npm:*), Bash(npx:*), Bash(yarn:*), Bash(pnpm:*), Bash(bun:*), Bash(python:*), Bash(go:*), Bash(cargo:*) description: Auto-fix all linting and formatting issues argument-hint: "[optional file or directory path]"
Context
- Project root files (infer the project type and lint config from these): !`ls -a`
- Package scripts: !`cat package.json 2>/dev/null | grep -A 20 '"scripts"' | head -25 || echo "No package.json"`
- Staged files: !`git diff --name-only --cached 2>/dev/null`
- Files changed in the last commit: !`git diff --name-only HEAD~1 2>/dev/null | head -50`
Task
Auto-fix all linting and formatting issues:
1. Detect the project type and available linters 2. Run formatters first (Prettier, Black, gofmt, rustfmt) 3. Run linters with auto-fix enabled:
- JavaScript/TypeScript: `eslint --fix`
- Python: `ruff check --fix` or `black` + `isort`
- Go: `gofmt -w` + `go vet`
- Rust: `cargo fmt` + `cargo clippy --fix`
4. Report what was fixed 5. List any remaining issues that require manual attention
Scope: $ARGUMENTS
A universal Claude Code workflow plugin with specialized agents, skills, hooks, and mode commands for any software project. Compatible with skills.sh — works with Claude Code, Cursor, Codex, and 35+ AI agents.
Repo: CloudAI-X/claude-workflow-v2
Other commands on project-starter.
architect
System design and architecture planning mode. Focuses on high-level design, trade-offs, and…
bootstrap-repo
Explore the repository with 10 parallel subagents to create comprehensive documentation.…
code-simplifier
Simplifies code after implementation. Reviews recent changes and suggests/applies…
commit-push-pr
Commit staged changes, push to remote, and create a pull request

