소스 정보
- 저장소
- ThinkfleetAI/thinkfleet-engine
- 최근 소스 활동
- 2026년 2월 1일 16:21
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- azure-devops
- description
- Manage Azure DevOps work items, pipelines, and repos via the REST API.
- metadata
- {"thinkfleetbot":{"emoji":"🔷","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# Azure DevOps
Manage work items, pipelines, and repos via the Azure DevOps REST API.
## Environment Variables
- `AZDO_ORG_URL` - Organization URL (e.g. `https://dev.azure.com/yourorg`)
- `AZDO_PAT` - Personal access token
- `AZDO_PROJECT` - Default project name (optional)
## Auth header
```bash
AZDO_AUTH=$(echo -n ":$AZDO_PAT" | base64)
```
## List projects
```bash
curl -s -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
"$AZDO_ORG_URL/_apis/projects?api-version=7.1" | jq '.value[] | {name, state}'
```
## Get work item
```bash
curl -s -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
"$AZDO_ORG_URL/$AZDO_PROJECT/_apis/wit/workitems/123?api-version=7.1" | jq '{id, title: .fields["System.Title"], state: .fields["System.State"], assignedTo: .fields["System.AssignedTo"].displayName}'
```
## Create work item
```bash
curl -s -X POST -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
-H "Content-Type: application/json-patch+json" \
"$AZDO_ORG_URL/$AZDO_PROJECT/_apis/wit/workitems/\$Bug?api-version=7.1" \
-d '[
{"op": "add", "path": "/fields/System.Title", "value": "Login page broken"},
{"op": "add", "path": "/fields/System.Description", "value": "Description here"}
]' | jq '{id, url}'
```
## Query work items (WIQL)
```bash
curl -s -X POST -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
-H "Content-Type: application/json" \
"$AZDO_ORG_URL/$AZDO_PROJECT/_apis/wit/wiql?api-version=7.1" \
-d '{"query": "SELECT [System.Id],[System.Title],[System.State] FROM WorkItems WHERE [System.State] = '\''Active'\'' ORDER BY [System.ChangedDate] DESC"}' | jq '.workItems[] | {id, url}'
```
## List pipelines
```bash
curl -s -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
"$AZDO_ORG_URL/$AZDO_PROJECT/_apis/pipelines?api-version=7.1" | jq '.value[] | {id, name}'
```
## Run pipeline
```bash
curl -s -X POST -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
-H "Content-Type: application/json" \
"$AZDO_ORG_URL/$AZDO_PROJECT/_apis/pipelines/123/runs?api-version=7.1" \
-d '{"resources": {"repositories": {"self": {"refName": "refs/heads/main"}}}}' | jq '{id: .id, state: .state}'
```
## List repos
```bash
curl -s -H "Authorization: Basic $(echo -n ":$AZDO_PAT" | base64)" \
"$AZDO_ORG_URL/$AZDO_PROJECT/_apis/git/repositories?api-version=7.1" | jq '.value[] | {name, defaultBranch, webUrl}'
```
## Notes
- Use API version `7.1` for latest features.
- PATs can be scoped to specific permissions (work items, code, build, etc.).
- Work item type names in URLs must be prefixed with `$` (e.g. `$Bug`, `$Task`).
- Always confirm before creating work items or running pipelines.
GitHub에서 보기