Skip to content

feat: add convert-excel-to-md, convert-pdf-to-md, and convert-word-to-md skills#2294

Open
1YaoWei0 wants to merge 14 commits into
github:mainfrom
1YaoWei0:contribute-convert-to-md-skills
Open

feat: add convert-excel-to-md, convert-pdf-to-md, and convert-word-to-md skills#2294
1YaoWei0 wants to merge 14 commits into
github:mainfrom
1YaoWei0:contribute-convert-to-md-skills

Conversation

@1YaoWei0

Copy link
Copy Markdown

Add three new agent skills that convert common document formats to Markdown using bundled Python scripts powered by MarkItDown:

  • convert-excel-to-md: Converts .xlsx workbooks to Markdown with per-sheet tables and embedded image extraction via a bundled Python script.
  • convert-pdf-to-md: Converts .pdf documents to Markdown with text/table extraction and embedded image extraction via PyMuPDF.
  • convert-word-to-md: Converts .docx documents to Markdown with proper image extraction replacing MarkItDown's base64 placeholders.

Each skill includes:

  • SKILL.md with detailed usage instructions, output structure docs, and a troubleshooting table
  • scripts/ with the conversion Python script and requirements.txt
  • references/setup.md with environment setup instructions

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch for this pull request.

Description


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • New canvas extension.
  • Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

…-md skills

Add three new agent skills that convert common document formats to Markdown
using bundled Python scripts powered by MarkItDown:

- convert-excel-to-md: Converts .xlsx workbooks to Markdown with per-sheet
  tables and embedded image extraction via a bundled Python script.
- convert-pdf-to-md: Converts .pdf documents to Markdown with text/table
  extraction and embedded image extraction via PyMuPDF.
- convert-word-to-md: Converts .docx documents to Markdown with proper
  image extraction replacing MarkItDown's base64 placeholders.

Each skill includes:
- SKILL.md with detailed usage instructions, output structure docs, and
  a troubleshooting table
- scripts/ with the conversion Python script and requirements.txt
- references/setup.md with environment setup instructions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@1YaoWei0 1YaoWei0 requested a review from aaronpowell as a code owner July 14, 2026 08:03
Copilot AI review requested due to automatic review settings July 14, 2026 08:03
@github-actions github-actions Bot added new-submission PR adds at least one new contribution skills PR touches skills labels Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 17 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 5
ℹ️ Info 3
Severity Rule File Line Match
🟠 package-exec-command docs/README.skills.md 31 | [acreadiness-assess](../skills/acreadiness-assess/SKILL.md)&lt;br /&gt;`gh skills install github/awesome-copilot acreadiness-assess` | Run the AgentRC readiness assessment on the curre
ℹ️ skill-script-touched skills/convert-excel-to-md/scripts/convert_excel_to_md.py 1 skills/convert-excel-to-md/scripts/convert_excel_to_md.py
🟠 unpinned-version-indicator skills/convert-excel-to-md/scripts/requirements.txt 1 markitdown[xlsx]&gt;=0.1.0
ℹ️ skill-script-touched skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py 1 skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
🟠 unpinned-version-indicator skills/convert-pdf-to-md/scripts/requirements.txt 1 markitdown[pdf]&gt;=0.1.0
🟠 unpinned-version-indicator skills/convert-pdf-to-md/scripts/requirements.txt 2 pymupdf&gt;=1.24.0
ℹ️ skill-script-touched skills/convert-word-to-md/scripts/convert_word_to_md.py 1 skills/convert-word-to-md/scripts/convert_word_to_md.py
🟠 unpinned-version-indicator skills/convert-word-to-md/scripts/requirements.txt 1 markitdown[docx]&gt;=0.1.0

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions github-actions Bot added the skill-check-error Skill validator reported errors label Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🔍 Vally Lint Results

✅ All checks passed

