Repository navigation
AI Global Instructions
Yuvraj Patil edited this page Sep 29, 2026
·
2 revisions
- Sort all methods in a file alphabetically by name. This applies to every file, regardless of type.
- Do not export methods individually. Instead, keep a single export of all methods at the end of the file.
- Do not mix inline export keywords with a trailing export block
- Always wrap conditional blocks in curly brackets {}, even for single-line if, else, for, while, etc.
- Do not use console.log or console.error anywhere in the codebase.
- Use LoggerService instead for all logging.
- Do not hardcode strings that are shown to the user directly in the code.
- Keep all user-facing strings in strings.constants.js and reference them from there.
- Write commit messages in past tense, describing what was done in this commit.
- Use natural, human-readable language — the message should read like a plain description of the change, not a tagged or templated entry.
- Do not use conventional-commit prefixes or robotic tags such as feat:, fix:, chore:, docs:, refactor:, style:, test:, build:, ci:, perf:, or revert:.
- Keep the message to 1 line, or 2 lines maximum if extra context is truly needed.
- Start with a capital letter. Do not end with a period.
- Be specific and meaningful — describe the actual change, not vague phrases like "Updated code" or "Fixed stuff."
-
Tag: use a semantic version, e.g.
v1.0.2,v2.1.0. - Structure into exactly 4 sections, in this order: Breaking, Added, Changed, Fixed.
- Breaking — changes that can break the existing app (e.g. RN version upgrade, Java → Kotlin).
- Added — new features or functionality (e.g. new screen, new confirmation popup).
- Changed — existing behavior or values that changed (e.g. timeout reduced to 30s, updated message text).
- Fixed — resolved bugs or issues (e.g. filter not working with special chars, incorrect currency name).
- Each entry: short, one line, no fluff. No trailing periods. No nested bullets.
- Always show all 4 sections, even if empty. For an empty section, write NA under it.