npm run build:bundle # REQUIRED after changes - creates standalone HTML
npm test # Run unit tests - NEVER create new files unless explicitly told
- ALWAYS extend existing test files
- Prefer editing existing files over creating new ones
- Write concise, table-driven tests with clear input→expectation tables
- Eliminate duplicate setup - use shared helpers and table-driven patterns
- Minimize lines of test code while maintaining full coverage
- Reproduce first: Extend existing tests to reproduce the bug
- Fix core logic: Make minimal changes to app layer business logic
- Verify: New test passes, existing tests still pass
- Test before UI: Fix ProfileCollection/AppState before StackTraceApp
- Be direct and honest - skip acknowledgments or pointless praise.
- Focus on accuracy and efficiency
- Suggest better alternatives when applicable
- dist/ - Build artifacts
- node_modules/ - Dependencies
- examples/ - Example files