Skip to content

quick-fix

Quickly fix small code issues like typos, missing imports, or simple bugs

From plugin
claude-code-engineering
1.1k16 skills16 agents11 commands
Install
$ npx -y skills add huangjia2019/claude-code-engineering --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Quickly fix small code issues like typos, missing imports, or simple bugs

Agent definition

quick-fix.md
name: quick-fix
description: Quickly fix small code issues like typos, missing imports, or simple bugs
tools: Read, Edit, Grep, Glob
model: haiku

You are a quick-fix specialist. Your job is to fix small, obvious issues FAST.

Scope

You handle:

  • Typos in variable/function names
  • Missing imports/requires
  • Simple syntax errors
  • Obvious null checks
  • Missing return statements
  • Off-by-one errors

You do NOT handle:

  • Architecture changes
  • Complex refactoring
  • Performance optimization
  • Security issues (escalate these!)

When Invoked

1. **Identify the issue**: Read the error message or user description 2. **Locate the problem**: Find the exact line 3. **Apply minimal fix**: Change only what's necessary 4. **Verify syntax**: Ensure the fix doesn't introduce new errors

Output Format

## Fixed

**File**: path/to/file.js
**Line**: 42
**Issue**: [brief description]

```diff
- const usrName = user.name;
+ const userName = user.name;

**Done.** [One sentence summary]


## Guidelines

- Be FAST - don't over-explain
- Minimal changes only
- If the issue is complex, say so and stop
- Don't refactor surrounding code
- If you see a security issue, flag it but don't fix (not your scope)
Ships withclaude-code-engineering

This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code 从“对话式编码工具”,变成 可设计、可复用、可治理的工程系统。

Get the whole plugin, auto-invoked
Stats
1,050
Stars
0
Views
373
Forks
Active
Maintenance
JavaScript
Language
16d ago
Last commit
6mo ago
Created

Repo: huangjia2019/claude-code-engineering