CRITICAL: Read and analyze this microservice before starting. Do NOT explore or analyze other microservices. The instructions in this skill are self-contained to this microservice.
Workflow
Copy this checklist and track your progress:
Removing a feature of a microservice:
- [ ] Step 1: Remove marked code
- [ ] Step 2: Remove unused custom types
- [ ] Step 3: Housekeeping
Step 1: Remove Marked Code
Scan the files in the directory of the microservice and its subdirectories for MARKER: FeatureName to locate the code related to the feature.
A marker comment following { or ( suggests that the entire code block should be removed.
if example { // MARKER: FeatureName
// ...
}
Otherwise, the marker suggests that a single line should be removed.
var example // MARKER: FeatureName
Step 2: Remove Unused Custom Types
If the deleted feature was using non-primitive custom types defined in myserviceapi directory, and those types are no longer used elsewhere by the microservice, remove their definition.
Step 3: Housekeeping
Follow the microbus/housekeeping skill.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.