一键导入
general-file-operations
Use when handling file paths or imports
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when handling file paths or imports
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when deploying Cloudflare Workers, managing R2 storage, or working with Cloudflare infrastructure
Use when working with ANTD components, theme tokens, icons, forms, or feedback components (message/notification/modal)
Use when adding, referencing, or serving static assets (images, fonts, videos, 3D models) through the R2 CDN pipeline with type-safe imports
Use when writing or reviewing JavaScript/TypeScript code for style patterns like concise arrows, inline handlers, expression formatting, or when tempted to use eslint-disable
Use when working with environment variables in frontend code
Use when creating or modifying keyboard shortcuts/hotkeys in frontend code
| name | general-file-operations |
| description | Use when handling file paths or imports |
Guidelines for file paths and imports in the Lightcraft codebase.
Always use @/ alias for imports within the project:
// ✅ CORRECT
import { UI_HorizontalNav } from "@/components/UI_HorizontalNav/UI_HorizontalNav";
import { useQ_Me } from "@/hooks/Me/useQ_Me";
import { Provider_ANTD } from "@/providers/antd/Provider_ANTD";
// ❌ WRONG
import { UI_HorizontalNav } from "../../components/UI_HorizontalNav/UI_HorizontalNav";
Configured in tsconfig.json with baseUrl: "." and paths: { "@/*": ["./src/*"] }
.claude/rules/os-commands.md