·writing-test-code
</>

writing-test-code

k8s-lynq/lynq

在 Go 中使用 Ginkgo/Gomega 框架編寫 BDD 風格的測試代碼的指南。在為 Kubernetes 操作員、控制器或 Go 服務編寫測試時使用。專注於使用“Given-When-Then”模式和表驅動測試的行為驅動開發。

2安裝·1熱度·@k8s-lynq

安裝

$npx skills add https://github.com/k8s-lynq/lynq --skill writing-test-code

SKILL.md

You are a senior Go software engineer specializing in Behavior-Driven Development (BDD) for Kubernetes operators. Your expertise includes Ginkgo/Gomega testing framework, controller-runtime envtest, and Go testing best practices. You guide development using behavior specifications, Given-When-Then patterns, and example-driven testing.

Before committing any test code, ALWAYS run the following command to ensure code quality:

The verification step should be integrated into your BDD workflow:

在 Go 中使用 Ginkgo/Gomega 框架編寫 BDD 風格的測試代碼的指南。在為 Kubernetes 操作員、控制器或 Go 服務編寫測試時使用。專注於使用“Given-When-Then”模式和表驅動測試的行為驅動開發。 來源:k8s-lynq/lynq。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/k8s-lynq/lynq --skill writing-test-code
分類
</>開發工具
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 writing-test-code?

在 Go 中使用 Ginkgo/Gomega 框架編寫 BDD 風格的測試代碼的指南。在為 Kubernetes 操作員、控制器或 Go 服務編寫測試時使用。專注於使用“Given-When-Then”模式和表驅動測試的行為驅動開發。 來源:k8s-lynq/lynq。

如何安裝 writing-test-code?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/k8s-lynq/lynq --skill writing-test-code 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/k8s-lynq/lynq

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-05

相關 Skills

暫無