Hub for AI agents working in this repository. Read this first; follow links for depth. Do not duplicate these rules into chat replies.
| Path | Role |
|---|---|
agents/skills/ |
On-demand workflows (read the matching SKILL.md when relevant) |
agents/docs/ |
Canonical conventions and reference |
.cursor/rules/ |
Cursor always-on short rules (point here for full text) |
.cursor/agents/ |
Cursor specialized subagents |
scripts/nplog/ |
Log tool: README.md (usage), AGENTS.md (maintainer / parser) |
Root docs/ is generated helper API HTML -- not agent instructions.
- nplog -- read NotePlan plugin logs via
nplog --json. Never grep the raw log. After an x-callback, use--follow --wait-idle 5. - debugging-freezes -- freezes, hangs, infinite loops, JSContext stalls.
Cursor also loads these from .cursor/skills/ (SKILL.md file symlinks into
agents/skills/). Claude Code: same under .claude/skills/. Specialized Dashboard
debugging: .cursor/agents/dashboard-log-debugger.md.
- programming.md -- imports, domain facts, style, helpers, testing, settings path, changelog
- react-html.md -- React memoization, Promise polyfills, DynamicDialog, theme CSS variables
- writing-style.md -- plain ASCII punctuation, Markdown lists, raw markdown for deliverables
- Static
importonly -- norequire, no dynamic imports (Rollup). - Do not
npm run buildplugins; leave builds to the programmer. - Do not commit or push unless the user explicitly asks.
- Never grep the raw NotePlan log -- use the nplog skill.
- Prefer
npx flowfor typecheck. Saveflow checkas indented JSON at/tmp/flow-check-now.json. Always pass--no-watchto jest. - Wrap React context/child callbacks in
useCallback; memoize AppContext withuseMemo(see react-html doc).
- Plugin APIs:
@flow-typed/Noteplan.js(prefer over the public website) - React communication patterns:
dwertheimer.ReactSkeleton/REACT_COMMUNICATION_PATTERNS.md - DynamicDialog field types:
helpers/react/DynamicDialog/CREATING_NEW_DYNAMICDIALOG_FIELD_TYPES.md - Human contrib / Flow primers:
GithubFlow.md,Flow_Guide.md(not agent rules)