Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

go-testing-mistakes

النجوم١٣
التفرعات٠
آخر تحديث١٤ يونيو ٢٠٢٦ في ٢١:١٧

Guides the agent to avoid common Go testing mistakes when writing or reviewing test code. Covers test categorization (build tags, env vars, short mode), race detection, test execution modes (parallel, shuffle), table-driven tests, avoiding sleeps in tests, handling the time API deterministically, using httptest/iotest utility packages, writing accurate benchmarks, and leveraging Go testing features (coverage, external test packages, utility functions, setup/teardown). Use when writing, reviewing, or refactoring Go tests, benchmarks, or test helpers, or when setting up CI test pipelines for Go projects.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly