governing-tag-hierarchy

Govern OpenAPI tag taxonomy with hierarchical tags and classification types.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/musher-dev/bundles --skill governing-tag-hierarchy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: governing-tag-hierarchy
Source: https://github.com/musher-dev/bundles/tree/main/openapi-specification-governance/skills/governing-tag-hierarchy
Command: npx skills add https://github.com/musher-dev/bundles --skill governing-tag-hierarchy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of disorganized and unscalable API documentation by providing a structured approach to managing OpenAPI tag hierarchies and classifications.

Core Features & Use Cases

  • Hierarchical Tagging: Implement OpenAPI 3.2.0's hierarchical tags with parent, summary, and kind fields.
  • Tag Classification: Define and apply tag types like navigation, badge, lifecycle, and audience.
  • Migration Strategies: Facilitate migration from flat tag structures and x-tagGroups vendor extensions.
  • Governance Rules: Enforce best practices for tag usage in documentation portals and SDK grouping.
  • Use Case: When designing a new API with hundreds of endpoints, use this Skill to establish a clear, navigable tag taxonomy that improves developer experience and documentation clarity.

Quick Start

Use the governing-tag-hierarchy skill to review the tag structure of the attached OpenAPI specification file.

Frequently Asked Questions about governing-tag-hierarchy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure OpenAPI tags for better API documentation navigation?

OpenAPI tag hierarchy structures API documentation navigation by enforcing parent, summary, and kind fields for hierarchical tags, replacing flat structures with a governed taxonomy that improves developer experience.

How do I migrate from x-tagGroups to native OpenAPI hierarchical tags?

Migrating from x-tagGroups to native OpenAPI hierarchical tags involves mapping vendor extension groupings into the 3.2.0 hierarchical tag structure with parent fields, enforcing governance rules for documentation portals and SDK grouping.

What is tag classification in OpenAPI specifications?

Tag classification in OpenAPI specifications defines tag types like navigation, badge, lifecycle, and audience to categorize endpoints, enforcing structured governance rules that enhance documentation portal organization and SDK grouping clarity.

Can I enforce governance rules on OpenAPI tag usage for SDK generation?

Yes, you can enforce governance rules on OpenAPI tag usage for SDK generation by applying hierarchical tag structures and classification types, ensuring consistent endpoint grouping and documentation portal organization across large APIs.

When do I need hierarchical tags instead of flat tags in OpenAPI?

You need hierarchical tags instead of flat tags in OpenAPI when managing hundreds of endpoints, where a governed parent-child taxonomy provides navigability and classification that flat structures cannot support for documentation portals.

What are the limitations of migrating flat OpenAPI tags to hierarchical structures?

Limitations of migrating flat OpenAPI tags to hierarchical structures include ensuring all existing endpoints map correctly to new parent-child relationships and updating documentation portals or SDK grouping logic to support the 3.2.0 hierarchical tag format.