Communitygithub.com

jwynia/godot-best-practices

指導 AI 代理遵循 Godot 4.x GDScript 編碼最佳實踐,包括場景組織、信號、資源、狀態機和效能優化。

godot-best-practices 是什麼?

此技能旨在指導 AI 代理(如 Claude Code、Cursor、Codex 等)在生成 GDScript 程式碼、建立 Godot 場景或設計遊戲架構時,遵循 Godot 4.x 的編碼最佳實踐。它涵蓋了關鍵領域,包括場景組織、信號系統、資源管理、狀態機實作、物件池化、存檔/讀取系統以及效能優化技巧。使用此技能可確保生成的程式碼符合 Godot 社群公認的標準,例如正確使用 `@export` 標註、型別提示、Autoload 模式,以及避免常見的陷阱。它支援所有基於 Godot 4.x 的開發環境,並提供清晰的指引,幫助開發者建立可維護、高效且可擴展的遊戲專案。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jwynia/agent-skills/tree/main/skills/godot-best-practices

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

godot-best-practices 是做什麼的?

指導 AI 代理遵循 Godot 4.x GDScript 編碼最佳實踐,包括場景組織、信號、資源、狀態機和效能優化。此技能應在生成 GDScript 程式碼、建立 Godot 場景、設計遊戲架構、實作狀態機、物件池化、存檔/讀取系統,或當使用者詢問 Godot 模式、節點結構或 GDScript 標準時使用。關鍵字:godot, gdscript, 遊戲開發, 信號, 資源, 場景, 節點, 狀態機, 物件池化, 存檔系統, autoload, export, 型別提示。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

jwynia/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Provides analysis tools for auditing existing designs and generation tools for creating color palettes, typography systems, design tokens, and component templates. Supports React, Vue, Svelte, and vanilla HTML/CSS. Use when building web components, pages, or applications. Keywords: design, UI, frontend, CSS, components, palette, typography, tokens, accessibility.

jwynia/pdf-generator

Create and manipulate PDF files programmatically. Use when the user needs to generate PDFs, fill PDF forms, extract PDF content, add watermarks/overlays, or merge documents. Supports both template-based generation (form filling, overlays) and from-scratch creation. Keywords: PDF, document, form, fillable, merge, watermark, extract, text, report.

jwynia/presentation-design

Design and evaluate presentations that communicate effectively. Use when designing a presentation, creating slides, getting presentation feedback, structuring a talk, or reviewing slides. Keywords: presentation, slides, talk, PowerPoint, Keynote, reveal.js.

jwynia/requirements-analysis

Diagnose requirements problems and guide discovery of real needs and constraints

jwynia/web-search-tavily

Search the web using Tavily API for high-quality, AI-optimized results with advanced filtering options. Use when you need structured search results, domain filtering, relevance scores, or AI-generated answer summaries. Requires TAVILY_API_KEY. Keywords: tavily, advanced search, filtered search, domain filtering, relevance scoring.

相關技能