zephyr

Zephyr Scale CLI - manage test resources, run test cycles interactively, and automate test operations

7 stars

Best use case

zephyr is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Zephyr Scale CLI - manage test resources, run test cycles interactively, and automate test operations

Teams using zephyr should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/zephyr/SKILL.md --create-dirs "https://raw.githubusercontent.com/bun913/zephyr-cli/main/.claude/skills/zephyr/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/zephyr/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How zephyr Compares

Feature / AgentzephyrStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Zephyr Scale CLI - manage test resources, run test cycles interactively, and automate test operations

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Zephyr Scale CLI Operations

The `zephyr` CLI wraps the entire Zephyr Scale REST API. Both users and AI agents can perform the same operations.

## Global Options

Every command accepts:

```
-p, --profile <name>   Profile name (default: "default")
-c, --config <path>    Custom config file path
--text                 Human-readable text output (default: JSON)
--verbose              Detailed logging
```

---

## 1. Snapshot Workflow (Recommended for Test Execution)

The snapshot workflow is the primary way to manage test execution. It syncs a test cycle into a local JSON file, which can be sorted, edited, and played back interactively.

### play init - Interactive Setup

Select a test cycle interactively and create a snapshot:

```bash
zephyr play init
# 1) PRJ-R1: Sprint 1 Regression
# 2) PRJ-R2: Sprint 2 Smoke Test
# Select cycle number: 1
# => Snapshot saved to PRJ-R1.json (42 test cases)
# => Run: zephyr play PRJ-R1.json
```

### snapshot sync - Sync from Zephyr

**Initial sync** (test cycle key to new file):
```bash
zephyr snapshot sync PRJ-R1 -o PRJ-R1.json
```

**Re-sync** (update existing file from Zephyr):
```bash
zephyr snapshot sync PRJ-R1.json
```

**Reload a single test case** (partial update):
```bash
zephyr snapshot sync PRJ-R1.json -t PRJ-T123
```

### snapshot sort - Sort Test Cases

```bash
zephyr snapshot sort PRJ-R1.json --by folder    # by folder path
zephyr snapshot sort PRJ-R1.json --by key       # by test case key
zephyr snapshot sort PRJ-R1.json --by name      # by test case name
zephyr snapshot sort PRJ-R1.json --by status    # by execution status
zephyr snapshot sort PRJ-R1.json --by created   # by creation date
zephyr snapshot sort PRJ-R1.json --by original  # by Zephyr execution order
```

### play - Interactive TUI

Launch the interactive test execution interface:

```bash
zephyr play PRJ-R1.json
zephyr play PRJ-R1.json --filter unexecuted
zephyr play PRJ-R1.json --filter "folder=/Authentication"
zephyr play PRJ-R1.json --filter "status=Fail"
```

The TUI allows step-by-step test execution with keyboard navigation. Both human users and AI agents can drive test cycles through this workflow.

### snapshot record - Record Results (CLI)

Record test results without the TUI:

```bash
# Set overall execution status
zephyr snapshot record PRJ-R1.json PRJ-T123 --status Pass

# Set status with comment
zephyr snapshot record PRJ-R1.json PRJ-T123 --status Fail --comment "Button not visible"

# Update a specific step result
zephyr snapshot record PRJ-R1.json PRJ-T123 --step 0 --status Pass --actual-result "Page loaded"
```

---

## 2. Test Case Management

### Create

```bash
zephyr testcase create \
  --name "Login succeeds with valid credentials" \
  --objective "Verify login flow" \
  --precondition "Login page is displayed" \
  --folder-id 123456 \
  --step "Enter username|Username is entered" \
  --step "Enter password|Password is entered" \
  --step "Click login|Dashboard is displayed"
```

`--step` format: `"description|expected result"` or `"description|test data|expected result"`

### Get / List

```bash
zephyr testcase get PRJ-T123
zephyr testcase list --folder-id 123456
```

### Update (metadata only, does NOT update steps)

```bash
zephyr testcase update PRJ-T123 \
  --name "Updated title" \
  --objective "Updated objective" \
  --folder-id 654321
```

---

## 3. Test Step Management

Use when you need to modify steps after test case creation.

### Create / Replace Steps

```bash
# Overwrite all steps
zephyr teststep create PRJ-T123 \
  --mode OVERWRITE \
  --inline "Step description" \
  --expected-result "Expected result" \
  --test-data "Test data"

# Append new steps
zephyr teststep create PRJ-T123 \
  --mode APPEND \
  --inline "New step" \
  --expected-result "Expected result"
```

### List Steps

```bash
zephyr teststep list PRJ-T123
```

---

## 4. Test Cycle Management

### Create / Get / List / Update

```bash
zephyr testcycle create --name "Sprint 1 Regression" --description "Full regression"
zephyr testcycle get PRJ-R1
zephyr testcycle list
zephyr testcycle update PRJ-R1 --name "Updated name"
```

### Folder Tree (shows test cases grouped by folder)

```bash
zephyr testcycle tree PRJ-R1
```

---

## 5. Test Execution Management

### Create (add a test case to a cycle)

```bash
zephyr testexecution create \
  --test-case-key PRJ-T123 \
  --test-cycle-key PRJ-R1 \
  --status-name "Not Executed"
```

### Update

```bash
# Update single execution
zephyr testexecution update PRJ-E1 --status-name "Pass"

# Bulk update: all executions in a cycle
zephyr testexecution update --test-cycle PRJ-R1 --status-name "Pass"
```

### Get / List

```bash
zephyr testexecution get PRJ-E1
zephyr testexecution list --test-cycle PRJ-R1
```

---

## 6. Test Plan Management

```bash
zephyr testplan create --name "Release v2.0" --objective "Full coverage"
zephyr testplan get PRJ-P1
zephyr testplan list
```

