Skills Plugins MCP Prompt Model 博客 我的中心
開発 #python #automation

gauge-skill

Generates Gauge test specifications in Markdown with step implementations in Java, Python, JS, or Ruby. ThoughtWorks' test automation framework. Use when user mentions "Gauge", "spec file", "## Scenario", "step implementation". Triggers on: "Gauge", "Gauge spec", "Gauge framework", "ThoughtWorks test".

DeepseekModel キュレーション済みスキル 品質 優秀 · 78 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=lambdatest-agent-skills-gauge-skill-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name gauge-skill description Generates Gauge test specifications in Markdown with step implementations in Java, Python, JS, or Ruby. ThoughtWorks' test automation framework. Use when user mentions "Gauge", "spec file", "## Scenario", "step implementation". Triggers on: "Gauge", "Gauge spec", "Gauge framework", "ThoughtWorks test". languages ["Java","Python","JavaScript","Ruby","C#"] category bdd-testing license MIT metadata {"author":"TestMu AI","version":"1.0"} Gauge Automation Skill Core Patterns Specification (specs/login.spec) # Login Feature ## Successful Login * Navigate to login page * Enter email "user@test.com" * Enter password "password123" * Click login button * Verify dashboard is displayed * Verify welcome message contains "Welcome" ## Invalid Credentials * Navigate to login page * Enter email "wrong@test.com" * Enter password "wrong" * Click login button * Verify error message "Invalid credentials" is shown ## Login with multiple users |email |password |expected | |-----------------|---------|----------| |admin@test.com |admin123 |Dashboard | |user@test.com |pass123 |Dashboard | |bad@test.com |wrong |Error | * Login as < email > with < password > * Verify < expected > page is shown Step Implementation — Java import com.thoughtworks.gauge.Step; import com.thoughtworks.gauge.Table; public class LoginSteps { WebDriver driver; @Step("Navigate to login page") public void navigateToLogin () { driver.get( "http://localhost:3000/login" ); } @Step("Enter email <email>") public void enterEmail (String email) { driver.findElement(By.id( "email" )).sendKeys(email); } @Step("Enter password <password>") public void enterPassword (String password) { driver.findElement(By.id( "password" )).sendKeys(password); } @Step("Click login button") public void clickLogin () { driver.findElement(By.cssSelector( "button[type='submit']" )).click(); } @Step("Verify dashboard is displayed") public void verifyDashboard () { assertTrue(driver.getCurrentUrl().contains( "/dashboard" )); } } Step Implementation — Python from getgauge.python import step from selenium import webdriver @step( "Navigate to login page" ) def navigate_to_login (): driver.get( "http://localhost:3000/login" ) @step( "Enter email <email>" ) def enter_email ( email ): driver.find_element_by_id( "email" ).send_keys(email) @step( "Click login button" ) def click_login (): driver.find_element_by_css_selector( "button[type='submit']" ).click() Concepts (Reusable Step Groups — specs/concepts/login.cpt) # Login as < email > with < password > * Navigate to login page * Enter email < email > * Enter password < password > * Click login button Setup: gauge install java (or python , js , ruby ) Init: gauge init java Run: gauge run specs/ or gauge run specs/login.spec Cloud Execution on TestMu AI Set environment variables: LT_USERNAME , LT_ACCESS_KEY // StepImplementation.java ChromeOptions browserOptions = new ChromeOptions (); HashMap<String, Object> ltOptions = new HashMap <>(); ltOptions.put( "user" , System.getenv( "LT_USERNAME" )); ltOptions.put( "accessKey" , System.getenv( "LT_ACCESS_KEY" )); ltOptions.put( "build" , "Gauge Build" ); ltOptions.put( "platformName" , "Windows 11" ); ltOptions.put( "video" , true ); ltOptions.put( "console" , true ); browserOptions.setCapability( "LT:Options" , ltOptions); Driver.setWebDriver( new RemoteWebDriver ( new URL ( "https://hub.lambdatest.com/wd/hub" ), browserOptions)); Tags: gauge run --tags "smoke" (use Tags: smoke in spec) Deep Patterns See reference/playbook.md for production-grade patterns: Section What You Get §1 Project Setup Installation, project structure, environment properties §2 Spec Files Markdown scenarios, data tables, concepts (.cpt) §3 Step Implementations Java steps, table-driven steps, assertions §4 Hooks & Execution BeforeSuite/Scenario/Step, screenshots, browser logs §5 Page Objects BasePage, concrete pages, usage in steps §6 Data Management ScenarioDataStore, SpecDataStore, CSV data §7 LambdaTest Integration Remote driver factory with LT:Options §8 CI/CD Integration GitHub Actions with parallel execution, XML reports §9 Debugging Table 12 common problems with causes and fixes §10 Best Practices 14-item Gauge testing checklist
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。