Scope Checked
Skills 3
Agents 0
Total 3
Severity Count
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ npm warn EBADENGINE Unsupported engine {
ℹ️ npm warn EBADENGINE package: 'commander@15.0.0',
ℹ️ npm warn EBADENGINE required: { node: '>=22.12.0' },
ℹ️ npm warn EBADENGINE current: { node: 'v20.20.2', npm: '10.8.2' }
ℹ️ npm warn EBADENGINE }
ℹ️ npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
ℹ️ ✅ convert-excel-to-md (2/2 checks passed)
ℹ️ ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
ℹ️ ✓ spec-compliance: All spec checks passed.
ℹ️ ✓ [valid-refs] All file references across 1 skill(s) are valid.
Full linter output
### Linting skills/convert-excel-to-md
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'commander@15.0.0',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.20.2', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
✅ convert-excel-to-md (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

### Linting skills/convert-pdf-to-md
✅ convert-pdf-to-md (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

### Linting skills/convert-word-to-md
✅ convert-word-to-md (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds three document-to-Markdown skills using MarkItDown, with image extraction, batch conversion, setup guidance, and generated catalog entries.

Changes:

  • Adds Excel, PDF, and Word conversion scripts.
  • Documents installation, usage, output, and troubleshooting.
  • Registers all three skills in the skills catalog.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
skills/convert-excel-to-md/SKILL.md Defines the Excel conversion skill.
skills/convert-excel-to-md/scripts/requirements.txt Declares Excel dependencies.
skills/convert-excel-to-md/scripts/convert_excel_to_md.py Converts workbooks and extracts images.
skills/convert-excel-to-md/references/setup.md Documents Excel setup.
skills/convert-pdf-to-md/SKILL.md Defines the PDF conversion skill.
skills/convert-pdf-to-md/scripts/requirements.txt Declares PDF dependencies.
skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Converts PDFs and extracts images.
skills/convert-pdf-to-md/references/setup.md Documents PDF setup.
skills/convert-word-to-md/SKILL.md Defines the Word conversion skill.
skills/convert-word-to-md/scripts/requirements.txt Declares Word dependencies.
skills/convert-word-to-md/scripts/convert_word_to_md.py Converts DOCX files and extracts images.
skills/convert-word-to-md/references/setup.md Documents Word setup.
docs/README.skills.md Adds the skills to the catalog.

Comment thread skills/convert-excel-to-md/references/setup.md Outdated
Comment thread skills/convert-pdf-to-md/references/setup.md Outdated
Comment thread skills/convert-word-to-md/references/setup.md Outdated
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py Outdated
The CI valid-refs linter flagged the literal Markdown image syntax
containing a data URI as an invalid file reference. Replaced it with
a plain text description of the placeholder format.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 14, 2026 08:10
@github-actions github-actions Bot removed the skill-check-error Skill validator reported errors label Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Comment thread docs/README.skills.md Outdated
Comment thread skills/convert-word-to-md/references/setup.md Outdated
Comment thread skills/convert-pdf-to-md/references/setup.md Outdated
Comment thread skills/convert-excel-to-md/references/setup.md Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 08:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 9 comments.

Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Outdated
Comment thread skills/convert-excel-to-md/references/setup.md Outdated
Comment thread skills/convert-pdf-to-md/references/setup.md Outdated
Comment thread skills/convert-word-to-md/references/setup.md Outdated
Comment thread skills/convert-excel-to-md/SKILL.md Outdated
Comment thread skills/convert-excel-to-md/references/setup.md Outdated
Comment thread skills/convert-pdf-to-md/references/setup.md Outdated
Comment thread skills/convert-word-to-md/references/setup.md Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 08:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py Outdated
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py Outdated
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.

Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py Outdated
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Outdated
Comment thread skills/convert-word-to-md/references/setup.md Outdated
Comment thread skills/convert-pdf-to-md/references/setup.md Outdated
Comment thread skills/convert-excel-to-md/references/setup.md Outdated
@bishop335

Copy link
Copy Markdown

#2294 (review)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 14, 2026 09:44
Copilot AI review requested due to automatic review settings July 14, 2026 13:53
@github-actions github-actions Bot added the plugin PR touches plugins label Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Comment thread plugins/convert-to-md/.github/plugin/plugin.json Outdated
Comment thread plugins/convert-to-md/.github/plugin/plugin.json
Copilot AI review requested due to automatic review settings July 14, 2026 13:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 6 comments.

Comment thread plugins/convert-to-md/.github/plugin/plugin.json
Comment thread plugins/convert-to-md/.github/plugin/plugin.json
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 14:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 12 comments.

Comment thread plugins/convert-to-md/.github/plugin/plugin.json
Comment thread plugins/convert-to-md/README.md Outdated
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py
Comment thread skills/convert-word-to-md/SKILL.md
Comment thread skills/convert-pdf-to-md/SKILL.md
Comment thread skills/convert-excel-to-md/SKILL.md
Copilot AI review requested due to automatic review settings July 14, 2026 14:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 5 comments.

Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Outdated
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread plugins/convert-to-md/README.md Outdated

@aaronpowell aaronpowell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment I have on the Excel setup is applicable to all skills

Comment thread skills/convert-excel-to-md/references/setup.md Outdated
@aaronpowell

Copy link
Copy Markdown
Contributor

There are also some copilot comments worth reviewing, esp the one about the README.

@1YaoWei0 1YaoWei0 changed the title feat: add convert-to-md, convert-pdf-to-md, and convert-word-to-md skills feat: add convert-excel-to-md, convert-pdf-to-md, and convert-word-to-md skills Jul 14, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 14, 2026 23:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 8 comments.

Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py Outdated
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Outdated
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py Outdated
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py Outdated
Copilot AI review requested due to automatic review settings July 15, 2026 05:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 12 comments.

Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-pdf-to-md/scripts/convert_pdf_to_md.py
Comment thread skills/convert-word-to-md/references/setup.md
Comment thread skills/convert-pdf-to-md/references/setup.md
Comment thread skills/convert-excel-to-md/references/setup.md
Comment thread skills/convert-word-to-md/scripts/convert_word_to_md.py
Comment thread skills/convert-excel-to-md/scripts/convert_excel_to_md.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-submission PR adds at least one new contribution plugin PR touches plugins skills PR touches skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants