AGENT SKILL

azure-integration

Interact with Azure resources from a QA/test run via the Azure CLI (`az`) — login/auth, discovery, and reading App Service, Storage, Key Vault, and AKS resources. Use whenever a task needs to reach Azure (verify a deployment, tail app logs, read a blob/secret, get AKS credentials) or when `az` is not installed. Read the reference before the first `az` command.

License 许可
MIT
最近更新
2026-10-26
Stars
★ 21
Forks
18

01 前言 Front Matter

name
azure-integration
description
Interact with Azure resources from a QA/test run via the Azure CLI (`az`) — login/auth, discovery, and reading App Service, Storage, Key Vault, and AKS resources. Use whenever a task needs to reach Azure (verify a deployment, tail app logs, read a blob/secret, get AKS credentials) or when `az` is not installed. Read the reference before the first `az` command.

02 资源文件 1

03 SKILL.md 正文

Azure Integration

Role

You connect a test run to Azure infrastructure through the Azure CLI (az, run via Bash). You use Azure to support testing — verifying deployments, tailing logs, and reading resources — not to provision or destroy infrastructure. Prefer read-only commands; get explicit confirmation before any create/update/delete.

Typical tasks

Given a request like "verify the deployment went out" or "check why staging 500s", you:

  1. Identify the target resource — resource group, and the App Service / Storage account / Key Vault / AKS cluster name. Ask if it isn't given, or read it from config/project.json if the project already defines one. Never read .env.
  2. Run the read-only az command that answers the question — the reference below has the exact syntax per resource type.
  3. Report back only what's test-relevant — never the full raw dump.

Output

Report findings in plain text tied to the test task: resource state (e.g. "App Service X last deployment: succeeded, 2 min ago"), the specific log lines that matched, or the specific property value asked for. Never paste a secret's value (see Rules) — name it and confirm it exists / was read, not its content.

Tool

Setup, install, auth, and common commands live in this skill's references/ folder. Read the reference file BEFORE the first az command in a session, and again whenever a command behaves unexpectedly:

  • ${CLAUDE_PLUGIN_ROOT}/skills/azure-integration/references/azure-cli.md — Azure CLI (az): install-if-missing (winget/MSI/brew/apt), auth (interactive, device-code, service-principal), and common commands for App Service, Storage, Key Vault, and AKS.

Rules

  • Preflight az --version before use; install per the reference if it's missing.
  • Never print or log secrets — subscription/tenant IDs, connection strings, Key Vault values, service-principal passwords. Do not echo -p values on az login.
  • Default to read-only (list, show, log tail). Confirm with the user before any command that creates, updates, or deletes a resource.
  • In CI/non-interactive shells, authenticate via service principal from env vars / a secret store — never hardcode credentials.

04 同仓库更多 Skills

MhmdElGazzar
MhmdElGazzar/agentex

ui-check

Execute ui-check: steps in test specs — compare the live page currently open in the browser under test against a declared design baseline: a Figma frame (identifier only; file + token configured once per project) or a screenshot image, in exact mode (every visible detail) or reference mode (only enumerated details can fail). Triggers on spec steps starting with "ui-check:", or requests like "check this page against the design", "compare with the Figma frame", "does the screen match the mockup". Baselines are resolved by the bundled fetch_baseline.js runner — an unresolvable baseline is BLOCKED, never improvised; the comparison verdict itself is agent-vision judgment.

★ 21
MhmdElGazzar
MhmdElGazzar/agentex

tracker-ops

Ad-hoc work-item operations on the configured tracker — Azure DevOps or Jira Cloud — behind one approval per write batch. Use this skill whenever the user asks for a one-off board operation outside the shipped flows: "move PROJ-12 to In Progress", "transition this issue to Done", "comment on bug 4711", "link X to Y", "update the story's title", "create a quick task on the board", "show me work item 42", "search the board for …". Every operation runs through ONE bundled script (dry run by default, REST over built-in fetch — no az, no acli); reads are free, writes show the exact request plan first and need the user's ONE approval before --execute. Unsupported operations are answered upfront from the tracker's capability flags — never guessed, never silently substituted.

★ 21
MhmdElGazzar
MhmdElGazzar/agentex

test-execution

Run test specs against an application and report defects, routing each step to its driver (browser via playwright-cli, API calls, database checks, knowledge-base questions, UI design checks). Use whenever the user wants to test a website, web app, or API for defects (happy paths, edge cases, negative cases), either sequentially (human-in-the-loop, the default) or in parallel (autonomous). Produces per-scenario evidence plus a consolidated defect report. Read this before starting any test run.

★ 21
MhmdElGazzar
MhmdElGazzar/agentex

test-design

Designs test cases for User Stories on the configured tracker — Azure DevOps or Jira Cloud: analyze a story's acceptance criteria into test conditions, map them to test case titles, create the test artifacts (ADO Test Cases with structured steps, or the Jira issue type the user chooses — Jira has no native Test Case type) and link them to the parent story, behind ONE consolidated approval. Use this skill whenever the user wants to: - Analyze a user story and identify test conditions - Map AC scenarios to test case titles using a naming convention - Create test cases in ADO with proper steps, or design test cases for a Jira story - Review whether a story's ACs are fully covered by test cases Trigger on phrases like: "create test cases for story", "design tests for", "design test cases for a Jira story", "what test cases do I need", "analyze story for testing", "map ACs to test conditions", or any time a user story ID or Jira issue key is mentioned alongside test design/coverage work.

★ 21
MhmdElGazzar
MhmdElGazzar/agentex

task-estimation

Creates QA testing tasks with estimation on the configured tracker's User Stories — Azure DevOps or Jira Cloud. Reads the sprint, analyzes each story, then creates all [Testing] tasks (ADO Tasks or Jira sub-tasks) behind ONE consolidated approval, through bundled REST scripts (no Azure CLI, no acli). Use this skill whenever the user wants to: - Add QA tasks to sprint stories in Azure DevOps or Jira - Estimate testing hours for user stories - Create [Testing] tasks on ADO work items or [Testing] sub-tasks on Jira issues - Plan QA effort for a sprint - Break down stories into testing tasks with hours Trigger on phrases like: "create tasks for stories", "add QA tasks", "estimate sprint", "estimate the Jira sprint", "create testing tasks", "create tasks for Jira sprint stories", "add sub-tasks to Jira stories", "plan QA for sprint", "add tasks to stories", or any mention of sprint stories + estimation + testing.

★ 21
MhmdElGazzar
MhmdElGazzar/agentex

swagger-import

Generate an API catalog + suite of test cases (integration/api_test_suites/<service>/) from a Swagger 2.0 or OpenAPI 3.x JSON document. Use for /import-swagger, or requests like "import this swagger doc", "generate endpoint tests from this OpenAPI spec", or the guided wizard (/import-swagger --wizard) that collects real test data and previews basic checks (happy path, not found, no token, missing field) before one approval. Output feeds directly into the endpoint-testing and api-integration skills. This skill generates config and sends no API request of its own; any run, including the wizard's "Approve and run now", goes through endpoint-testing's runner.

★ 21