---

## 7. Folder Management

### Create

```bash
zephyr folder create \
  --name "Authentication" \
  --folder-type TEST_CASE \
  --parent-id 12345   # omit for root folder
```

### Get / List / Tree

```bash
zephyr folder get 12345
zephyr folder list --folder-type TEST_CASE
zephyr folder tree
```

---

## 8. Other Resources

### Environments

```bash
zephyr environment list
zephyr environment get 1
zephyr environment create --name "Production"
zephyr environment update 1 --name "Staging"
```

### Statuses

```bash
zephyr status list
zephyr status list --status-type TEST_EXECUTION
zephyr status get 1
zephyr status create --name "In Review" --type TEST_CASE
```

### Priorities

```bash
zephyr priority list
zephyr priority get 1
zephyr priority create --name "Critical"
```

### Projects

```bash
zephyr project list
zephyr project get PRJ
```

### Issue Links (Jira integration)

```bash
zephyr issuelink testcases JIRA-123
zephyr issuelink testcycles JIRA-123
zephyr issuelink testplans JIRA-123
zephyr issuelink executions JIRA-123
```

### Open in Browser

```bash
zephyr open PRJ-T123   # test case
zephyr open PRJ-R1     # test cycle
zephyr open PRJ-P1     # test plan
```

---

## Typical AI Agent Workflow

1. **Setup**: `zephyr play init` or `zephyr snapshot sync PRJ-R1 -o PRJ-R1.json`
2. **Sort**: `zephyr snapshot sort PRJ-R1.json --by folder`
3. **Review**: Read `PRJ-R1.json` to understand test cases and steps
4. **Execute**: `zephyr snapshot record PRJ-R1.json PRJ-T123 --status Pass`
5. **Re-sync**: `zephyr snapshot sync PRJ-R1.json` to pull latest from Zephyr

## Notes

- All commands output JSON by default. Add `--text` for human-readable output.
- Use `jq` for filtering: `zephyr testcase list | jq '.[].key'`
- Project key is read from the profile config; no need to pass `--project-key` for most commands.
- The snapshot JSON file is the source of truth during a test execution session. Always re-sync before starting.

Related Skills

zephyr-rtos

509
from a5c-ai/babysitter

Specialized skill for Zephyr RTOS development and configuration

quality-engineering-zephyr-test-generation

385
from HoangNguyen0403/agent-skills-standard

Generate Zephyr test cases from Jira stories: parse AC, identify platform and market, impact-analyze existing TCs (update vs create new), draft test cases with correct naming/metadata/preconditions, and link back via Create Test Case Issue Link. Use when converting a Jira story into Zephyr TCs, or when requirement changes require updating existing TCs rather than creating duplicates. (triggers: **/user_story.md, generate test cases, zephyr, impact analysis, create test case)

quality-engineering-zephyr-coverage-analysis

385
from HoangNguyen0403/agent-skills-standard

Audit test coverage health, gaps, and QE debt for Jira stories or epics. Produces coverage_analysis_report.md with AC-to-TC heatmap, risk scores, and prioritized action plan. Use when assessing coverage percentage, pre-release readiness, sprint readiness, or identifying missing test cases. Do NOT use for TC creation — use zephyr-test-generation instead. (triggers: coverage analysis, test coverage, coverage gaps, QE debt, QE audit, pre-release readiness, sprint readiness, coverage_analysis_report.md, zephyr coverage, test gap, AC coverage, test-ready)

quality-engineering-zephyr-test-generation

25
from ComeOnOliver/skillshub

End-to-end Jira → Zephyr workflow: parse AC, identify platform and market, impact-analyze existing TCs (update vs create new), draft test cases with correct naming/metadata/preconditions, and link back via create_test_case_issue_link. Use when converting a Jira story into Zephyr TCs, or when requirement changes require updating existing TCs rather than creating duplicates. (triggers: **/user_story.md, generate test cases, zephyr, impact analysis, create test case)

workspace-surface-audit

144923
from affaan-m/everything-claude-code

Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.

DevelopmentClaude

ui-demo

144923
from affaan-m/everything-claude-code

Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.

Developer ToolsClaude

token-budget-advisor

144923
from affaan-m/everything-claude-code

Offers the user an informed choice about how much response depth to consume before answering. Use this skill when the user explicitly wants to control response length, depth, or token budget. TRIGGER when: "token budget", "token count", "token usage", "token limit", "response length", "answer depth", "short version", "brief answer", "detailed answer", "exhaustive answer", "respuesta corta vs larga", "cuántos tokens", "ahorrar tokens", "responde al 50%", "dame la versión corta", "quiero controlar cuánto usas", or clear variants where the user is explicitly asking to control answer size or depth. DO NOT TRIGGER when: user has already specified a level in the current session (maintain it), the request is clearly a one-word answer, or "token" refers to auth/session/payment tokens rather than response size.

Productivity & Content CreationClaude

skill-comply

144923
from affaan-m/everything-claude-code

Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines

DevelopmentClaude

santa-method

144923
from affaan-m/everything-claude-code

Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.

Quality AssuranceClaude

safety-guard

144923
from affaan-m/everything-claude-code

Use this skill to prevent destructive operations when working on production systems or running agents autonomously.

DevelopmentClaude

repo-scan

144923
from affaan-m/everything-claude-code

Cross-stack source code asset audit — classifies every file, detects embedded third-party libraries, and delivers actionable four-level verdicts per module with interactive HTML reports.

DevelopmentClaude

project-flow-ops

144923
from affaan-m/everything-claude-code

Operate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains the internal execution layer. Use when the user wants backlog control, PR triage, or GitHub-to-Linear coordination.

DevelopmentClaude