get_global_gotchas
Avoid repeating past mistakes by retrieving lessons learned about libraries from cross-project memory. Filter by library name for targeted results.
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 |