noteplan/plugins/debugging-freezes
Claude Code and agent skill by noteplan/plugins
- community
Checking that the SKILL.md file is still in the repository.
Debug NotePlan plugin freezes and infinite loops when the app hangs, the WebView stops updating, or logDebug/logInfo stop flushing. Use when the user reports a freeze, hang, infinite loop, or "NotePlan is stuck", or when React memoization / request-router loops are suspected.
Install
npx vskill@latest install noteplan/plugins/debugging-freezesSKILL.md
Debugging infinite loops and freezes
Do not rely only on logDebug / logInfo when NotePlan freezes. The plugin console can buffer logs, and if the JSContext hangs the last useful line may never flush.
Isolate the side
First decide whether the loop is React/WebView-side or plugin-side. Add sequence IDs and active counters around:
- field changes and React effects
- REQUEST creation, router entry/exit
- backend handlers
Plugin-side freezes
Add temporary hidden diagnostic commands in plugin.json and call them with x-callback URLs, e.g.:
Prefer early-return checkpoints over logs. Return a showMessage() or structured success response after each checkpoint (after-start, after-filter, after-convert, etc.) so each run proves the next section completed.
Binary-search expensive loops with diagnostic params such as start and limit. If a full conversion freezes but limit=10 returns slowly, treat it as a performance stall rather than a request-loop bug.
Hygiene
Keep diagnostics temporary and clearly marked ([DIAG], hidden command, debug-only params). Once the root cause is fixed, remove or gate noisy logging and hidden commands unless the user wants them kept for follow-up testing.
Related pitfalls
- For chooser note loading,
getNoteDecorationForReact()can be expensive across
calendar-note lists; pass includeDecoration: false when the React component derives display decoration itself.
- React infinite loops from unstable function props: see
agents/docs/react-html.md (useCallback / AppContext useMemo).
- After a change, confirm with the nplog skill (
agents/skills/nplog/SKILL.md).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/debugging-freezes/SKILL.md
Popularity
- Repository stars
- 204
- Repository forks
- 81
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/noteplan/plugins/debugging-freezes)