Skip to content

Pinvou/pinvou-agent / pinvou3-app/src-tauri/resources/common/skill-marketplace/tencent-docs-skill

tencent-docs

Unverified

腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理**在线**文档的首选 skill。仅当用户明确指向腾讯文档/在线文档/docs.qq.com,或任务需要在线协作文档时使用;泛指"做个文档/保存成文件/PPT"且未点名在线平台时,默认走本地工具(本地 pptx 技能等),不要误用本 skill。支持能力:(1) 创建各类在线文档(文档/Word/Excel/幻灯片/思维导图/流程图/智能表格/收集表)(2) 管理知识库空间(创建空间、查询空间列表)(3) 管理空间节点、文件夹结构 (4) 读取/搜索文档内容 (5) 编辑操作智能表 (6) 编辑操作在线文档 (7) 文件管理(重命名、移动、删除、复制、导入导出)(8) 网页剪藏、本地文件/html/文档上云。

FileKindSize
SKILL.mdskill md22.1 KB
aipage_pack.jsscript19.0 KB
doc/doc_format/README.mdmarkdown2.9 KB
doc/doc_format/prompt/pure_text_system_prompt.txtmarkdown2.3 KB
doc/doc_format/prompt/scenario_recognition_prompt.txtmarkdown1.7 KB
doc/doc_format/prompt/style_customization_prompt.txtmarkdown2.5 KB
doc/doc_format/templates/contract.jsonconfig1.0 KB
doc/doc_format/templates/essay.jsonconfig489 B
doc/doc_format/templates/general.jsonconfig2.7 KB
doc/doc_format/templates/government.jsonconfig1019 B
doc/doc_format/templates/paper.jsonconfig4.6 KB
doc/entry.mdmarkdown800 B
references/aipage_references.mdmarkdown5.0 KB
references/auth.mdmarkdown1.2 KB
references/diagram_references.mdmarkdown2.2 KB
references/docengine_references.mdmarkdown87.2 KB
references/manage_references.mdmarkdown31.9 KB
references/ocr_references.mdmarkdown3.3 KB
references/slideengine_references.mdmarkdown76.2 KB
references/smartsheet_references.mdmarkdown31.5 KB
references/space_references.mdmarkdown7.0 KB
references/unsupported_feature_reporting.mdmarkdown1.1 KB
references/workflows.mdmarkdown7.9 KB
sheet/api/mcp-api.mdmarkdown55.2 KB
sheet/entry.mdmarkdown15.5 KB
sidebar-pptx-generator/references/component-box.mdmarkdown4.0 KB
sidebar-pptx-generator/references/component-chart.mdmarkdown10.5 KB
sidebar-pptx-generator/references/component-codeblock.mdmarkdown1.6 KB
sidebar-pptx-generator/references/component-diagram.mdmarkdown2.7 KB
sidebar-pptx-generator/references/component-faicon.mdmarkdown2.9 KB
sidebar-pptx-generator/references/component-image.mdmarkdown5.5 KB
sidebar-pptx-generator/references/component-math.mdmarkdown2.1 KB
sidebar-pptx-generator/references/component-qrcode.mdmarkdown1.1 KB
sidebar-pptx-generator/references/component-slide.mdmarkdown3.9 KB
sidebar-pptx-generator/references/component-svg.mdmarkdown1.3 KB
sidebar-pptx-generator/references/component-table.mdmarkdown3.2 KB
sidebar-pptx-generator/references/component-text.mdmarkdown3.0 KB
sidebar-pptx-generator/references/design-principle.mdmarkdown4.5 KB
sidebar-pptx-generator/scripts/doc_image_extractor.pyscript12.4 KB
sidebar-pptx-generator/scripts/get_slide_info.shexecutablescript4.3 KB
slide/entry.mdmarkdown20.6 KB
smartcanvas/entry.mdmarkdown45.5 KB
smartcanvas/mdx_references.mdmarkdown22.7 KB
smartcanvas/template/12_week_muscle_building_workout_plan.mdxmarkdown16.8 KB
smartcanvas/template/2025_ai_industry_trend_analysis_report.mdxmarkdown16.1 KB
smartcanvas/template/2026_family_annual_budget_plan.mdxmarkdown12.2 KB
smartcanvas/template/2026_personal_annual_goal_plan.mdxmarkdown14.2 KB
smartcanvas/template/annual_holiday_greeting_messages.mdxmarkdown16.4 KB
smartcanvas/template/app_2_project_retrospective.mdxmarkdown6.2 KB
smartcanvas/template/british_shorthair_cat_care_guide.mdxmarkdown17.0 KB
smartcanvas/template/career_growth_books_and_movies_recommendations.mdxmarkdown17.0 KB
smartcanvas/template/chinese_modern_wedding_planning_guide.mdxmarkdown12.6 KB
smartcanvas/template/coffee_shop_location_analysis_report.mdxmarkdown21.6 KB
smartcanvas/template/community_fresh_delivery_feasibility_report.mdxmarkdown21.1 KB
smartcanvas/template/community_group_buying_annual_operation_plan.mdxmarkdown10.3 KB
smartcanvas/template/company_5th_anniversary_event_plan.mdxmarkdown8.8 KB
smartcanvas/template/ecommerce_membership_points_prd.mdxmarkdown12.2 KB
smartcanvas/template/english_self_introduction_for_interview.mdxmarkdown7.0 KB
smartcanvas/template/family_weekly_healthy_meal_plan.mdxmarkdown10.9 KB
smartcanvas/template/finance_graduate_career_plan.mdxmarkdown12.7 KB
smartcanvas/template/food_review_self_media_operation_plan.mdxmarkdown10.9 KB
smartcanvas/template/graduate_admission_recommendation_letter.mdxmarkdown3.8 KB
smartcanvas/template/internet_product_manager_cover_letter.mdxmarkdown4.0 KB
smartcanvas/template/internet_product_manager_interview_checklist.mdxmarkdown7.2 KB
smartcanvas/template/maternity_ecommerce_user_persona_report.mdxmarkdown20.8 KB
smartcanvas/template/new_tea_brand_annual_promotion_plan.mdxmarkdown20.9 KB
smartcanvas/template/office_worker_knowledge_side_business_plan.mdxmarkdown16.0 KB
smartcanvas/template/online_education_summer_marketing_plan.mdxmarkdown16.2 KB
smartcanvas/template/online_office_tool_user_research_report.mdxmarkdown16.4 KB
smartcanvas/template/p6_to_p7_promotion_report.mdxmarkdown9.0 KB
smartcanvas/template/principles_ray_dalio_book_notes.mdxmarkdown15.9 KB
smartcanvas/template/q1_quarterly_marketing_operations_summary.mdxmarkdown6.8 KB
smartcanvas/template/quanzhou_3_day_travel_guide.mdxmarkdown7.9 KB
smartcanvas/template/shared_apartment_moving_checklist.mdxmarkdown7.1 KB
smartcanvas/template/shared_powerbank_business_model_report.mdxmarkdown16.8 KB
smartcanvas/template/short_video_platform_competitive_analysis_2026.mdxmarkdown31.2 KB
smartcanvas/template/smart_home_iot_business_plan.mdxmarkdown20.3 KB
smartcanvas/template/smartwatch_comparison_apple_watch_vs_huawei_gt.mdxmarkdown12.7 KB
smartcanvas/template/space_theme_6th_birthday_party_plan.mdxmarkdown9.2 KB
smartcanvas/template/summer_internship_report_data_analyst.mdxmarkdown6.6 KB
smartcanvas/template/ui_designer_probation_summary.mdxmarkdown5.1 KB

