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
Open
Conversation
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>
…place the existing item
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If importing data and the data is the duplicate of an existing item, ask if it should replace existing item