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.

来源信息

仓库
wso2/api-platform
最近来源活动
2026年11月12日 07:08
检测到的 SKILL.md 语言
英语
星标
85
Forks
137

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.