Instruction file imported from sampathvigneshmv/LibraryManagementSystem (
.github/instructions/*.instructions.md). Copyright stays with the author.
Code Review Standards
Use these instructions whenever reviewing, updating, or generating code in this workspace.
Review Priorities
- Correctness and behavior safety first.
- Maintainability and readability second.
- Style and consistency third.
Naming Convention (Mandatory)
- Use PascalCase for all new and updated identifiers.
- Do not introduce new camelCase identifiers.
- When touching code that uses camelCase, prefer renaming to PascalCase if safe and in scope.
- Keep existing public APIs stable unless a rename is explicitly requested or safely coordinated.
PascalCase Rule Examples
- Use: UserProfile, CalculateTotal, FetchBookRecords, IsAvailable
- Avoid: userProfile, calculateTotal, fetchBookRecords, isAvailable
Code Review Checklist
- Confirm no behavioral regressions.
- Confirm naming follows PascalCase in changed code.
- Confirm logic is easy to read and has clear structure.
- Confirm error handling is present where needed.
- Confirm no unused variables, imports, or dead code remain.
- Confirm changed code is minimal and focused on the task.
Scope and Safety
- Prefer small, focused changes over large refactors.
- Do not rewrite unrelated files during review fixes.
- If a broad rename is needed, call it out clearly before applying it.