Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-dotnet-markdownsyncfusion dotnet Markdown 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

879

周安装

37

GitHub Stars

公开资料未说明

下载量

308
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-dotnet-markdown(syncfusion dotnet Markdown 控制)
来源仓库:https://github.com/syncfusion/document-sdk-skills
仓库路径:skills/syncfusion-dotnet-markdown
安装命令:
npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-dotnet-markdown
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-dotnet-markdown

简介

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。

  • 适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。
  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • syncfusion-dotnet-markdown 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Markdown Document Processing

Overview

Create, edit, and convert Markdown (.md) files using the Syncfusion Markdown Library. This skill supports two operational modes — generating C# code for the user's project or executing tasks directly through a CSX script.

Key Capabilities

  • Create & Edit: paragraphs, headings, lists, tables, images, hyperlinks, code blocks, blockquotes, task lists
  • Parse & Modify: load from files/streams, iterate and update blocks and inlines
  • Serialization: convert Markdown document models back to plain Markdown text and write to files
  • Advanced Features: custom parsing events, image loading handlers, nested lists, task list support

Prerequisites

Quick Start Examples

Example 1: Generate Code (Mode 1)

User: "Show me how to create a Markdown document with a table"

Result: C# code snippet displayed (no files created)

Example 2: Execute Task (Mode 2)

User: "Create a Markdown file at output/report.md"

Result: Physical file created at specified path

Two Modes — Choose Based on User Intent

Before choosing a mode, infer what the user wants to accomplish:

Mode 1: Generate C# Code for the User's Project *(default)*

Use this mode when the user wants to view, write, review, refactor, or modify C# code related to Markdown processing.

Trigger keywords: "show me how", "how to", "how can I", "how do I", "provide code", "provide an example", "give an example", "demonstrate", "code snippet", "sample code", "example", "sample", "give me", "show me", "Program.cs", "example code", "generate code for", "codesnippet"

Workflow:

Step 1 — Detect the Application Type and Suggest the Correct NuGet Package(s)

  • Inspect the workspace project files (.csproj, web.config, App.config, Startup.cs, Program.cs, etc.) and use the detection signals table in references/nuget-packages.md to identify the application type.
  • Look up the correct package(s) from references/nuget-packages.md based on the detected app type and tell the user to install them before generating any code.

Step 2 — Generate Code from Reference Files Only

Do NOT invent, guess, or suggest any API, method, property, class, or namespace not explicitly present in the reference files.

  • Read the relevant references/*.md file(s) for the requested feature
  • Build C# code strictly from the APIs and snippets found in those files
  • Select the correct snippet variant based on the app type detected in Step 1:

- Windows-specific apps (WinForms, WPF,.NET Framework Console, ASP.NET MVC5) → use Windows-specific snippets - Cross-platform apps (ASP.NET Core,.NET Core/.NET 5+ Console, Blazor, MAUI) → use cross-platform / .Net.Core snippets

  • Do not create or run any .csx script

Mode 2: Execute via CSX Script *(does not modify project files)*

Use this mode only when the user explicitly requests execution, file generation, or a fully produced output (such as a completed md file).

Trigger keywords: "create a markdown document", "make a markdown file", "generate markdown", "parse markdown", "convert markdown to HTML", "open", "edit", "modify", "change" a .md file, "without modifying my project", "run a csx script", or when the user provides a file path (e.g., output/report.md).

Workflow:

Step 1 — Create Temp CSX Script

  • Start with references/template.csx as the base
  • Create at: {skill-root}/syncfusion-dotnet-markdown/scripts/temp-{uniqueId}.csx (e.g., skill-root = .codestudio/skills)
  • Use random GUID for unique filename (e.g., temp-a3f7b2c1.csx); never create in workspace root

Step 2 — Build Script from Reference Files

  • Do NOT invent APIs/methods not in reference files
  • Read relevant references/*.md file(s) and extract code snippets
  • Replace all placeholders: file paths, document properties, data values, field names, etc.

Step 3 — Execute Script

  • Run: dotnet script {skill-root}/syncfusion-dotnet-markdown/scripts/temp-{uniqueId}.csx
  • Verify successful execution and capture any errors

Step 4 — Clean Up and Report

  • Delete the temp .csx file after execution
  • Report SUCCESS/ERROR with output file path(s) and any error messages with fixes

Code References

All templates and snippets are in the references/ folder:

FileContents
template.csxBase CSX script structure (Mode 2 only)
document-structure.mdCreate/load/save markdown documents, DOM structure, block and inline elements
create-markdown.mdCreate markdown documents from scratch, add paragraphs, headings, formatting
parse-markdown.mdParse markdown from files/streams, process blocks, iterate content, modify parsed documents
text-formatting.mdApply bold, italic, strikethrough, code span, subscript, superscript formatting
headings-styles.mdApply heading styles (H1-H6), paragraph styles, blockquotes
lists.mdCreate numbered and bulleted lists, nested lists (up to 8 levels), list formatting
tables.mdCreate tables with column alignments (left, center, right), add rows and cells
hyperlinks.mdAdd hyperlinks with display text, URLs, and screen tips
images.mdInsert images from URLs or bytes, alt text, image formats, base64 encoding
code-blocks.mdCreate fenced and indented code blocks, language specification
blockquotes.mdCreate blockquotes with nesting levels
task-lists.mdCreate task lists with checked/unchecked checkboxes (GitHub-style)
advanced-features.mdAdvanced markdown features, custom parsing, events

Rules

  • Output files go in ./output/ directory
  • Temp .csx scripts must be created inside {skill-root}/syncfusion-dotnet-markdown/scripts/ — never in the workspace root or customer scripts/ folder
  • Never use Python libraries (e.g., python-markdown)
  • Never leave temp .csx files after execution

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.86%
按下载量换算104

Claude

32.38%
按下载量换算100

Cursor

18.99%
按下载量换算58

Gemini CLI

8.81%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills