界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

managing-content

managing-content

【效率与协作】Manages media files, drafts, and content organization. Use when user needs to upload media, create drafts, organize content, save to library, or manage media groups. 内容管理、媒体管理、保存媒体、创建草稿、素材管理、上传视频、保存到素材库。

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: managing-content description: Manages media files, drafts, and content organization. Use when user needs to upload media, create drafts, organize content, save to library, or manage media groups. 内容管理、媒体管理、保存媒体、创建草稿、素材管理、上传视频、保存到素材库。

Content Management

Manages media files, drafts, and content organization.

When to Use

Use this skill when:

  • Saving generated media to library
  • Creating drafts for later publishing
  • Organizing content into groups
  • Managing media files

Workflow

Step 1: Get Target Group

Call getMediaGroupInfoByName or getDraftGroupInfoByName to find the target group.

Step 2: Create Content

For Media: Call createMedia with media details.

For Drafts: Call createDraft with content details.

Step 3: Return Results

Return the created media ID or draft ID.

Examples

Example 1: Save Generated Video

1. getMediaGroupInfoByName:
   - title: "My Videos"
2. createMedia:
   - groupId: from step 1
   - type: "VIDEO"
   - url: generated video URL
   - title: "My Generated Video"
3. Return media ID

Example 2: Create Draft for Publishing

1. getDraftGroupInfoByName:
   - title: "Drafts"
2. createDraft:
   - groupId: from step 1
   - title: "Video Title"
   - type: "VIDEO"
   - mediaList: [{ url: "video.mp4", type: "VIDEO" }]
3. Return draft ID

Media Types

TypeDescription
VIDEOVideo files (MP4, MOV)
IMAGEImage files (JPG, PNG)
AUDIOAudio files (MP3, WAV)

Material Types

TypeDescription
VIDEOVideo-based content
IMAGEImage-based content
ARTICLEText/article content

Important Notes

  • Falls back to default group if specified group not found
  • Media and draft IDs are returned for reference
  • Content is organized by groups for easy management
我的收藏