Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- **Always write unit tests first** before building logic
Sign in to like and favorite skills
__tests__ directories alongside the code they test@ant-design/icons) for all iconography#000000 (pure black)#ffffff (pure white)#1a1a1a, #333333, #666666, etc.)app/globals.css)any types unless absolutely unavoidable (and documented)@ts-ignore or @ts-expect-error commentsas) unless truly necessarynpm run lint before committing codeunknown instead of any for error handling in catch blocksGrid.useBreakpoint() hook for responsive logic in componentsSpace wrap, maxTagCount="responsive") over custom CSSglobals.css for layout adjustments that can't be handled by antdxs (<576px), sm (≥576px), md (≥768px), lg (≥992px), xl (≥1200px)!screens.md to detect mobile devices (screens smaller than 768px)component/ ├── ComponentName.tsx # Main component file ├── __tests__/ │ └── ComponentName.test.tsx # Tests for component
Before committing, ensure:
npm run lint)npm run build)npm test)