verification-protocol
80以證據驗證代理完成狀態
AI 代理可能在沒有證明的情況下將工作標記為完成,造成虛假完成的風險。此技能要求在接受任務完成前提供獨立證據。
建立可靠的 Vitest 測試模式
團隊需要針對 TypeScript 服務、代理和 API 路由的一致測試。此技能提供 Vitest 模式,包含 Supabase 模擬和明確的通過率預期。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "testing-patterns" from https://skillstore.io/skills/cleanexpo-testing-patterns.md and its manifest at https://skillstore.io/api/skills/cleanexpo-testing-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「testing-patterns」。 請求針對會處理輸入並拒絕無效值的服務方法提供單元測試模式。
預期結果:
一份精簡的測試大綱,包含設定步驟、成功處理案例,以及無效輸入的錯誤斷言。
正在使用「testing-patterns」。 請求針對透過 Supabase 讀取任務的代理提供測試指引。
預期結果:
一份 mock 計畫,會替換 Supabase client、回傳受控資料,並驗證代理結果。
正在使用「testing-patterns」。 請求針對缺少必要參數的 API 路由測試。
預期結果:
一份路由測試計畫,會建立本機請求、呼叫 handler,並檢查預期的狀態和錯誤訊息。
All static findings were false positives caused by Markdown backticks, fenced TypeScript examples, and a localhost test URL. No prompt injection, data exfiltration intent, or malicious network behavior was found in SKILL.md.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/cleanexpo-testing-patterns/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/cleanexpo-testing-patterns?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/cleanexpo-testing-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cleanexpo-testing-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/cleanexpo-testing-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>CleanExpo. (2026). testing-patterns security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cleanexpo-testing-patterns/audits/8@techreport{cleanexpo-cleanexpo-testing-patterns-2026,
author = {CleanExpo},
title = {testing-patterns security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/cleanexpo-testing-patterns/audits/8},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "testing-patterns security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "CleanExpo"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/cleanexpo-testing-patterns/audits/8"
identifiers:
- type: other
value: "skillstore:cleanexpo-testing-patterns:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
0xdarkmatter-testing-patterns
2026-10-12
在為新的 TypeScript 功能新增服務測試時,套用共享的 Vitest 結構。
為代理和面向資料庫的程式碼建立可預測的測試,而無需呼叫即時 Supabase 專案。
使用 API 路由測試模式來檢查必要參數、狀態碼和回應錯誤訊息。
使用 testing-patterns skill 為我的 TypeScript service 概述 Vitest unit test。包含 setup、一個 success case,以及一個 error case。
使用 testing-patterns skill 為從 Supabase 讀取的程式碼設計 Vitest test。顯示我應該設定的 mock behavior。
使用 testing-patterns skill 為需要 workspace_id 並回傳 validation errors 的 Next.js API route 規劃測試。
使用 testing-patterns skill 檢視我目前的 test plan。找出缺少的 unit、integration、agent 和 end-to-end 覆蓋範圍。
作者
CleanExpo授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
d11af420e07cd866fe39cfa937efef3223896c06
維護新鮮度
2026/7/22
使用量
6 次下載 · 211 次瀏覽
檔案結構
📄 SKILL.md
以證據驗證代理完成狀態
AI 代理可能在沒有證明的情況下將工作標記為完成,造成虛假完成的風險。此技能要求在接受任務完成前提供獨立證據。
為行銷建立 AI 影片規劃
行銷團隊在使用生成工具之前,需要清晰的影片規劃。此技能可將行銷活動構想轉換為腳本、鏡頭清單、平台注意事項與剪輯指引。
用證據驗證 SEO 主張
SEO 文案經常包含難以驗證的主張。這項技能會引導 Claude、Codex 和 Claude Code 追溯主張來源、評估信心分數,並區分事實與預測。
打造無障礙視覺體驗
視覺體驗在不同頁面之間可能變得不一致、緩慢或不具無障礙性。此技能會以明確的安全限制,引導動畫、圖庫、展示與 Three.js 更新。
對漏斗中的決策時刻進行映射
行銷活動團隊經常錯過阻礙買家繼續前進的關鍵問題。此技能會將每個漏斗階段轉化為清晰的時刻、證明需求、素材、通路與留存行動。
撰寫經驗證的轉換文案
行銷頁面常常聽起來千篇一律,並提出無法驗證的主張。此技能協助 Claude、Codex 和 Claude Code 產出以研究為基礎、聚焦明確的文案。
建立實用的測試策略
由 Atman36
團隊經常在沒有明確範圍、工具或覆蓋率目標的情況下新增測試。此技能為 Vitest、Playwright 和 CI 測試提供實用計畫。
提升 Playwright 測試覆蓋率
由 C0ntr0lledCha0s
當設定、定位器和 fixtures 不一致時,Playwright 測試套件可能會變得不穩定。此技能提供可靠瀏覽器測試、除錯和可重用 page objects 的實用模式。
建構可靠的測試自動化
由 89jobrien
薄弱的測試會拖慢發布並掩蓋回歸問題。此技能可引導測試策略、TDD、自動化、覆蓋率審查,以及 Playwright 網頁檢查。
Audit NestJS Code with Evidence-Backed Findings
由 amirtaherkhani
NestJS repositories can hide boundary flaws and runtime risks that lint results alone cannot reveal. This skill combines local evidence collection and semantic review into one prioritized report.
使用 starknet.js 建置 Starknet 應用程式
由 internet-court
Starknet 整合需要精確處理提供者、帳戶、交易與費用。此技能為 Claude、Codex 與 Claude Code 提供實用的 starknet.js v9 模式。
改善 Vue 3 程式碼品質
由 vuejs-ai
Vue 專案常會隨時間累積響應性、元件和效能方面的錯誤。此技能提供針對性的 Vue 3 指引,協助採用更安全的模式並寫出更清晰的程式碼。