AgentSkillsCN

bitfsae-content

在为BITFSAE网站创建或编辑内容文件时使用此功能(content/news/*.md、content/events/*.md、content/cars/*.md、content/sponsors/*.md)。确保正确的Frontmatter架构、MDC组件语法、图片URL格式以及文件命名规范,从而保证输出能在Nuxt Content站点上正确渲染。可在以下场景下触发:撰写新闻文章、活动页面、汽车简介、赞助商条目,或任何 destined for the content/目录的Markdown文件。

SKILL.md
--- frontmatter
name: bitfsae-content
description: "Use when creating or editing content files for the BITFSAE website (content/news/*.md, content/events/*.md, content/cars/*.md, content/sponsors/*.md). Ensures correct frontmatter schema, MDC component syntax, image URL format, and file naming conventions so the output renders correctly on the Nuxt Content site. Trigger on: writing news articles, event pages, car profiles, sponsor entries, or any Markdown destined for the content/ directory."

BITFSAE Content Writer

Generates Markdown files that render correctly on the BITFSAE Nuxt Content v3 website.

When to Use

  • Creating new content files under content/
  • Editing existing content Markdown
  • Converting external text (e.g. WeChat articles) into site-compatible format

File Naming

  • Lowercase English, words separated by -
  • Extension: .md
  • Examples: website-launch-2026.md, fsec-2025.md

Frontmatter Schemas

Load the reference for the target collection:

CollectionPath patternReference
newscontent/news/*.mdreferences/news-schema.md
eventscontent/events/*.mdreferences/events-schema.md
carscontent/cars/*.mdreferences/cars-schema.md
sponsorscontent/sponsors/*.mdreferences/sponsors-schema.md

Always load the matching schema reference before generating content.

Image Rules

  • All images MUST use the CDN URL: https://img.bitfsae.xin/img/<filename>
  • Never use relative paths or commit images to the repo
  • Markdown syntax: ![alt text](https://img.bitfsae.xin/img/filename.jpg)

MDC Components Quick Reference

Load references/mdc-components.md when using any MDC component.

Available Components

ComponentSyntaxUse for
Note::noteInfo callout
Tip::tipSuggestion
Warning::warningCaution
Caution::cautionDanger
Card::card{icon title}Featured content block
Card Group::card-group{cols}Multi-column cards
Badge (inline):badge[text]{color}Tags, labels
Badge (block)::badge{color icon}Prominent labels (separate with &nbsp;)
Tabs::tabs + :::tabs-item{label}Tabbed content
Steps::steps + ### StepSequential instructions
Collapsible::collapsibleExpandable details
Image Gallery::image-gallery{cols}Photo grids
Center::centerCentered text/images
Left::leftLeft-aligned block
Right::rightRight-aligned block
MSpan:m-span[text]{color size preset}Colored/styled inline text

MDC Nesting Rules

  • Level 1: ::component / ::
  • Level 2 (inside level 1): :::component / :::
  • Level 3 (inside level 2): ::::component / ::::
  • Each deeper nesting adds one more :

Output Checklist

Before finalizing any content file, verify:

  • Frontmatter has all required fields for the collection
  • date format is YYYY.MM.DD (e.g. 2026.02.08)
  • image uses https://img.bitfsae.xin/img/ prefix
  • All body images use CDN URLs
  • MDC components are properly opened and closed
  • Nesting levels use correct colon counts
  • File name is lowercase English with - separators