Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 1.14 KB

CLAUDE.md

File metadata and controls

47 lines (40 loc) · 1.14 KB

Claude Configuration

Project Context

This is a medical reports translation application built with:

  • NestJS backend
  • Vue.js frontend
  • Docker containerization
  • AWS services integration

Code Style

  • Follow TypeScript best practices
  • Use NestJS architectural patterns
  • Maintain consistent error handling
  • Write comprehensive tests
  • Document public APIs

Preferred Patterns

  • Use dependency injection
  • Implement repository pattern
  • Follow SOLID principles
  • Use async/await over promises
  • Implement proper error boundaries

Response Format

When suggesting code changes:

  1. Explain the rationale briefly
  2. Show the code changes
  3. Highlight any potential issues
  4. Include relevant tests

Documentation

  • Include JSDoc comments for public methods
  • Write clear commit messages
  • Update README.md for significant changes
  • Document environment variables

Testing

  • Write unit tests for business logic
  • Include integration tests for APIs
  • Follow AAA pattern (Arrange-Act-Assert)
  • Mock external dependencies

Security

  • Validate all inputs
  • Sanitize data before storage
  • Implement proper authentication
  • Follow security best practices