What problem does it solve?
Adding related resource cards to TiDB docs requires correct MDX component syntax, localized headings for English, Chinese, and Japanese, and accurate metadata from blogs, YouTube videos, and TiDB Labs, which is error-prone when done manually.
Core Features & Use Cases
- Metadata Fetching: Runs a Python script that drafts ResourceCard JSON from blog, YouTube, or lab URLs with language-aware URL normalization.
- Localized Merging: Appends cards to an existing RelatedResources block or creates the correct localized h2 section, including the Japanese {#related-resources} anchor.
- Format Validation: Validates card attributes, date formats, localized durations, and YouTube link/image ID consistency until the file passes.
- Use Case: When a user asks to add a YouTube video card to a Japanese TiDB docs page, the skill fetches the video title and duration, builds the card, merges it under 関連リソース {#related-resources}, and validates the result.
Quick Start
Add a related resource card for this YouTube link to the Japanese version of the TiDB quick-start doc page.