一键导入
coding-practices
ALWAYS use this skill when writing, reviewing, editing, or analyzing ANY code in this WordPress project. Provides mandatory best practices, coding standards, and security guidelines for PHP, JavaScript, TypeScript, React, CSS, and HTML. Apply proactively for all file modifications, code generation, code reviews, refactoring, debugging, building features, implementing functionality, or answering code-related questions. Covers WordPress plugins, themes, Gutenberg blocks, WooCommerce, performance optimization, security (sanitization, validation, escaping, nonces, XSS prevention), accessibility (WCAG), and WordPress Coding Standards. Required for .php, .js, .jsx, .ts, .tsx, .css, and .html files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。