Skip to content

Update image link conventions and post-edit-checks skill scope#111

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/update-copilot-instructions
Draft

Update image link conventions and post-edit-checks skill scope#111
Copilot wants to merge 2 commits intomasterfrom
copilot/update-copilot-instructions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

Copilot instructions used /images/ as the canonical image path format, which breaks local serving. Inline body images need {{site.baseurl}}/images/ to work in both local and deployed environments. Also, the post-edit-checks skill was scoped to edits only, missing new post creation via issues or agent tasks.

Changes

.github/copilot-instructions.md

  • Corrected image path convention to distinguish: inline body images use {{site.baseurl}}/images/foo.png; YAML front matter image: field uses /images/foo.png (processed by Java, not the template engine)

.github/instructions/post.instructions.md

  • Expanded "Images and Assets" section with explicit examples for both patterns
  • Sharpened review checklist item to call out the distinction clearly
  • Added checklist item to run post-edit-checks skill before finalising

.github/skills/post-edit-checks/SKILL.md

  • Updated scope from "edited content" to "new or edited blog post content"
  • Added explicit directive: always run after creating or editing a post, including when created from a GitHub issue or agent task

Image reference patterns

<!-- Post body inline image — must use {{site.baseurl}} -->
![Alt text]({{site.baseurl}}/images/foo.png)
# YAML front matter — uses /images/ directly
image: /images/foo.png
Original prompt

Update copilot instructions and post edit review skill to ensure relative links are in the format{{site.baseurl}}/images/batch-from-scratch.png to ensure that the links work both locally and when live.

Also update the post edit ski;las to make sure its run when creating=ting a new post via issue or agent task


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

… and new post creation

Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Copilot AI changed the title [WIP] Update copilot instructions for relative links Update image link conventions and post-edit-checks skill scope Mar 18, 2026
Copilot AI requested a review from teggr March 18, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants