Skip to content

chore(cursor): add Hessenbot project rules - #2

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/project-cursor-rules-8878
Oct 4, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/project-cursor-rules-8878

Conversation

@chrishaef

@chrishaef chrishaef commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds Cursor project rules under .cursor/rules/ so agents follow Hessenbot’s engineering, config, mesh UX, and portal conventions.

Always applied

  • hessenbot-core.mdc — async Python / MQTT-Meshtastic / Flask expertise; no TODO stubs; direct communication; one-line what/why before edits; changed blocks only. Typing: annotate new/touched code; no mass annotation refactors; Any OK at mesh packet boundaries. Short Docs Sync section for behaviour/config changes.
  • config-secrets.mdc — never commit/paste secrets or config.ini; option changes go through config.template → settings.py → tooltips; no silent Meshhessen default flips.

Glob-scoped

  • meshhessen-command-ux.mdc (mesh_bot.py, modules/**/*.py) — command wiring, DE user strings, channel/DM bang rules, location chain (no bot lat/lon fallback), chunking, packet dedup.
  • flask-portal.mdc (admin/web modules + static/portal/**) — extend existing theme/shell; DE UI; keep auth/limiter; no new SPA/design system; maintain legal/help modules.

Intentionally omitted

  • PEP8 encyclopedia, full-async mandate, MQTT protocol encyclopedia, React/design-system, Tests/CI (P2).

Test plan

  • Rule files present with valid frontmatter (description + alwaysApply or globs)
  • Scope matches approved recommendations (P0 Config/Secrets + Mesh UX, P1 Flask + Docs Sync, Core typing tweak)
  • Confirm Cursor loads rules in a project agent session (manual)
  • No secrets or local config.ini included

Notes

Source of truth for additions: project docs/cursor-rules-recommendations.md (store).

Open in Web Open in Cursor 

Encode core agent standards for async Python, MQTT/Meshtastic, and
Flask full-stack work under .cursor/rules/.

Co-authored-by: Chris <chrishaefner@outlook.de>
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown

Danke für den Pull Request!

Kurzchecklist: Fokus halten, keine Secrets committen, bei Verhaltens-/Config-Änderungen README oder config.template mitziehen, Tests wo sinnvoll (pytest modules/test_blitzwatch.py).

Leitfaden: CONTRIBUTING.md.

Extend PR #2 with approved P0/P1 Cursor rules from the recommendations:
Config & Secrets (alwaysApply), Meshhessen Command UX, Flask Portal,
plus Core typing clarification and a short Docs Sync section.

Co-authored-by: Chris <chrishaefner@outlook.de>
@chrishaef
chrishaef marked this pull request as ready for review October 4, 2026 16:40
@cursor
cursor Bot merged commit 8344ac0 into main Oct 4, 2026
1 check passed
@chrishaef
chrishaef deleted the cursor/project-cursor-rules-8878 branch October 4, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants