AgentSkillsCN

clean

移除构建产物以便重新构建。当用户希望清理项目、全新开始或排查构建问题时,请使用此技能。

SKILL.md
--- frontmatter
name: clean
description: Remove build artifacts for a fresh rebuild. Use when the user wants to clean the project, start fresh, or troubleshoot build issues.

Clean Build Artifacts

Removes the build directory and all compiled artifacts to enable a fresh rebuild.

Instructions

  1. Run the clean command:
    bash
    make clean
    

When to Use

Use this skill when:

  • You encounter strange build errors
  • Dependencies have changed
  • You want to ensure a completely fresh build
  • Before running the build skill if you suspect stale artifacts

Notes

  • This is a destructive operation - all build artifacts will be removed
  • You will need to run the build skill after cleaning
  • The source code is never affected, only the build/ directory