blog-smoke-tests — for Claude Code blog-smoke-tests, denser, community, for Claude Code, ide skills, REPORT_DIR, __RESULT__, Replace, with chosen environment URL, Playwright

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need blog smoke tests skill. 本地化技能摘要: # Blog Smoke Tests Skill Run Playwright smoke tests against the Denser blog application. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Blog Smoke Tests Skill
Run Playwright smoke tests against the Denser blog application.
15 smoke tests organized by priority (P0-P4)
Retry logic - max 3 attempts per failing test
Headed/headless modes - choose visible or background execution

# 核心主题

openhive-network openhive-network
[3]
[3]
更新于: 2/20/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
52
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need blog smoke tests skill. 本地化技能摘要: # Blog Smoke Tests Skill Run Playwright smoke tests against the Denser blog application. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: blog-smoke-tests helps agents blog smoke tests skill. Blog Smoke Tests Skill Run Playwright smoke tests against the Denser blog application. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

适用 Agent 类型

适用场景: Ideal for AI agents that need blog smoke tests skill.

赋予的主要能力 · blog-smoke-tests

适用任务: Applying Blog Smoke Tests Skill
适用任务: Applying Run Playwright smoke tests against the Denser blog application
适用任务: Applying 15 smoke tests organized by priority (P0-P4)

! 使用限制与门槛

  • 限制说明: P0 - critical tests only (SMOKE-01, 04, 08)
  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

blog-smoke-tests 是什么?

适用场景: Ideal for AI agents that need blog smoke tests skill. 本地化技能摘要: # Blog Smoke Tests Skill Run Playwright smoke tests against the Denser blog application. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 blog-smoke-tests?

运行命令:npx killer-skills add openhive-network/denser/blog-smoke-tests。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

blog-smoke-tests 适用于哪些场景?

典型场景包括:适用任务: Applying Blog Smoke Tests Skill、适用任务: Applying Run Playwright smoke tests against the Denser blog application、适用任务: Applying 15 smoke tests organized by priority (P0-P4)。

blog-smoke-tests 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

blog-smoke-tests 有哪些限制?

限制说明: P0 - critical tests only (SMOKE-01, 04, 08);限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add openhive-network/denser/blog-smoke-tests。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    blog-smoke-tests 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

blog-smoke-tests

# Blog Smoke Tests Skill Run Playwright smoke tests against the Denser blog application. This AI agent skill supports Claude Code, Cursor, and Windsurf

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Blog Smoke Tests Skill

Run Playwright smoke tests against the Denser blog application.

Features

  • 15 smoke tests organized by priority (P0-P4)
  • Retry logic - max 3 attempts per failing test
  • Headed/headless modes - choose visible or background execution
  • Artifact collection - screenshots and trace.zip on failures
  • HTML report - comprehensive test results report
  • Tracing - Playwright traces for debugging failures

Workflow

Step 1: Ask User Preferences

Before running tests, ask user:

  1. Target environment:

  2. Browser mode:

    • Headed (default) - visible browser, good for debugging
    • Headless - faster, for CI/CD
  3. Test scope:

    • All - run all 15 tests
    • P0 - critical tests only (SMOKE-01, 04, 08)
    • P1 - important tests (SMOKE-05, 06, 07)
    • P2 - tooltip tests (SMOKE-02, 03, 09)
    • P3 - navigation tests (SMOKE-10, 11, 12)
    • P4 - additional tests (SMOKE-13, 14, 15)

Step 2: Prepare Directories

bash
1# Create temp and report directories 2mkdir -p /storage1/denser/apps/blog/playwright/temp_ai_script_tests 3mkdir -p /storage1/denser/apps/blog/playwright/temp_ai_report_tests 4 5# Copy test scripts 6cp /storage1/denser/.claude/skills/blog-smoke-tests/scripts/smoke-*.mjs /storage1/denser/apps/blog/playwright/temp_ai_script_tests/

Step 3: Run Tests with Retry Logic

For each test:

  1. Run test script with REPORT_DIR set
  2. If FAIL, retry up to 2 more times (max 3 attempts total)
  3. Wait 2 seconds between retries
  4. Collect JSON result from output (line starting with __RESULT__)
  5. On failure: artifacts saved automatically (screenshot + trace.zip)

Command to run single test:

bash
1cd /storage1/denser/apps/blog 2BASE_URL=https://blog.openhive.network HEADLESS=false REPORT_DIR=./playwright/temp_ai_report_tests pnpm exec node playwright/temp_ai_script_tests/smoke-XX-name.mjs

Replace:

  • BASE_URL=https://blog.openhive.network with chosen environment URL
  • HEADLESS=false with HEADLESS=true for headless mode

Parsing JSON result: Each test outputs a JSON line prefixed with __RESULT__:

__RESULT__{"id":"SMOKE-01","name":"Homepage Posts","priority":"P0","passed":true,"error":null,"artifacts":[]}

Step 4: Generate HTML Report

After running all tests, collect results and generate HTML report:

