get_global_gotchas
Retrieve lessons learned about libraries from past projects to avoid known pitfalls when working with unfamiliar libraries or starting new features.
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. | |
| project | No | Which project this call is about — a registered id, alias, or absolute path (e.g. 'ossdrop'). Omit it when the server was started for a single repo, or when an active project is set with `pjm project use`. Call list_projects to see the registered names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |