Task prompt · Coding
Add logging and error tracking
by Agent Yard TeamSee what's happening in production.
Use cases
- See what's happening in production.
- Reuse it as often as you like: fill in the blanks (framework; tool, e.g. sentry) with new details and copy again.
- With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.
Featured in: Best Claude prompts for code review and debugging, Best AI prompts for debugging and bug reports.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Fill in the highlighted blanks ([FRAMEWORK], [TOOL, E.G. SENTRY]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
Add structured logging and error tracking to this [FRAMEWORK] app using [TOOL, E.G. SENTRY]. Log key events with context, never log secrets or personal data, set up error boundaries or middleware, and explain what alerts to create.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.