Skip to main content

add-feature-usage-tracking

Add, change or retire a Platform API feature in the feature-usage taxonomy and bind it to the REST API operations that report it. Use when a new Platform API endpoint (or an existing one) should be counted as feature usage, when someone says "track this endpoint", "add a feature to the taxonomy", "report <operation> to Moesif", "add a feature-usage binding", or when TestEveryPlatformAPIFeatureIsBound, TestBindingsAgreeWithTheTaxonomy, TestBindingsAgreeWithTheOpenAPIDocument or TestFeatureUsageBindingsResolveToRealRoutes fails. Edits exactly two files, platform-api/internal/featureusage/taxonomy/api-platform-taxonomy.yaml and platform-api/internal/featureusage/bindings.go, then runs the tests that keep them in agreement.

Source facts

Repository
wso2/api-platform
Last source activity
November 12, 2026 at 07:08
Detected SKILL.md language
English
Stars
85
Forks
137

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
nameadd-feature-usage-tracking
descriptionAdd, change or retire a Platform API feature in the feature-usage taxonomy and bind it to the REST API operations that report it. Use when a new Platform API endpoint (or an existing one) should be counted as feature usage, when someone says "track this endpoint", "add a feature to the taxonomy", "report <operation> to Moesif", "add a feature-usage binding", or when TestEveryPlatformAPIFeatureIsBound, TestBindingsAgreeWithTheTaxonomy, TestBindingsAgreeWithTheOpenAPIDocument or TestFeatureUsageBindingsResolveToRealRoutes fails. Edits exactly two files, platform-api/internal/featureusage/taxonomy/api-platform-taxonomy.yaml and platform-api/internal/featureusage/bindings.go, then runs the tests that keep them in agreement.