bash
1# Option 1: Using generate-report.mjs script 2cd /storage1/denser/apps/blog 3pnpm exec node /storage1/denser/.claude/skills/blog-smoke-tests/scripts/generate-report.mjs '[results-json-array]'

Alternatively, create report manually based on collected results.

Report location: ./playwright/temp_ai_report_tests/report.html

Step 5: Cleanup

After all tests complete:

bash
1rm -f /storage1/denser/apps/blog/playwright/temp_ai_script_tests/smoke-*.mjs

Keep report directory with:

  • report.html - HTML test report
  • SMOKE-XX-failure.png - screenshots of failures
  • SMOKE-XX-trace.zip - Playwright traces for failures

Step 6: Summary

Present results:

========================================
SMOKE TEST SUMMARY: X/Y PASSED
========================================
✓ [P0] SMOKE-01: Homepage Posts
✓ [P0] SMOKE-04: Post Navigation
✓ [P0] SMOKE-08: User Profile
✓ [P1] SMOKE-05: Votes API
...
✗ [P3] SMOKE-11: Categories (3 attempts)
...
========================================

HTML Report: ./playwright/temp_ai_report_tests/report.html
Artifacts: ./playwright/temp_ai_report_tests/

To view traces: npx playwright show-trace ./playwright/temp_ai_report_tests/SMOKE-XX-trace.zip

Artifacts on Failure

When a test fails, the following artifacts are saved:

ArtifactDescriptionLocation
ScreenshotFull page screenshot at failureSMOKE-XX-failure.png
TracePlaywright trace with snapshotsSMOKE-XX-trace.zip

Viewing Traces:

bash
1cd /storage1/denser/apps/blog 2npx playwright show-trace ./playwright/temp_ai_report_tests/SMOKE-04-trace.zip

Test Catalog

PriorityIDNameScript
P0SMOKE-01Homepage Postssmoke-01-homepage-posts.mjs
P0SMOKE-04Post Navigationsmoke-04-post-navigation.mjs
P0SMOKE-08User Profilesmoke-08-profile.mjs
P1SMOKE-05Votes APIsmoke-05-votes-api.mjs
P1SMOKE-06Commentssmoke-06-comments.mjs
P1SMOKE-07Payoutsmoke-07-payout.mjs
P2SMOKE-02Votes Tooltipsmoke-02-votes-tooltip.mjs
P2SMOKE-03Payout Tooltipsmoke-03-payout-tooltip.mjs
P2SMOKE-09Followerssmoke-09-followers.mjs
P3SMOKE-10Tagssmoke-10-tags.mjs
P3SMOKE-11Categoriessmoke-11-categories.mjs
P3SMOKE-12Communitiessmoke-12-communities.mjs
P4SMOKE-13Static Pagessmoke-13-static-pages.mjs
P4SMOKE-14Theme Togglesmoke-14-theme.mjs
P4SMOKE-15Login Buttonsmoke-15-login.mjs

Retry Logic Pattern

javascript
1const MAX_RETRIES = 3; 2const results = []; 3 4for (const test of tests) { 5 let passed = false; 6 let attempts = 0; 7 let lastError = null; 8 let artifacts = []; 9 10 for (let attempt = 1; attempt <= MAX_RETRIES; attempt++) { 11 attempts = attempt; 12 const output = await runTest(test); 13 14 // Parse __RESULT__ from output 15 const resultLine = output.match(/__RESULT__(.+)/); 16 if (resultLine) { 17 const result = JSON.parse(resultLine[1]); 18 passed = result.passed; 19 lastError = result.error; 20 artifacts = result.artifacts; 21 } 22 23 if (passed) break; 24 25 if (attempt < MAX_RETRIES) { 26 console.log(`Retry ${attempt + 1}/${MAX_RETRIES} in 2 seconds...`); 27 await sleep(2000); 28 } 29 } 30 31 results.push({ 32 id: test.id, 33 name: test.name, 34 priority: test.priority, 35 passed, 36 attempts, 37 error: lastError, 38 artifacts 39 }); 40}

Environment Variables

VariableDescriptionDefault
BASE_URLTarget environment URLhttps://blog.openhive.network
HEADLESSRun browser in headless modefalse (headed)
REPORT_DIRDirectory for artifacts and report./playwright/temp_ai_report_tests

Available Environments

EnvironmentURL
Productionhttps://blog.openhive.network
Devhttps://blog.dev.openhive.network
Localhosthttp://localhost:3000

Reference Documentation

  • Test patterns and selectors: See references/test-selectors.md
  • Full documentation: /storage1/denser/docs/playwright-testing-notes.md
  • Blog architecture: /storage1/denser/docs/denser-blog-architecture.md

Directories

PathPurpose
Production URLhttps://blog.openhive.network
Dev URLhttps://blog.dev.openhive.network
Localhost URLhttp://localhost:3000
API URLhttps://api.hive.blog
Working directory/storage1/denser/apps/blog
Temp scriptsplaywright/temp_ai_script_tests/
Reports & artifactsplaywright/temp_ai_report_tests/
Skill scripts/storage1/denser/.claude/skills/blog-smoke-tests/scripts/

相关技能

寻找 blog-smoke-tests 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具