Removes a configuration property, functional endpoint, event source, event sink, web handler endpoint, ticker or metric, from a microservice. Use when explicitly asked by the user to remove a feature of a microservice.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: Removing a Feature of a Microservice description: Removes a configuration property, functional endpoint, event source, event sink, web handler endpoint, ticker or metric, from a microservice. Use when explicitly asked by the user to remove a feature of a microservice.
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.
More by microbus-io
View allExternalizes user-facing text to a resource bundle where they can be easily translated. Use to externalize static strings that are shown to the end user.
Creates or modify a metric of a microservice. Use when explicitly asked by the user to create or modify a custom metric for a microservice, or when it makes sense measure a certain operation taken by the microservice.
Creates and initializes a new microservice. Use when explicitly asked by the user to create a new microservice.
Creates or modify a web handler endpoint of a microservice. Use when explicitly asked by the user to create or modify a web handler endpoint of a microservice.