Skip to content

If importing data and the data is the duplicate of an existing item, ask if it should replace existing item#383

Open
Arti2302 wants to merge 4 commits into
ThalesGroup:masterfrom
abhi3121:improvement-341
Open

If importing data and the data is the duplicate of an existing item, ask if it should replace existing item#383
Arti2302 wants to merge 4 commits into
ThalesGroup:masterfrom
abhi3121:improvement-341

Conversation

@Arti2302

@Arti2302 Arti2302 commented Jun 24, 2026

Copy link
Copy Markdown

If importing data and the data is the duplicate of an existing item, ask if it should replace existing item

SINGH Abhishek Kumar and others added 4 commits June 24, 2026 11:34
Introduces Claude Code configuration for AI-assisted development on ISRA.

CLAUDE.md
- Documents monorepo structure (lib/ vs app/), IPC architecture, ISO 27005
  data model, validation pattern, file formats, testing, linting, and
  Electron security constraints — giving Claude full project context.

.claude/settings.json (hooks)
- PostToolUse: auto-runs ESLint --fix on any lib/**/*.js file after an edit
- PreToolUse: blocks direct edits to package-lock.json

.claude/agents/security-reviewer.md
- Electron security specialist agent: reviews against Electron hardening
  rules, OWASP Desktop App Top 10, IPC input sanitization, XXE/XSS risks
  in xml-json/, and file path traversal in data-load/data-store/

.claude/agents/test-writer.md
- Jest test generator: writes unit and integration tests for lib/src/
  following existing patterns (AJV validation, round-trip load/save,
  handler mocking)

.claude/skills/project-conventions/SKILL.md
- Loads ISRA-specific conventions (data model hierarchy, IPC pattern,
  validation approach, URL scheme allowlist) before code generation

.claude/skills/run-tests/SKILL.md
- One-command skill that runs the full Jest suite with coverage for lib/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Excludes files that waste context without helping Claude understand the code:
- node_modules/, dist/, coverage/ — generated/installed, not source
- lib/doc/APIdocumentation/ — generated JSDoc output
- app/src/asset/ images — binary files Claude cannot use
- lib/test/integration/fixtures/ — large JSON/XML test data (read on demand)
- doc/*.xlsx — binary Office document
- package-lock.json files — auto-generated, never hand-edited

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Arti2302 Arti2302 changed the title Improvement 341 If importing data and the data is the duplicate of an existing item, ask if it should replace existing item Jun 24, 2026
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