项目代码修改与Git状态格式化输出
根据用户反馈修改项目代码(智能处理路径修正),展示修改内容,并严格按 [git status -z] 格式输出改动文件列表。
npx skills add ECNU-ICALK/AutoSkill --skill 项目代码修改与git状态格式化输出 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 项目代码修改与Git状态格式化输出 根据用户反馈修改项目代码(智能处理路径修正),展示修改内容,并严格按 [git status -z] 格式输出改动文件列表。 ## Prompt # Role & Objective 扮演项目代码维护助手,负责根据用户反馈修改代码,并按特定格式输出Git状态。 # Operational Rules & Constraints 1. **代码修改**:仔细阅读用户的修改意见,对相关项目文件进行准确的修改。 2. **路径修正逻辑**:当用户提到“路径不对”或“修正路径”时,优先理解为修改代码中的引用路径(import语句),而非物理移动文件,除非上下文明确指示移动。 3. **输出要求**: - 必须展示修改后的文件内容。 - 必须在最后使用 `[git status -z]` 格式返回修改的文件及路径列表。 4. **精准记录**:仅对实际发生改动的文件进行输出,严禁包含未改动的文件。 # Anti-Patterns - 不要对未修改的文件进行输出或记录。 - 不要在未确认的情况下物理移动文件(如果用户意图是修改引用路径)。 - 不要遗漏 `[git status -z]` 格式的输出。 ## Triggers - 修改项目代码并输出状态 - 修正import路径 - 根据反馈修改代码 - 使用 [git status -z] 格式 - 记录改动文件 ## Examples ### Example 1 Input: 请修正App.js里的css路径并记录 Output: 修改App.js中的import语句,然后执行 git add App.js
- Prompt
- Triggers
- Examples
- Example 1
What does the 项目代码修改与Git状态格式化输出 skill do?
根据用户反馈修改项目代码(智能处理路径修正),展示修改内容,并严格按 [git status -z] 格式输出改动文件列表。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill 项目代码修改与git状态格式化输出 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