sidebar-pptx-generator/references/component-image.md

View on GitHub
---
name: component-image
description: Image 图片组件规范 — 本地路径约束、objectFit、生图/SVG边界与资源自检
---

# Image 组件规范

Image 是 slidep 中承载**位图 / 照片**的组件,继承 Box 所有属性。`src` 必须是**本地相对路径**,所有图片必须放在项目目录中。

## 基础用法

```jsx
<Image src="resources/images/hero.png" style={{ width: 400, borderRadius: 12 }} />
```

```jsx
<Image
    src="resources/images/ai_concept.png"
    style={{ width: '100%', height: '100%', objectFit: 'cover' }}
/>
```

## 属性速查

| 属性 | 说明 |
| :--- | :--- |
| `src` | **必填**。本地相对路径(相对项目根),必须先保存到 `resources/images/`。**严禁** `http://` / `https://` / `image://` 占位符 |
| `style.width` / `style.height` | 显示尺寸。建议与图片实际尺寸比例一致,避免拉伸变形 |
| `style.objectFit` | `'cover'`(裁切填满,默认推荐) / `'contain'`(完整显示,可能留白) / `'fill'`(强制拉伸,不推荐) |
| `style.clipPath` | 裁切形状(圆形 / 多边形 / SVG path) |
| `style.border` / `style.borderRadius` | 边框、圆角 |
| `style.opacity` | 透明度 |
| `style.filter` | CSS 滤镜(`blur` / `grayscale` / `brightness` 等) |

## 配图前置流程(先图后写,强制)

> 所有图片必须在写页面 JSX 之前完成获取、Read 核对、命名。严禁先写 JSX 占位后补图——会导致布局比例与图片不匹配。
> 配图策略参见 SKILL.md §配图获取策略:**取消搜图策略**。除用户材料图、文档抽取图、用户明确提供的品牌 / 产品 / 人物 / 场景图片外,配图只能来自 `ImageGen` 或 `<SVG>`。

### P0 · 材料图(已有可信图片)

用户上传材料、`scripts/doc_image_extractor.py` 抽取图、用户明确提供的品牌 / 产品 / 人物 / 场景图片可作为配图来源。使用前必须复制到 `resources/images/`,重命名为英文 / 数字 / 下划线文件名,并逐张 Read 核对内容、比例、清晰度。

### P1 · ImageGen(语义视觉默认路径)

以下场景必须优先调用 `ImageGen`,禁止直接用 SVG 糊弄:

- L1 主视觉、封面主图、章节过渡主图、左右图文页主图。
- 占内容区 ≥ 30% 的大面积背景、半屏图、一栏铺底图、卡片整体背景图。
- 城市、办公室、会议、工厂、实验室、校园、文旅、消费、产品使用、人物 / 群像 / 空间等具象场景。
- 摄影、插画、3D、国风、水墨、卡通、科技氛围等需要统一美术风格的画面。

调用 `ImageGen` 时,prompt 必须包含主体、场景、构图、风格、色彩、禁忌。同一 deck 复用同一组风格词,禁止摄影 / 插画 / 3D 混用。生图最多重试 2 次;仍不合格才允许 SVG 兜底,并在 `DESIGN.md` 配图清单记录失败原因。

**生图返回顺序常与 prompt 顺序错位**:必须逐张 Read 真实内容后再重命名映射到 DESIGN.md,禁止按时间戳盲映射。

### P2 · SVG(结构化 / 低语义元素)

`<SVG>` 只允许用于结构化、抽象化、低语义或品牌化元素:流程图、时间轴、矩阵、漏斗、架构图、关系网络、图表底图、巨型数字、趋势箭头、进度环、L3 角标、印章、页脚纹样、背景网格、抽象几何概念页。

禁止用几个圆、线、渐变块冒充城市、人物、会议、产品、校园、工厂等具象主视觉。禁止把 L3 角标或 200×70 小装饰当作 L1/L2。

### 引用

下载、复制或生成后必须立即 Read,确认四件事:

1. **内容正确**:图片主体与页面语义一致。
2. **比例可用**:能适配页面中的 L1 / L2 位置,不会裁掉关键主体。
3. **清晰度足够**:放到 PPT 中不糊。
4. **风格统一**:全篇图片属于同一视觉类型(摄影 / 插画 / 3D / 水墨等),不混用。

```jsx
<Image src="resources/images/team_collab.png" style={{ width: 400, height: 225 }} />
// 宽高比按实际图片比例(1920/1080 ≈ 16:9 → 400×225)
```

## 严禁事项

- **不得用通配符删除图片资源**(如 `rm -rf resources/images/*.png`)。替换图片时优先覆盖明确文件;确需删除时逐个指定具体路径。
- **图片不得自带页面需要精确控制的文字 / Logo**。需要精确文字时用干净背景图 + Slide 文本组件叠加。
- **不得直接引用在线 URL**(会导致构建产物中图片丢失)。
- **不得使用 `image://xxx` 占位符**。该占位符仅在未完成资源映射时由系统写入校验产物,Agent 不得主动产出。
- **正文页不得使用全屏背景图**。大图以独立组件形式出现(占 50% 宽 / 高),保留页面默认背景在四周可见。
- **不得用 SVG 几何背景代替必须生图的 L1/L2 主视觉**。只有 `ImageGen` 最多 2 次重试仍不合格时,才允许 SVG 兜底。

## 图片规划指引

- **配图率**:按项目 `DESIGN.md` 控制图文搭配密度;单页图片 / 图表数量不超过 3 个,总面积不超过内容区 60%。
- **风格一致性**:全篇要么摄影、要么插画、要么 3D 渲染,严禁混用;生图 prompt 应复用同一组风格词。
- **强制配图位置**:「左标题 + 右内容」必在右侧顶部或左侧标题下;「分栏」必须有一栏分配给图像。
- **图片清单必填**:项目 `DESIGN.md` 必须记录生成方式(material / ImageGen / SVG)、prompt 或 SVG 方案、本地文件名、真实内容、使用页面和是否核对。
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall