首页/ AI 技能 / @skilllib/skill-2117939930272416306
Skill站外收录 @skilllib/skill-2117939930272416306

rm-any

支持从微服务中安全移除各类功能组件,包括配置项、接口端点、事件源与接收器、定时任务及监控指标等,涵盖定义删除、代码清理、测试移除、类型精简、模板更新及文档同步全流程。

0.0 (0) 15 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

## Workflow Copy this checklist and track your progress: ``` Removing a part of a microservice: - [ ] Step 1: Remove Definition From service.yaml - [ ] Step 2: Remove Implementation - [ ] Step 3: Remove Test - [ ] Step 4: Remove Unused Custom Types - [ ] Step 5: Update Boilerplate code - [ ] Step 6: Document the Microservice ``` #### Step 1: Remove Definition From `service.yaml` Remove the definition from `service.yaml`. #### Step 2: Remove Implementation Remove any implementation code from `service.go`. #### Step 3: Remove Test Remove the corresponding test fom `service_test.go`. #### Step 4: Remove Unused Custom Types If the deleted definition was using non-primitive custom types that are no longer used elsewhere, remove the definition of the unused types from the API directory. #### Step 5: Update Boilerplate Code Run `go generate` to update the boilerplate code. #### Step 6: Update Documentation Update the microservice's local `AGENTS.md` to reflect the removal.

评论 0

还没有评论,来抢沙发。