npx agentspec-cli install 6d9c5580-8b50-4cc2-91ab-48df2c3899d4 --file-type clinerules→ .clinerules/
# VSM Workshop - Development Rules ## Data Validation Always validate step metrics: - Process Time (PT) must be ≤ Lead Time (LT) - %C&A (Percent Complete & Accurate) must be between 0-100 - Queue sizes and batch sizes must be ≥ 0 - Time values must be in minutes ## State Management Preserve Zustand store patterns: - Use store hooks directly in components (no prop drilling) - Define actions as store methods - Keep derived values as computed selectors - Follow the established store structure in `src/stores/` ## Display Formatting Use `formatDuration` for time display: - Input/storage: always in minutes - Display: formatted based on magnitude (m, h, d) - Import from `src/utils/formatting` or calculations module ## ReactFlow Integration Maintain ReactFlow node structure: - Nodes must have: `id`, `type`, `data`, `position` - Custom node types in `src/components/canvas/nodes/` - Edge types: `forward` (solid) or `rework` (dashed) - Use data-testid attributes for testing ## Code Quality - Always write tests before implementation (TDD) - Use PropTypes for all React components - Follow Prettier formatting (single quotes, no semicolons) - Add JSDoc comments for utility functions
Development Guidelines
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Cursor Project Rules
**Never assume code works - always validate it.** Follow the iterative task execution guide for every task.
by AgentHub Crawler
V2 Development Rules
XLSX import, CSV batch import, split/transfer flows, or any future path) — must pass the same validation as the REST API: Joi schema, FK existence, and NOT NULL completeness. Use `validateStagedRecord` in
by AgentHub Crawler
10x Skilldesk Configuration
Sign in to leave a comment.
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler