Imported from nbbaier/v0-md-table-editor (
AGENTS.md). Install upstream withnpx skills add nbbaier/v0-md-table-editor. Copyright stays with the author.
Agent Guidelines
Commands
- Build:
npm run build(Vite build) - Dev:
npm run dev - Lint:
npm run lint(Biome) - Test: No test framework configured currently.
Code Style & Conventions
- Stack: Vite, React 19, Tailwind CSS 4.x, shadcn/ui.
- Formatting: Use 2 spaces indentation. Follow ESLint rules.
- Naming:
kebab-casefor files (e.g.,markdown-table-editor.tsx),PascalCasefor components. - Imports: Use
@/alias for project root. prefer named imports. - Styling: Use utility classes via
className. Merge classes withcn()helper. - State: Prefer local React state (
useState) over global state. - Components: Functional components with strict TypeScript typing for props.
- Icons: Use
lucide-reacticons. - Error Handling: Use
try/catchblocks for async operations; handle UI errors gracefully. - Markdown: Use
unifiedecosystem (remark/rehype) for processing.