starknet-js
83使用 starknet.js 建置 Starknet 應用程式
Starknet 整合需要精確處理提供者、帳戶、交易與費用。此技能為 Claude、Codex 與 Claude Code 提供實用的 starknet.js v9 模式。
快速撰寫 GenLayer 直接測試
當每次變更都需要完整節點或容器時,GenLayer 合約測試可能會很緩慢。此技能可協助 Claude、Codex 和 Claude Code 使用 pytest fixtures、模擬與 VMContext 控制功能,建立聚焦的直接模式測試。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "direct-tests" from https://skillstore.io/skills/internet-court-direct-tests.md and its manifest at https://skillstore.io/api/skills/internet-court-direct-tests/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「direct-tests」。 為儲存並回傳項目狀態的合約方法新增直接測試。
預期結果:
一份聚焦的測試計畫,包含部署、傳送者設定、項目建立、狀態斷言,以及獨立的無效輸入案例。
正在使用「direct-tests」。 測試從網路端點讀取價格的合約方法。
預期結果:
一套直接模式測試方法,包含模擬的價格回應、合約更新呼叫,以及針對已剖析數值和錯誤處理的斷言。
正在使用「direct-tests」。 檢閱我的直接測試,找出遺漏的涵蓋範圍。
預期結果:
一份將直接模式案例與共識及即時整合案例分開的涵蓋範圍檢查清單。
All 30 external-command alerts are false positives caused by Markdown backticks in documentation, not executable shell or Ruby substitutions. The two reconnaissance alerts describe contract-test state snapshots and authorization cases, not host discovery. No prompt injection, data exfiltration, or malicious intent was found.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/internet-court-direct-tests/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/internet-court-direct-tests?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/internet-court-direct-tests?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/internet-court-direct-tests/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/internet-court-direct-tests.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>internet-court. (2026). direct-tests security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/internet-court-direct-tests/audits/2@techreport{internet-court-internet-court-direct-tests-2026,
author = {internet-court},
title = {direct-tests security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/internet-court-direct-tests/audits/2},
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: "direct-tests security audit report (audit version 2)"
version: "unspecified"
type: report
authors:
- name: "internet-court"
date-released: "2026-07-21"
url: "https://skillstore.io/skills/internet-court-direct-tests/audits/2"
identifiers:
- type: other
value: "skillstore:internet-court-direct-tests:audit:2"
description: "Skillstore immutable audit report identifier"
為合約方法、狀態變更和預期回傳值建立快速的直接測試。
在整合測試之前,測試傳送者變更、僅限擁有者的方法、未授權呼叫和預期的 revert。
使用模擬的網路回應和 LLM 輸出,驗證合約剖析邏輯。
使用 direct-tests 為此 GenLayer 合約方法新增 pytest 直接模式測試。設定傳送者、部署合約、呼叫方法,並斷言預期狀態。
使用 direct-tests 為無效輸入、未授權傳送者行為和預期的 revert 新增測試。讓每個測試聚焦於單一失敗案例。
使用 direct-tests,以模擬的網路回應或 LLM 輸出測試此合約邏輯。包含成功和剖析失敗情境。
使用 direct-tests 為此 GenLayer 合約設計直接模式測試套件。涵蓋狀態轉換、存取控制、邊界案例、模擬的非確定性呼叫,以及需要整合測試的缺口。
授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
3f6e026a3363e0954ede7bef0cfe88d4475de137
維護新鮮度
2026/7/20
使用量
1 次下載 · 0 次瀏覽
檔案結構
使用 starknet.js 建置 Starknet 應用程式
Starknet 整合需要精確處理提供者、帳戶、交易與費用。此技能為 Claude、Codex 與 Claude Code 提供實用的 starknet.js v9 模式。
建構 ChainGPT Web3 AI 應用程式
Web3 開發者在撰寫整合程式碼之前,需要清楚了解 ChainGPT 產品的 API 指引。此技能彙整了 ChainGPT 應用程式的端點、SDK、成本與實作模式。
分析 Nansen 代幣持有者品質
代幣團隊需要了解持有者是高品質錢包,還是短期散戶資金流。此技能使用 Nansen CLI 指令,比較聰明錢持有者、標籤資金流與買家品質。
分析 Nansen 錢包概況
錢包調查需要針對餘額、標籤、損益和關聯性重複執行許多 Nansen CLI 呼叫。此技能可為 Claude、Codex 和 Claude Code 使用者組織這些工作流程。
使用 Nansen 研究代幣
代幣分析師需要可重複執行的命令,以進行深入的鏈上與市場研究。此技能引導 Claude、Codex 和 Claude Code 使用 Nansen CLI 工作流程,分析持有者、資金流、交易、PnL 與永續合約。
追蹤聰明錢錢包活動
加密貨幣分析師需要快速掌握知名錢包買入、賣出及持有的資產。此技能會引導 Claude、Codex 和 Claude Code 使用 Nansen 聰明錢 CLI 查詢。
使用 pytest TDD 建置 Python 測試
由 89jobrien
Python 團隊經常需要一致的測試、覆蓋率和報告,同時不失去 TDD 紀律。此技能為 Claude、Codex 和 Claude Code 提供以 pytest 為核心的工作流程、範例與報告指南。
建構可靠的測試自動化
由 89jobrien
薄弱的測試會拖慢發布並掩蓋回歸問題。此技能可引導測試策略、TDD、自動化、覆蓋率審查,以及 Playwright 網頁檢查。
在整個程式碼庫中規劃可靠測試
由 0xDarkMatter
這項技能協助團隊選擇測試策略、mock、資料 fixture、覆蓋率 gate 和 CI 模式,而不混淆測試範圍。它為 Claude、Codex 和 Claude Code 提供針對單元、整合、端對端、TDD 與管線測試的結構化指引。
有系統地偵錯軟體問題
由 Asmayaseen
缺乏結構的錯誤修復會浪費時間,並可能掩蓋真正的失敗原因。此技能會引導 Claude、Codex 和 Claude Code 進行以證據為基礎的根本原因分析。
建構更好的 Go 測試
由 89jobrien
Go 團隊需要在單元、整合、mock、基準測試和覆蓋率方面維持一致的測試。此 skill 提供 Claude、Codex 和 Claude Code 可在開發期間套用的實用 Go 測試模式。
強制執行瀑布式階段關卡
由 Chemiseblanc
AI coding 工作階段在壓力升高時,可能會跳過需求、設計或測試。此技能會透過有文件記錄的關卡,讓工作維持在嚴格的瀑布式流程內。