Skip to content

Agents | Add Azure DevOps work item markdown formatting guide#4253

Draft
paulmedynski wants to merge 3 commits intomainfrom
dev/paul/ado-instructions
Draft

Agents | Add Azure DevOps work item markdown formatting guide#4253
paulmedynski wants to merge 3 commits intomainfrom
dev/paul/ado-instructions

Conversation

@paulmedynski
Copy link
Copy Markdown
Contributor

Description

This PR adds comprehensive instructions for ensuring markdown content is properly formatted when creating or updating Azure DevOps work items.

Changes

  • New file: .github/instructions/ado-work-items-markdown.instructions.md

    • Safe two-step conversion pattern for changing field format without data loss
    • Newline integrity validation checks
    • Batch verification scripts for compliance
    • Common failure modes and troubleshooting
  • Updated: AGENTS.md

    • Added link to new instruction guide in the technical instructions table

Context

These instructions document the workflow discovered while updating 26 work items (4 stories + 22 tasks) for the pipeline implementation project. The patterns ensure:

  • Markdown content is properly rendered (not HTML)
  • Newline characters are preserved in multi-line descriptions
  • Format changes don't result in data loss
  • Bulk updates can be verified for compliance

- Create ado-work-items-markdown.instructions.md with safe patterns for markdown description updates
- Document two-step conversion for changing field format without data loss
- Include newline integrity checks and batch verification scripts
- Update AGENTS.md to link new instruction guide for discoverability
Copilot AI review requested due to automatic review settings April 30, 2026 19:06
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Apr 30, 2026
@paulmedynski paulmedynski added the Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems. label Apr 30, 2026
@paulmedynski paulmedynski moved this from To triage to In progress in SqlClient Board Apr 30, 2026
@paulmedynski paulmedynski added this to the 7.1.0-preview2 milestone Apr 30, 2026
@paulmedynski paulmedynski marked this pull request as ready for review April 30, 2026 19:09
@paulmedynski paulmedynski requested a review from a team as a code owner April 30, 2026 19:09
@paulmedynski paulmedynski moved this from In progress to In review in SqlClient Board Apr 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new repository instruction guide documenting a safe, repeatable workflow for updating Azure DevOps work item descriptions to Markdown while preserving newline integrity, and links it from the agent guidance index.

Changes:

  • Added a new instruction file under .github/instructions/ covering az rest JSON-patch patterns and verification scripts for System.Description Markdown formatting.
  • Updated AGENTS.md to reference the new guide in the “Detailed Technical Instructions” table.
  • Minor formatting tweaks in AGENTS.md (additional blank lines for readability).

Reviewed changes

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

File Description
.github/instructions/ado-work-items-markdown.instructions.md New guide documenting Markdown formatting rules, safe update steps, and post-update verification checks for ADO work items.
AGENTS.md Adds a link to the new ADO work item Markdown guide in the technical instructions table (plus minor spacing adjustments).

Comment thread .github/instructions/ado-work-items-markdown.instructions.md Outdated
Comment thread .github/instructions/ado-work-items-markdown.instructions.md Outdated
Comment thread .github/instructions/ado-work-items-markdown.instructions.md
Comment thread .github/instructions/ado-work-items-markdown.instructions.md Outdated
@paulmedynski paulmedynski enabled auto-merge (squash) May 5, 2026 11:52
mdaigle
mdaigle previously approved these changes May 5, 2026
- Tested it with this PRs comments.
Copilot AI review requested due to automatic review settings May 5, 2026 20:01
@paulmedynski paulmedynski changed the title docs: Add Azure DevOps work item markdown formatting guide Agents | Add Azure DevOps work item markdown formatting guide May 5, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 3 out of 3 changed files in this pull request and generated 2 comments.

Comment on lines +45 to +47
```bash
desc=$(az boards work-item show --id <id> | jq -r '.fields["System.Description"] // ""')
```
Comment on lines +1 to +6
---
name: review-pr-feedback
description: Uses gh CLI to collect unresolved PR review feedback, optionally includes discussion comments, applies fixes, and reports status.
argument-hint: pr=<number-or-url> repo=<owner/repo-optional> includeDiscussionComments=<true|false> authorFilter=<optional regex or csv> testScope=<optional test hint>
tools: ['edit/editFiles', 'edit/createFile', 'read/readFile', 'read/problems', 'search/codebase', 'search/textSearch', 'search/fileSearch', 'execute/runInTerminal', 'execute/getTerminalOutput']
---
@paulmedynski paulmedynski marked this pull request as draft May 8, 2026 16:48
auto-merge was automatically disabled May 8, 2026 16:48

Pull request was converted to draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems.

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants