convert-cowork-skill-to-sharepoint

将现有的 Copilot Cowork 技能转换为 Copilot in SharePoint 技能。该技能用于检查源技能、识别 Cowork 特有的假设、制定 SharePoint 原生的转换计划、获取用户批准,然后在 AgentAssets/Skills 中创建或更新转换后的技能。触发语包括“转换我的技能”、“重写我的 Cowork 技能”、“让我的 Cowork 技能在 SharePoint 中运行”、“将此 Cowork 技能适配到 Copilot in SharePoint”和“将此技能从 Cowork 移植到 SharePoint”。

仓库最近推送
GitHub Stars
169
Forks
67
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "convert-cowork-skill-to-sharepoint":https://skillpi.com/zh/skills/deepskill-734ea6c17a5752624f3f7b3b6b838a48bd2aeec0d36e1af7c4957df45c5790df。安装前核对上游来源和版本:https://github.com/pnp/sharepoint-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

将现有的 Copilot Cowork 技能转换为 Copilot in SharePoint 技能。该技能用于检查源技能、识别 Cowork 特有的假设、制定 SharePoint 原生的转换计划、获取用户批准,然后在 AgentAssets/Skills 中创建或更新转换后的技能。触发语包括“转换我的技能”、“重写我的 Cowork 技能”、“让我的 Cowork 技能在 SharePoint 中运行”、“将此 Cowork 技能适配到 Copilot in SharePoint”和“将此技能从 Cowork 移植到 SharePoint”。

0 下载

介绍来源: third_party · pnp · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: convert-cowork-skill-to-sharepoint
description: |-
  Convert an existing Copilot Cowork skill into a Copilot in SharePoint skill. Use this skill to inspect the source skill, identify Cowork-specific assumptions, produce a SharePoint-native conversion plan, get user approval, then create or update the converted skill in AgentAssets/Skills.

  Use when the user says:
    - "Convert my skill"
    - "Rewrite my Cowork skill"
    - "Make my Cowork skill work in SharePoint"
    - "Adapt this Cowork skill for Copilot in SharePoint"
    - "Port this skill from Cowork to SharePoint"

Convert Cowork Skill to SharePoint

When to use

Use this skill when the user has an existing skill written for Copilot Cowork and wants it converted for Copilot in SharePoint.

Do not use this skill to create a brand-new skill from scratch. If there is no existing Cowork skill or Cowork pattern to migrate, use create-skill instead.

Inputs

The source Cowork skill may come from:

  • A direct OneDrive link
  • A skill name to resolve under the user's OneDrive Cowork skills folder
  • A folder already present in this site's AgentAssets/Skills
  • A .zip file added to chat

Required inputs:

  • Source SKILL.md
  • Any referenced files that affect routing, dependencies, schemas, examples, outputs, or execution behavior
  • User preferences for name, scope, output format, and rewrite aggressiveness

Safety and save rules

Never overwrite or create files until the user approves the conversion plan.

Before updating an existing skill in AgentAssets/Skills:

  1. Read the current files that will be changed.
  2. Summarize exactly what will be replaced, added, removed, or preserved.
  3. Ask for explicit confirmation to proceed.

If required source files cannot be found or read, stop and say what is missing. Do not invent missing skill content.

Do not create duplicate skill folders when converting a skill that already exists in this site unless the user explicitly asks for a separate copy.

Supporting files may be created, updated, rewritten, split, merged, renamed, replaced, or deprecated only after approval.

Do not delete deprecated supporting files automatically unless the user explicitly asks. If a file is renamed or replaced, list the old path as deprecated unless deletion was approved.

Steps

Tool routing rule: use SharePoint-native tools explicitly. Use load_skill({skillName}) for skills already in AgentAssets/Skills; use cat_file({fileUrl|serverRelativeUrl}) to read known files; use find_items(...) to locate candidate skill files or folders; use create_file(...) to create or update SKILL.md and supporting files after approval.

Phase 1: Source discovery

  1. Identify the source location.

    • For a OneDrive link, use the link directly.
    • For a OneDrive skill name, first try to resolve it relative to the user's Cowork skills folder. If that convention fails, search the user's OneDrive for the named skill folder or SKILL.md. If it still cannot be resolved, ask the user for a direct link or upload.
    • For a site skill, load it from AgentAssets/Skills.
    • For a .zip, inspect the archive contents if supported; otherwise ask the user to extract or provide the relevant files.
  2. Read SKILL.md and any supporting files referenced by the skill.

  3. If the source is ambiguous, ask the minimum question needed to locate it.

Phase 2: Compatibility review

Analyze the Cowork skill for SharePoint incompatibilities:

  • Cowork-only tools, storage paths, runtime assumptions, or host behaviors
  • Local filesystem assumptions such as /mnt, /tmp, /output, or package-local paths
  • Mail, chat, or workflow assumptions that do not map to SharePoint-native behavior
  • Dependencies that should become skill loads, SharePoint tool usage, or reference files
  • Trigger phrases that overlap existing SharePoint skills
  • Output formats that are not feasible in SharePoint, such as local files, Cowork-only artifacts, external runtime outputs, unsupported binaries, or references to non-SharePoint storage
  • Supporting files that should be rewritten, split, merged, renamed, replaced, or deprecated for the SharePoint version

Phase 3: Skill library check

Before finalizing the plan:

  1. Check existing built-in and site skills for overlapping trigger phrases, names, or intent.
  2. If overlap exists, decide whether the converted skill should:
    • narrow its trigger surface,
    • depend on the existing skill,
    • route the user to the existing skill,
    • or not be created.
  3. Include overlap findings and routing decisions in the conversion plan.

Phase 4: Conversion plan

Before editing anything, produce a plan that states:

  • What stays unchanged
  • What must be rewritten
  • Which dependencies must be loaded, replaced, removed, or converted
  • Which files will be created, updated, rewritten, split, merged, renamed, replaced, or deprecated
  • Whether the result will overwrite an existing skill or create a new folder
  • Skill-library overlap findings
  • Deprecated supporting files that will be left in place unless the user later approves deletion
  • Risks, ambiguities, and decisions needed from the user

Stop after the plan unless the user explicitly says to proceed.

Phase 5: Implementation after approval

After approval, draft the SharePoint-ready skill and any supporting files needed for the converted structure.

Adapt the instructions and supporting files so they:

  • Use SharePoint-native tools and locations
  • Prefer existing skills when appropriate
  • Avoid Cowork-only assumptions
  • Include clear trigger phrases and non-use cases
  • Define concrete steps and output expectations
  • Keep SKILL.md focused as a dispatch/runbook file

Use this folder-structure rubric:

  • Keep SKILL.md concise as the dispatch/runbook file.
  • Put long guidance in references/.
  • Put worked scenarios in examples/.
  • Put pass/fail checks or test scenarios in eval/.
  • Remove Cowork-only supporting files from the converted design when they no longer apply.

Phase 6: Save, verify, and report

If approved to save:

  • If the source skill already exists in this site's AgentAssets/Skills, update that folder.
  • If the source came from OneDrive or a .zip, use the /create-skill skill to create the skill with the new version of the file(s).
  • Do not overwrite unrelated files.

If converting an existing AgentAssets/Skills folder, identify supporting files that are no longer needed. Leave them in place unless the user explicitly approves deletion, but list them in the final output as deprecated files the user may delete.

After saving:

  1. Confirm the saved file URLs.
  2. Reread or verify key saved files when practical, especially SKILL.md.
  3. Report any files that could not be saved or verified.
  4. Report any deprecated supporting files that remain in the folder and are recommended for deletion.

Output format

Before approval

Provide only:

1. Conversion plan

A concise plan with source assumptions, rewrite decisions, dependency changes, file changes, skill-library overlap findings, deprecated-file recommendations, risks, and approval request.

End with: The converted skill has not been finalized or saved yet. Say "proceed" when you want me to implement this plan.

After approval

Provide:

1. Converted skill

A complete SharePoint-ready SKILL.md.

2. Folder and file changes

List:

  • Files created
  • Files updated
  • Files rewritten or restructured
  • Files split, merged, renamed, or replaced
  • Deprecated supporting files that are no longer needed and may be deleted by the user
  • Replacement paths for renamed or replaced files

3. Change report

Summarize:

  • Routing changes
  • Tool and storage changes
  • Dependency changes
  • Interaction-flow changes
  • Source-location handling changes
  • Skill-library overlap decisions
  • Supporting-file rewrite/restructure decisions
  • Safety or overwrite decisions
  • Deprecated files recommended for deletion
  • Verification results
  • Anything intentionally preserved

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 针对 Copilot Cowork 到 SharePoint 的迁移场景,实用价值明确
  • 提供端到端转换流程,解决用户具体痛点
触发精准92/100

亮点

  • 触发词覆盖多种自然语言变体,边界清晰
  • description 位置正确,内容完整无截断
结构规范95/100

亮点

  • Phase 划分清晰,步骤完整,含出口条件
  • frontmatter 完整,文档结构规范
执行可靠90/100

亮点

  • 工具来源明确,参数正确
  • 覆盖主要异常,不可逆操作有确认机制
证据可验 (前四项均值)89/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。