Read the project’s `CLAUDE.md`. Ensure all web development rules below are present. If some are missing or partially present, reorganize and update `CLAUDE.md` so every rule is included clearly and unambiguously.
Updates CLAUDE.md with web development rules for TypeScript, React, and imports.
/plugin marketplace add breakds/claude.bds/plugin install bds-dev@claude.bdsRead the project’s CLAUDE.md. Ensure all web development rules below are present. If some are missing or partially present, reorganize and update CLAUDE.md so every rule is included clearly and unambiguously.
const f = () => ...) for concise, inline code and callbacks. Use function declarations for named or top-level functions where this or hoisting matters.Always use explicit types, especially for function parameters and return values. Annotate returns and arguments when it improves readability.
Avoid any. Use unknown or properly constrained generics instead—unknown forces safe type narrowing.
Organize imports in this order:
reactSupport absolute imports in .ts/.tsx files, e.g.:
import '@/components/MarkdownPreviewPanel'
resolves to src/components/MarkdownPreviewPanel.tsx.
props directly in function parameters.README.md updated with essential information about React components—especially view or UI-related ones.