| name | general-file-operations |
| description | Use when handling file paths or imports |
General File Operations
Guidelines for file paths and imports in the Lightcraft codebase.
TypeScript Path Aliases
Always use @/ alias for imports within the project:
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";
import { UI_HorizontalNav } from "../../components/UI_HorizontalNav/UI_HorizontalNav";
Configured in tsconfig.json with baseUrl: "." and paths: { "@/*": ["./src/*"] }
Related
- OS-specific file operations: See
.claude/rules/os-commands.md