# Get Pr Changed Files

> Fetch a compact, projected list of changed files for a specific Azure DevOps pull request iteration. Returns only file path metadata needed to drive downstream file fetching.

- Skill: `sasky80/get-pr-changed-files` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sasky80/get-pr-changed-files`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sasky80/get-pr-changed-files/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: sasky80 (https://skillmd.com/u/sasky80)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sasky80/get-pr-changed-files

---


# Get PR Changed Files

## Platform Note

- Clean-install path: use the Go command from `.github/tools/skills-go`.

## Arguments

| # | Name | Required | Description |
|---|------|----------|-------------|
| 1 | organization | Yes | Azure DevOps organization |
| 2 | project | Yes | Project name or ID |
| 3 | repositoryId | Yes | Repository name or ID |
| 4 | pullRequestId | Yes | Pull request ID |
| 5 | iterationId | Yes | Iteration ID (from `get-pr-iterations`) |

## Examples

```bash
go run ./.github/tools/skills-go/cmd/skills-go get-pr-changed-files myorg MyProject MyRepo 42 3
```

## Output

Returns JSON in compact projected form:

- `pullRequestId`
- `iterationId`
- `count`
- `files[]` entries with:
  - `path`
  - `changeType`
  - `changeTrackingId`
  - `isFolder`

