# List Repositories

> List all Git repositories in an Azure DevOps project. Use when you need to discover repository names or IDs before fetching pull request details.

- Skill: `sasky80/list-repositories` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sasky80/list-repositories`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sasky80/list-repositories/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/list-repositories

---


# List Repositories

## 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 |

## Examples

```bash
go run ./.github/tools/skills-go/cmd/skills-go list-repositories myorg MyProject
```

## Output

Returns JSON with a `value` array of repository objects, each containing `id`, `name`, `defaultBranch`, and `project` info.

