general-file-operations
Installation
SKILL.md
General File Operations
Guidelines for file paths and imports in the Lightcraft codebase.
TypeScript Path Aliases
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/*"] }