In-Depth
In Agentic AI, It's All About the Markdown
As a tech journalist who quickly latched onto agentic AI to improve my editorial processes, I've become a Markdown maven.
Markdown, as every Visual Studio Magazine reader knows, was previously best known for those ubiquitous README.md files in GitHub repositories. But in the world of agentic AI, Markdown has become the lingua franca for prompting and output formatting.
Markdown began in 2004 as one developer's solution to writing HTML more comfortably, was institutionalized by GitHub into the language of open source, got standardized by community efforts such as CommonMark, and then -- starting in late 2024 -- started to become the instruction layer through which humans govern AI agents, an effort that went into hyperdrive just last year and is continuing yet this month.
I didn't know anything about Markdown other than those README.md files until I recently started using Visual Studio Code's new "Agent Skill" tech, which was experimental when I created my first SKILL.md file to address the drudgery of formatting freelance articles. Now it's a multi-function monster, clocking in at more than 4,000 words to provide directions for all kinds of functionality. I'm constantly amazed at the logic I can introduce to guide my agentic AI tools to act as my editorial assistant savants.
Designed to automatically detect the author of whatever freelance article it is fed for formatting to make our CMS happy, some of the things it does include:
- Format raw article text into clean, CMS-ready HTML.
- Normalize typography and punctuation (straight quotes, double hyphen dashes, remove double spaces, AP-style quote punctuation).
- Apply AP-style numeral rules in prose (e.g., 10+ as numerals).
- Convert subsection headings into the required CMS subhead markup.
- Convert Word-style bullets into proper HTML lists (
<ul><li>).
- Turn inline URLs into anchored links (
<a>) with target="_blank".
- Create a one-sentence article summary (except McCaffrey workflow).
- Generate three "Key Takeaways" bullets for the sidebar (or use provided takeaways for McCaffrey).
- Format code snippets for technical articles (McCaffrey workflow) while preserving code integrity.
- Generate X/Bluesky and LinkedIn social posts appended after
</html>.
- Run an interactive QA pass that proposes minimal typos/grammar fixes and applies only what you approve.
I now use versions of the same file for GitHub Copilot and Amazon Q Developer in VS Code, as well as in custom GPTs housed in my company's private ChatGPT environment.
[Click on image for larger view.] Agent Skills in VS Code (source: GitHub).
VS Code is a natural fit for the new use cases for Markdown, which was actually supported in the first edition of Microsoft's popular code editor back in 2015. As usual, Visual Studio (the IDE) was later to the party, announcing support in 2022. Of course, Microsoft's remarkable Visual Studio guru, Mads Kristensen, was way ahead of the game as usual, creating his Markdown Editor for Visual Studio way back in 2016, now with more than 640,000 installs even though it only supports version up to 2019. In 2021 he created Markdown Editor v2 for Visual Studio for later versions, which has more than 190,000 installs.
Visual Studio 2026 continues to catch up, just a few months ago announcing Mermaid support and code highlighting in Markdown previews (Mermaid is a text-based diagramming language that lets you generate flowcharts, sequence diagrams, Gantt charts, and other visuals directly from plain-text syntax).
Here's a summarized review of the whole scene, focusing on Microsoft's tooling and the role of Markdown in agentic AI workflows.
Markdown Becomes an AI Instruction Layer in VS Code
In VS Code, Markdown is no longer limited to documentation and content authoring. It is now a first-class way to persist guidance that Copilot can apply across chats and tasks. Microsoft's documentation describes the intent plainly: "Custom instructions enable you to define common guidelines and rules that automatically influence how AI generates code and handles other development tasks."
From an engineering workflow perspective, the important shift is that these instructions can be stored alongside code, reviewed in pull requests, and shared across teams. GitHub formalized that repository-centric approach in early 2025: "Copilot chat will automatically apply these instructions whenever you're chatting about that repository."
- Practical effect: Markdown moves from a passive artifact (readme-style explanation) to an active artifact (always-on behavioral guidance for an assistant).
- Why it fits Visual Studio Magazine readers: it aligns AI behavior with existing, battle-tested practices like source control, code review, and repo-level conventions.
- Why it's showing up everywhere: it is lightweight, diff-friendly, and already ubiquitous in GitHub-driven workflows.
Prompt Files Turn Prompting into a Reusable, Versioned Asset
VS Code's Copilot customization story is not just "always-on rules." It also supports task-scoped prompt templates stored as Markdown. The VS Code documentation defines the concept this way: "Prompt files, also known as slash commands, let you simplify prompting for common tasks by encoding them as standalone Markdown files that you can invoke directly in chat."
This is a meaningful change in day-to-day practice. Instead of retyping complex instructions (or relying on personal prompt snippets), teams can check prompt templates into the repo. Microsoft's .NET blog summarizes the repo convention in concrete terms: "Place it in the '.github/prompts' folder in your workspace with the filename format '[promptname].prompt.md'."
GitHub's documentation notes where this capability is showing up across the IDE ecosystem: "Prompt files are only available in VS Code, Visual Studio, and JetBrains IDEs."
| Markdown Artifact |
What It Does In Practice |
Where It Shows Up |
| .github/copilot-instructions.md |
Always-on guidance that shapes Copilot chat behavior for a repo |
VS Code, Visual Studio, GitHub.com Copilot chat contexts (source) |
| .github/prompts/*.prompt.md |
Reusable, invokable prompt templates for common tasks |
VS Code prompt files experience (source) |
| SKILL.md |
Skill packaging entry point for specialized, repeatable agent workflows |
Copilot Agent Skills in VS Code and beyond (source) |
Agent Skills: Markdown as a Packaging Format for Repeatable Workflows
Prompt files help you repeat a task. Agent Skills aim to repeat a capability. In Microsoft's VS Code documentation, "Agent Skills are folders of instructions, scripts, and resources that GitHub Copilot can load when relevant to perform specialized tasks."
GitHub's changelog announcement framed the impact in workflow terms: "You can now create Agent Skills to teach Copilot how to perform specialized tasks in a specific, repeatable way."
For Visual Studio and VS Code users, the significance is that Markdown is becoming the human-readable "contract" for what the agent should do, when it should do it, and what resources it should use. This is the same core idea that made README.md so successful for humans, now extended to include machine-consumable guidance for an agent that can plan and act.
- Documentation role: explains a system to humans.
- Instruction role: constrains and steers an AI system operating inside the codebase.
- Skill role: bundles instructions with resources so an agent can repeat a workflow reliably across sessions and tools.
Visual Studio 2026 Makes Markdown a More Capable Working Surface
Visual Studio 2026's release notes make it clear Microsoft is investing in Markdown as an in-IDE surface, not just a file type. The release notes describe a cluster of Markdown improvements around preview control and AI-assisted flows. For example, Visual Studio 2026 adds new preview modes and controls, including: "Split Preview shows the editor and preview side by side, Open Preview shows only the preview, and Edit Markdown shows just the editor."
The same release notes connect Markdown previews to diagram-centric authoring, calling out Mermaid integration directly in the IDE: "We are excited to announce that Visual Studio now supports rendering Mermaid charts in the Markdown editor, where you can provide your own Mermaid syntax or have Copilot generate it for you!"
Visual Studio 2026 also pushes Markdown deeper into Copilot workflows. The release notes describe a path from Copilot-generated Markdown to IDE editing: "You can now preview any markdown content generated by Copilot Chat directly in the Visual Studio Markdown editor."
Taken together, these moves make Markdown more than a convenient documentation format inside Visual Studio. It becomes a practical interchange format for AI-generated artifacts (instructions, diagrams, formatted content) that developers can immediately preview, refine, and save as real project files.
Why Markdown Works for AI Governance in Microsoft Tooling
The most important story here is not that Markdown is popular again. It is that Microsoft and GitHub are treating Markdown as a stable, auditable control surface for AI behavior inside developer tools. The platform direction is visible in how the features are presented: instructions are "automatically" applied in VS Code via Markdown files (custom instructions), prompts are encoded as "standalone Markdown files" (prompt files), and skills are "folders of instructions, scripts, and resources" (Agent Skills).
For teams, this brings familiar software practices to AI usage:
- Reviewability: instruction and prompt changes can be reviewed like code changes.
- Reproducibility: project-specific guidance is not trapped in individual chat history.
- Portability: the same Markdown artifacts can travel with the repo across machines and contributors.
- Transparency: guidance remains readable to humans without tooling-specific configuration UIs.
Milestones: Markdown's New Role in GitHub, VS Code and Visual Studio
This table focuses on the recent "agentic era" milestones most relevant to Visual Studio Magazine readers, where Markdown is explicitly positioned as an AI customization mechanism in Microsoft tooling.
| Date |
Milestone |
Organization |
Primary Source |
| 2025-01-21 |
Repo-scoped custom instructions via .github/copilot-instructions.md for Copilot chat across Visual Studio, VS Code, and GitHub.com |
GitHub |
GitHub Changelog announcement |
| 2025-12-18 |
Agent Skills announced for Copilot (skills as folders, with Markdown as a core ingredient) |
GitHub |
GitHub Changelog announcement |
| 2026-02-10 |
Visual Studio 2026 release notes highlight Markdown preview enhancements, Mermaid rendering in Markdown editor, and previewing Copilot-generated Markdown |
Microsoft |
Visual Studio 2026 release notes |
What to Watch Next
If Markdown is becoming the instruction layer for agentic workflows in Microsoft tooling, the next questions are less about syntax and more about operational discipline:
- Team conventions: what belongs in always-on instructions versus task-specific prompt files.
- Scope control: keeping AI guidance targeted, so it stays accurate and maintainable over time.
- Governance patterns: establishing review requirements for changes to instruction, prompt, and skill files.
- Tooling evolution: richer IDE experiences for authoring, validating, and diagnosing AI-related Markdown artifacts, similar to how teams lint and test code today.
Markdown began as a way to write HTML more comfortably. In the GitHub-first developer world, it became the default language of collaboration. In Visual Studio 2026 and VS Code's agentic tooling, it is increasingly becoming the interface layer between developer intent and machine action.
As far as the continuing evolution of Markdown for agentic AI continuing this month, I was referring to the Cloudflare announcement just a couple weeks ago that introduced a feature called Markdown for Agents that automatically converts HTML pages to Markdown on the fly when AI agents request them via content negotiation, a capability designed to treat AI agents as "first-class citizens" and streamline how they consume structured content across the web.
So Markdown is still advancing fast and furiously in agentic AI, so stay tuned.