Find Relevant Skill 标志

Find Relevant Skill

组织
pnp
find-relevant-skill

Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills, then recommend using, installing, adapting, or proceeding without one. Use when the user says: - "Do we have a skill for this?" - "Check site skills first" - "Find a relevant skill" - "Is there a local skill for this?" - When a recurring or site-specific task comes up and no loaded or local skill obviously covers it

Add to TypingMind

概览

发布者pnp
代码仓库sharepoint-skills
技能名称find-relevant-skill
星标数
141
复刻数
60
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 pnp 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Find Relevant Skill AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/find-relevant-skill/find-relevant-skill
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/sharepoint-skills.git /tmp/sharepoint-skills
mkdir -p .claude/skills
cp -r /tmp/sharepoint-skills/Skills/find-relevant-skill/find-relevant-skill .claude/skills/find-relevant-skill
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Find Relevant Skill,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Find Relevant Skill。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Find Relevant Skill 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

find-relevant-skill

When to use

Use this skill when the user asks whether this site has a skill for a task, or when the agent is about to handle a recurring or site-specific procedure and no loaded or listed local skill obviously covers it. Don't use it for one-off questions or small talk that don't call for a reusable procedure — the check adds a step that only pays off when a skill could plausibly exist.

This skill helps avoid missing reusable site-specific procedures before doing work directly.

Inputs

Use or infer:

  • The user's current task or request
  • The current site context
  • Any skills already listed in the conversation context
  • Site skills stored wherever this site keeps its local skill library (commonly AgentAssets/Skills, but confirm the actual location for this site rather than assuming), when available
  • Optional external reference: PnP SharePoint Skills repo at https://github.com/pnp/sharepoint-skills/tree/main/Skills

Steps

  1. Restate the task in one short phrase.

  2. Check known skills first.

    • Review loaded skills and site skills already present in context.
    • If a clearly relevant skill exists, activate it (however this environment loads a skill) and follow it.
  3. If no known local skill clearly applies, inspect this site's skills.

    • Look for skill folders or SKILL.md files in this site's local skill library.
    • Read candidate skill descriptions or SKILL.md files as needed.
    • Don't guess skill names or claim a skill exists without finding it.
  4. If no local skill matches, ask before checking the PnP SharePoint Skills repo.

    • Use the repo as a known external source for possible reusable skill patterns: https://github.com/pnp/sharepoint-skills/tree/main/Skills.
    • Always ask the user before searching or accessing the PnP repo, even if they previously approved web search in another turn.
    • Ask exactly: "Want me to search the PnP SharePoint Skills repo for a matching skill?"
    • Do not search or access the public web unless the user explicitly confirms for this specific check.
    • If the user confirms, search the web for the task plus the repo URL.
    • Don't claim an external skill exists unless it was found through an allowed web search or already provided in conversation.
  5. Evaluate PnP repo results in this order.

    • Direct match: a PnP skill clearly solves the user's task. Recommend creating a local site version before using it.
    • Supporting match: no direct PnP skill solves the task, but one or more skills provide useful capabilities, safety rules, formats, patterns, or reusable guidance. Recommend installing those supporting skills locally when they'll be reused.
    • Reference pattern: no supporting skill should be installed, but a PnP skill contains a useful pattern. Apply the relevant pattern while creating a new local skill or proceeding with tools.
    • No match: nothing useful was found. Recommend creating a new skill from scratch or proceeding directly.
  6. Check risks in any PnP skills or patterns before recommending installation or reuse.

    • Review the skill content, description, examples, and tool guidance when available.
    • Flag risks clearly for the user before creating or installing anything.
    • Look for these risk types:
      • Over-broad triggers that may fire on unrelated requests.
      • Instructions that bypass local site checks or ignore site context.
      • Instructions that encourage public web access without explicit user confirmation.
      • Tool names that don't exist in this environment or look mismatched.
      • Destructive or high-impact actions without confirmation, such as delete, overwrite, permissions changes, approvals, bulk edits, sharing, or publishing.
      • Guidance that could fabricate SharePoint IDs, URLs, paths, fields, list names, or file names.
      • Large or vague instructions that may inflate token usage or reduce reliability.
      • Duplicate or overlapping intent with existing local skills.
      • Unsafe HTML, external scripts, external CSS, remote images, or content that may not render under SharePoint CSP.
      • Missing output format, verification steps, or error handling.
    • Classify risk as Low, Medium, or High.
    • If risk is High, recommend adapting only the safe parts or not installing the skill.
    • If risk is Medium, recommend installing only after tightening triggers, adding confirmations, or removing risky instructions.
    • If risk is Low, mention any minor caveats and proceed with the recommendation.
  7. Avoid reinventing the wheel.

    • Prefer installing/adapting relevant supporting skills from PnP over writing all guidance from scratch.
    • If creating a new local skill from scratch, include any relevant PnP-derived patterns in the instructions and cite them in the recommendation summary.
    • If multiple PnP skills are useful, separate them as: direct skill, supporting skill, and reference pattern.
    • Don't install broad or unrelated skills just because they sound similar.
  8. Decide the best path.

    • If a relevant local skill exists, recommend it and activate it.
    • If a nearby local skill exists but doesn't fully cover the task, say what it covers and what's missing.
    • If a direct PnP skill exists, recommend creating a local site skill from it.
    • If supporting PnP skills exist, recommend installing/adapting them locally before creating the task-specific skill.
    • If only reference patterns exist, recommend applying those patterns to the new skill or direct work.
    • If risks are identified, include the risk rating and mitigation in the recommendation.
    • If no relevant skill or pattern exists, recommend creating a new skill from scratch or proceeding directly with tools.
  9. If the user wants a new, supporting, or imported skill, create or adapt it directly.

    • If this site has its own dedicated skill-creation process already loaded or listed, use that; otherwise build the skill yourself following this site's normal skill format (frontmatter with name and description, then instructions).
    • Confirm purpose, triggers, output format, and verifiability before creating it.
    • If adapting a PnP skill, generalize it for this site and preserve only the relevant safe instructions.
    • If installing a supporting skill, keep its scope reusable and don't overfit it to the current task.
    • Remove or rewrite risky instructions before saving locally.
  10. If tool checks fail or return empty, say so plainly.

  • Don't invent site skills, paths, tool results, PnP skill names, repository contents, or risk findings.

Output format

markdown
## Skill check
- Task: <short task summary>
- Local match: <skill name | no matching local skill found | partial match>
- PnP repo: <not checked | checked: direct match | checked: supporting skills found | checked: reference patterns found | checked: no match found | needs user confirmation>
- Recommendation: <load/use local skill | create local skill from PnP | install supporting skills | apply reference patterns | create new skill | proceed directly>
- Supporting skills: <skill names or none>
- Reference patterns: <skill names/patterns or none>
- Risks: <none found | Low | Medium | High - brief reason>
- Mitigation: <none | tighten triggers | remove risky instructions | require confirmation | adapt safe parts only | don't install>
- Notes: <brief reason>

If a skill is loaded, add:

markdown
Loaded `<skill-name>` and I'll use it for this request.

If PnP repo confirmation is needed, ask:

markdown
Want me to search the PnP SharePoint Skills repo for a matching skill?

Examples

User asks: "Do we have a skill for styling this list?"

Output:

markdown
## Skill check
- Task: Style a SharePoint list
- Local match: list-formatting
- PnP repo: not checked
- Recommendation: Load and use local skill
- Supporting skills: none
- Reference patterns: none
- Risks: none found
- Mitigation: none
- Notes: It covers list/library formatting, status indicators, progress bars, and dashboards.

User asks: "Can you help me build a release readiness checklist?"

If no local matching skill is found:

markdown
## Skill check
- Task: Build a release readiness checklist
- Local match: no matching local skill found
- PnP repo: needs user confirmation
- Recommendation: Check PnP repo or proceed directly
- Supporting skills: unknown until checked
- Reference patterns: unknown until checked
- Risks: unknown until checked
- Mitigation: unknown until checked
- Notes: I didn't find a local reusable procedure for this task.

Want me to search the PnP SharePoint Skills repo for a matching skill?

PnP repo has no direct skill but has useful patterns

markdown
## Skill check
- Task: Create a live HTML list report
- Local match: no matching local skill found
- PnP repo: checked: supporting skills found
- Recommendation: Install supporting skills and create a task-specific skill
- Supporting skills: sharepoint-safe-html, exec-report
- Reference patterns: safe HTML rendering, dashboard layout, KPI cards
- Risks: Medium - HTML guidance may include unsafe external assets or broad report-generation triggers
- Mitigation: adapt safe HTML-only patterns, remove external resources, and tighten triggers before saving locally
- Notes: No single PnP skill fully solves the task, but these skills avoid reinventing report and safe HTML guidance.

PnP skill has high-risk behavior

markdown
## Skill check
- Task: Automate bulk permission changes
- Local match: no matching local skill found
- PnP repo: checked: reference patterns found
- Recommendation: Apply reference patterns only
- Supporting skills: none
- Reference patterns: confirmation checklist, dry-run summary
- Risks: High - found guidance touches permissions and bulk changes without enough confirmation steps
- Mitigation: don't install as-is; adapt only the confirmation and audit pattern
- Notes: High-impact SharePoint changes need explicit confirmation and verifiable targets.

常见问题

Find Relevant Skill AI 技能有什么作用?

Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills, then recommend using, installing, adapting, or proceeding without one. Use when the user says: - "Do we have a skill for this?" - "Check site skills first" - "Find a relevant skill" - "Is there a local skill for this?" - When a recurring or site-specific task comes up and no loaded or local skill obviously covers it

为什么在 TypingMind 中使用 Find Relevant Skill?

因为您只需安装一次,就能搭配任何模型使用。Find Relevant Skill 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Find Relevant Skill?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/pnp/sharepoint-skills/tree/main/Skills/find-relevant-skill/find-relevant-skill。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Find Relevant Skill?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Find Relevant Skill 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Find Relevant Skill 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Find Relevant Skill AI 技能免费吗?

是的。pnp 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