You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,35 @@ new Satellite(
151
151
- Example: Uplink at 5943 MHz with `frequencyOffset: 2.225e9` → Downlink at 3718 MHz
152
152
-**Don't duplicate**: If a signal is in the uplink array, the transponder creates the downlink automatically. Don't add it to both arrays.
153
153
154
+
## TypeScript Type Checking
155
+
156
+
**Always use the npm script to check for TypeScript errors:**
157
+
158
+
```bash
159
+
npm run type-check
160
+
```
161
+
162
+
**Do NOT run tsc directly on individual files:**
163
+
164
+
```bash
165
+
# WRONG - will fail with module resolution errors
166
+
npx tsc --noEmit src/campaigns/nats/scenario5.ts
167
+
```
168
+
169
+
This project uses `@app/*` path aliases (e.g., `@app/types`, `@app/equipment/...`) that require the full tsconfig.json configuration. Running tsc on individual files bypasses this and produces false "Cannot find module" errors.
170
+
171
+
## Git Commits
172
+
173
+
- Do NOT add `Co-Authored-By` lines to commit messages
174
+
- Use conventional commit format: `type(scope): description`
175
+
- Use emoji in commit titles for clarity:
176
+
- Example: feat: :sparkles: Add new frequency adjustment control
177
+
- ✨ `:sparkles:` for new features
178
+
- 🐛 `:bug:` for bug fixes
179
+
- ♻️ `:recycle:` for refactoring
180
+
- 📝 `:memo:` for documentation changes
181
+
- Common types: `feat`, `fix`, `refactor`, `test`, `docs`, `chore`
182
+
154
183
## Planning
155
184
156
185
When you use Plan Mode or create multi-step plans in this repo:
0 commit comments