get_global_gotchas
Retrieve cross-project gotchas to avoid repeating past mistakes when starting new features or using unfamiliar libraries.
Instructions
Query cross-project library gotchas from ~/.projectmem/global/.
Returns lessons learned in past projects that apply to the libraries
you're about to use. Call whenever working with an unfamiliar library
or starting a new feature.
Read-only. Reads from ~/.projectmem/global/ (cross-project memory,
not this repo's .projectmem/).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library | No | Optional library name to filter by (case-insensitive substring match — 'react' also matches 'react-router'). When omitted, returns all gotchas across every library — useful when starting a new feature to scan for any relevant past lessons. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |