project-testing
建立專案測試模式
團隊經常撰寫不一致且難以維護的測試。這項技能為 Claude、Codex 和 Claude Code 提供共用的測試結構,涵蓋 fixtures、mocks、覆蓋率與 CI 範圍。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "project-testing" from https://skillstore.io/skills/consiliency-project-testing.md and its manifest at https://skillstore.io/api/skills/consiliency-project-testing/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「project-testing」。 規劃訂單建立功能的測試。
預期結果:
- 助理會將驗證用的單元測試與持久化用的整合測試分開。
- 它會建議可重複使用的使用者與訂單 fixtures。
- 它會包含清理需求和覆蓋率目標。
正在使用「project-testing」。 審查 checkout 的 E2E 測試提案。
預期結果:
- 助理會檢查提案是否涵蓋完整的使用者工作流程。
- 它會標記可能變得不穩定的 timing-dependent steps。
- 它會建議 pull requests、merges 或 nightly runs 的 CI placement。
正在使用「project-testing」。 為新模組標準化測試檔案名稱。
預期結果:
助理會將每種測試類型對應到已記錄的命名模式,並說明每個檔案應放置的位置。
安全審計
安全The static findings are false positives caused by Markdown backticks and a fenced Python example in SKILL.md. The reviewed file provides testing guidance only, with no executable shell commands, prompt injection attempt, data exfiltration intent, or malicious workflow.
風險因素
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/consiliency-project-testing/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/consiliency-project-testing?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/consiliency-project-testing?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/consiliency-project-testing/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/consiliency-project-testing.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
Consiliency. (2026). project-testing security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/consiliency-project-testing/audits/8BibTeX 引用
@techreport{consiliency-consiliency-project-testing-2026,
author = {Consiliency},
title = {project-testing security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/consiliency-project-testing/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "project-testing security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "Consiliency"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/consiliency-project-testing/audits/8"
identifiers:
- type: other
value: "skillstore:consiliency-project-testing:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
建立聚焦的單元測試
使用此技能讓生成的單元測試保持隔離、快速,並符合本機命名規則。
規劃整合覆蓋率
使用此技能圍繞元件互動、database fixtures 和清理預期來建構測試。
標準化 QA 工作流程
使用此技能在專案中對齊 E2E 測試、覆蓋率目標和 CI 測試群組。
試試這些提示
使用 project-testing skill。決定這應該是單元、整合還是 E2E 測試,然後說明測試範圍。
使用 project-testing skill 為此函式規劃單元測試。包含隔離需求、fixtures、命名和清理檢查。
使用 project-testing skill 為此工作流程設計整合測試。識別 fixtures、mock services、database setup 和預期清理。
使用 project-testing skill 建立發布測試策略。涵蓋單元、整合、E2E、覆蓋率目標、CI timing 和 flake 風險。
最佳實務
- 在依賴此技能之前,先將範本 placeholders 替換為真實的專案路徑。
- 要求測試計畫時,提供待測程式碼或工作流程。
- 要求助理為每個測試說明清理和隔離假設。
避免
- 不要將此技能用作執行實際測試套件的替代品。
- 不要接受依賴執行順序或固定 timing 的生成測試。
- 不要在正式測試指南中保留 placeholder fixture 和 mock names。
常見問題
這項技能會執行測試嗎?
哪些工具可以使用這項技能?
它可以生成真實的測試檔案嗎?
它包含專案特定的 fixtures 嗎?
它對 E2E 測試有用嗎?
應該先自訂什麼?
開發者詳細資訊
作者
Consiliency授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
d11af420e07cd866fe39cfa937efef3223896c06
維護新鮮度
2026/7/22
使用量
7 次下載 · 253 次瀏覽
檔案結構
📄 SKILL.md