Skip to content

Fix 404 badge link: Update Prompt to Skills directory - #170

Merged
hustcc merged 2 commits into
mainfrom
copilot/update-prompt-badge-url
Jan 18, 2026
Merged

hustcc merged 2 commits into
mainfrom
copilot/update-prompt-badge-url

Conversation

Copilot AI commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

The README badge linking to ./prompt.md returns 404. Updated to point to the existing .skills directory.

Changes

  • README.md: Badge link changed from ./prompt.md → https://github.com/antvis/Infographic/tree/main/.skills, label updated to "Skills"
  • README.zh-CN.md: Badge link changed from ./prompt.zh-CN.md → https://github.com/antvis/Infographic/tree/main/.skills, label updated to "Skills"

The .skills directory contains: infographic-creator, infographic-syntax-creator, infographic-structure-creator, infographic-item-creator, and infographic-template-updater.

Original prompt

readme 中的 prompt badge 地址 404 了,改成 Skills ,地址:https://github.com/antvis/Infographic/tree/main/.skills


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: hustcc <7856674+hustcc@users.noreply.github.com>
Copilot AI changed the title [WIP] Update prompt badge URL in README Jan 16, 2026
Copilot AI requested a review from hustcc January 16, 2026 06:53
@hustcc
hustcc marked this pull request as ready for review January 16, 2026 10:38
@hustcc
hustcc self-requested a review January 16, 2026 10:55
@hustcc
hustcc marked this pull request as draft January 16, 2026 10:56
@hustcc
hustcc marked this pull request as ready for review January 16, 2026 10:57
@hustcc
hustcc requested a review from Copilot January 16, 2026 11:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes broken badge links in both README files that were returning 404 errors. The badges previously pointed to non-existent prompt.md files and now correctly link to the .skills directory where AI/Copilot skill configurations are stored.

Changes:

  • Updated badge links from broken relative paths (./prompt.md, ./prompt.zh-CN.md) to working absolute GitHub URLs pointing to .skills directory
  • Changed badge labels from "Prompt" to "Skills" to accurately reflect the linked content

Reviewed changes

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

File Description
README.md Fixed 404 badge link by updating href from ./prompt.md to the .skills directory URL, updated label to "Skills"
README.zh-CN.md Fixed 404 badge link by updating href from ./prompt.zh-CN.md to the .skills directory URL, updated label to "Skills"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hustcc
hustcc self-requested a review January 18, 2026 11:26
@hustcc
hustcc merged commit 51a4899 into main Jan 18, 2026
@hustcc
hustcc deleted the copilot/update-prompt-badge-url branch January 18, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants