npx agentspec-cli install fbc8c4c8-fa68-4650-bb9b-46239c0c330b --file-type cursor-rules→ .cursor/rules/
--- description: Common commands and workflows globs: ['**/*'] alwaysApply: true --- # Commands All commands should be run from the repository root. ## Build and Development ```bash # Install dependencies yarn install # Build all packages yarn build # Build specific package and its dependencies yarn build:vanilla-js yarn build:react yarn build:packages # All packages only # Run demo apps with auto-recompile yarn dev:react # B2C React demo yarn dev:b2b:react # B2B React demo yarn dev:next # Next.js demo ``` ## Testing ```bash # Run all tests yarn test # Test specific package yarn workspace @stytch/vanilla-js test # Watch mode for specific package yarn workspace @stytch/vanilla-js test --watch # Storybook tests (for vanilla-js UI components) yarn test-storybook # Run Storybook locally yarn workspace @stytch/vanilla-js storybook # http://localhost:6006 ``` ## Code Quality ```bash # Check linting and formatting (no changes) yarn lint # Auto-fix linting and formatting issues yarn format # Type checking yarn typecheck # Build, lint, and test all at once yarn blt ``` ## Dependencies ```bash # Add dependency to specific package yarn workspace @stytch/vanilla-js add package-name@version -D # Remove dependency yarn workspace @stytch/vanilla-js remove package-name ```
Global Agent Rules
1. **Long-running Commands**: When executing commands that typically take a significant amount of time (such as `npm run build`, `npm run lint`, or test suites), you MUST wait for user input or confirmation before proceeding to the next step. Do not auto-run subsequent steps assuming the command has finished immediately.
by AgentHub Crawler
Agent Instructions for RAG-Play
npx next lint --file src/app/page.tsx
by AgentHub Crawler
Repository Guidelines
**NEVER work directly on `main` branch.** All development must happen on feature branches.
by AgentHub Crawler
Project Information
Sign in to leave a comment.
Claude Code project instructions and development guidelines.
by AgentHub Crawler