cloudflare-turnstile
✓使用 Turnstile(驗證碼替代方案)添加機器人保護。使用場合:保護表單、保護登錄/註冊、防止垃圾郵件、從 reCAPTCHA 遷移、與 React/Next.js/Hono 集成、實施 E2E 測試或調試 CSP 錯誤、令牌驗證失敗或錯誤代碼 100*/300*/600*。
SKILL.md
Status: Production Ready Last Updated: 2025-10-22 Dependencies: None (optional: @marsidev/react-turnstile for React) Latest Versions: @marsidev/react-turnstile@1.3.1, turnstile-types@1.2.3
ALWAYS validate the token server-side. Client-side verification alone is not secure.
✅ Call Siteverify API - Server-side validation is mandatory ✅ Use HTTPS - Never validate over HTTP ✅ Protect secret keys - Never expose in frontend code ✅ Handle token expiration - Tokens expire after 5 minutes ✅ Implement error callbacks - Handle failures gracefully ✅ Use dummy keys for testing - Test sitekey: 1x00000000000000000000AA
使用 Turnstile(驗證碼替代方案)添加機器人保護。使用場合:保護表單、保護登錄/註冊、防止垃圾郵件、從 reCAPTCHA 遷移、與 React/Next.js/Hono 集成、實施 E2E 測試或調試 CSP 錯誤、令牌驗證失敗或錯誤代碼 100*/300*/600*。 來源:ovachiever/droid-tings。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/ovachiever/droid-tings --skill cloudflare-turnstile- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 cloudflare-turnstile?
使用 Turnstile(驗證碼替代方案)添加機器人保護。使用場合:保護表單、保護登錄/註冊、防止垃圾郵件、從 reCAPTCHA 遷移、與 React/Next.js/Hono 集成、實施 E2E 測試或調試 CSP 錯誤、令牌驗證失敗或錯誤代碼 100*/300*/600*。 來源:ovachiever/droid-tings。
如何安裝 cloudflare-turnstile?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ovachiever/droid-tings --skill cloudflare-turnstile 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/ovachiever/droid-tings
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01