Skip to main content

quickfix

Retrieves the explanation and fix instructions for a specific Spring Boot diagnostic error code and applies the fix to a specific file. Use this when you encounter a Spring Boot warning or error and need to know how to fix it.

来源信息

仓库
spring-projects/spring-tools
最近来源活动
2026年6月1日 13:55
检测到的 SKILL.md 语言
英语
星标
989
分支
241

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
quickfix
description
Retrieves the explanation and fix instructions for a specific Spring Boot diagnostic error code and applies the fix to a specific file. Use this when you encounter a Spring Boot warning or error and need to know how to fix it.
arguments
["error_code","file_path","range"]
allowed-tools
View
You have encountered the Spring Boot diagnostic error code: `$ARGUMENTS[0]`. The problem is located in the file: `$ARGUMENTS[1]`. The text range of the problem is: `$ARGUMENTS[2]` (if provided). MUST DO: If the error code includes a prefix like `errorCode=` or `code=`, strip it out before you continue to use it anywhere. To find the official explanation and potential fixes for this issue, you must read the explanation file located at: `${CLAUDE_PLUGIN_ROOT}/explanations/$ARGUMENTS[0].md` If the file does not exist, use your general Spring Boot knowledge to fix the issue. Based on the provided "Explanations" and "Fixes" in that file: 1. Analyze the context of the user's project and the specific file (`$ARGUMENTS[1]`) to determine which of the suggested fixes is the most appropriate. 2. If there are multiple potential fixes and it is unclear which one to apply based on the project context, stop and ask the user which solution they prefer. 3. Once a solution is chosen (either by your analysis or the user's choice), apply the fix to the codebase, specifically targeting the file `$ARGUMENTS[1]`. 4. If a text range (`$ARGUMENTS[2]`) is provided, ensure your fix is applied only around that specific text range.
在 GitHub 查看