Command Cursor
Audit class responsibilities, package boundaries, duplication, and rule compliance across Contraponto.
Command Cursor
Audit class responsibilities, package boundaries, duplication, and rule compliance across Contraponto.
Cursor rule Cursor
ADR — when and how to record architecture decisions (phase 2).
Cursor rule Cursor
Phase 2 — architecture design with ADRs (part of development process).
Cursor rule Cursor
Phase 1 — feature analysis before any implementation (part of development process).
Cursor rule Cursor
Modular monolith bounded contexts and dependency rules.
Cursor rule Cursor
Use in-app confirm modals — never hx-confirm, alert(), or window.confirm.
Cursor rule Cursor
Core Contraponto conventions (HTMX, Qute, packages).
Cursor rule Cursor
CSS authoring style, design tokens, and stylesheet bundles.
Cursor rule Cursor
Java formatting (formatter.xml) and import hygiene — required on every Java edit.
Cursor rule Cursor
Java endpoint, repository, and entity conventions.
Cursor rule Cursor
JavaScript and HTMX-first frontend conventions.
Cursor rule Cursor
JPA query conventions — Criteria API, JPQL, native SQL.
Cursor rule Cursor
Law of Demeter — no train wrecks; talk to direct collaborators only.
Cursor rule Cursor
Layered architecture — Endpoint, Service, Repository responsibilities.
Cursor rule Cursor
List pagination — Load more (reading) vs numbered pages (managing).
Cursor rule Cursor
Design palette tokens — check before any UI/CSS work.
Cursor rule Cursor
SEO — meta descriptions and crawlable HTMX links.
Cursor rule Cursor
Avoid string concatenation — prefer formatted(), then StringBuilder.
Cursor rule Cursor
Tell, Don't Ask — encapsulate domain decisions in intent methods.
Cursor rule Cursor
Classify test failures and write reports under reports/.
Cursor rule Cursor
Pillar 2 — tiered test execution, impact map, failure workflow.
Cursor rule Cursor
WebTest, App DSL, and Given builder conventions.
Cursor rule Cursor
No Python; scripts in bash or JBang; JavaScript browser-only.
Cursor rule Cursor
UI class catalog, templates, buttons, and domain labels.