Skip to content

Commit 0f081da

Browse files
Fix prohibited rule frontmatter: replace description+alwaysApply:false with alwaysApply:true
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 71c2f40 commit 0f081da

8 files changed

Lines changed: 92 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Regression Risk Checklist
6+
7+
1. Confirm API contracts and response shapes remain backward compatible.
8+
2. Validate migration and rollout safety for schema/config changes.
9+
3. Check for hidden side effects in shared utilities and core paths.
10+
4. Verify error-handling behavior remains explicit and user-safe.
11+
5. Ensure changed code paths are covered by tests, including edge cases.
12+
6. Flag missing observability for high-impact changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Security Review Checklist
6+
7+
1. Validate and sanitize untrusted input at trust boundaries.
8+
2. Confirm authorization checks exist for sensitive actions and resource access.
9+
3. Check for unsafe dynamic execution patterns (shell, SQL, template rendering).
10+
4. Ensure secrets are never hardcoded or logged.
11+
5. Verify security-relevant errors do not leak sensitive internals.
12+
6. Prefer safe defaults and fail-closed behavior for permission checks.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Analysis Quality Gates
6+
7+
1. Validate metric definitions and denominators against the business question.
8+
2. Check data freshness, missingness, duplicates, and join key integrity before interpretation.
9+
3. Confirm headline findings across key segments and plausible alternative cuts.
10+
4. Quantify uncertainty and practical significance, not only absolute differences.
11+
5. Call out confounders, bias risks, and assumptions that may limit conclusions.
12+
6. Provide an evidence-backed recommendation with clear decision risk.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Notebook and Analysis Formatting
6+
7+
1. Start analysis with a short objective, metric definitions, and time window.
8+
2. Keep notebook cells focused and ordered; one analytical intent per cell with clear headings.
9+
3. Label every chart and table with title, units, denominator, and filter context.
10+
4. Keep outputs concise; summarize large intermediate data instead of dumping full frames.
11+
5. Prefer consistent naming and formatting in notebooks and scripts (for example, snake_case and explicit column names).
12+
6. End with a brief findings, caveats, and next steps section.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Documentation Quality Standards
6+
7+
1. Start with prerequisites and intended audience.
8+
2. Include runnable examples and expected outcomes.
9+
3. Keep terminology consistent with code and APIs.
10+
4. Document failure modes and troubleshooting steps.
11+
5. Prefer concise task-oriented structure over long narrative.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Accessibility and UX Guardrails
6+
7+
1. Ensure all interactive controls are keyboard accessible.
8+
2. Use semantic elements and proper ARIA labels when needed.
9+
3. Provide clear focus states and visible error messaging.
10+
4. Verify color contrast and avoid color-only status indicators.
11+
5. Handle loading, empty, error, and success states explicitly.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Frontend Performance Checks
6+
7+
1. Avoid unnecessary re-renders in hot UI paths.
8+
2. Keep bundle growth justified and measurable.
9+
3. Prefer lazy loading for heavy routes and components.
10+
4. Optimize expensive list rendering and memoization boundaries.
11+
5. Track performance regressions with concrete before/after evidence.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Planning Quality Gates
6+
7+
1. Scope is explicit and out-of-scope is documented.
8+
2. Milestones are dependency-aware and testable.
9+
3. Risks and assumptions are listed with mitigation paths.
10+
4. Each milestone has acceptance criteria.
11+
5. Unknowns are converted into discovery tasks.

0 commit comments

Comments
 (0)