Skip to content

Add comprehensive developer documentation and environment setup#447

Merged
adidahiya merged 2 commits into
mainfrom
claude/improve-project-documentation-0jxDP
Apr 14, 2026
Merged

Add comprehensive developer documentation and environment setup#447
adidahiya merged 2 commits into
mainfrom
claude/improve-project-documentation-0jxDP

Conversation

@adidahiya
Copy link
Copy Markdown
Owner

Summary

This PR adds comprehensive developer documentation and environment configuration files to help contributors understand the Raga codebase architecture, development workflows, and coding conventions.

Changes

  • CLAUDE.md — New comprehensive code guide covering:

    • Project overview and monorepo package structure
    • Prerequisites and installation instructions
    • Development commands (dev servers, build, testing, linting)
    • Architecture details (Electron process model, IPC event system, web app dual-mode)
    • State management patterns (Zustand with slices)
    • Async patterns (Effection for complex operations)
    • Key domain concepts and terminology
    • Code style conventions (TypeScript, React/UI, logging, error handling)
    • Testing framework and patterns
    • Known gotchas and common pitfalls
  • .cursorrules — Updated with additional development guidelines:

    • State management best practices for raga-web-app
    • IPC event registration and implementation patterns
    • Async patterns for the utility process
    • Logging conventions using roarr
    • Error serialization for IPC communication
  • .env.example — New environment configuration template:

    • Discogs API credentials setup for genre lookup feature
    • Instructions for obtaining credentials

Implementation Details

The documentation is structured to serve both as onboarding material for new contributors and as a reference guide for ongoing development. It emphasizes the three-process Electron architecture, the IPC event system as the primary integration point, and the importance of using established patterns (Zustand slices, Effection generators, roarr logging) for consistency across the codebase.

https://claude.ai/code/session_019upBEByJrhS932LwBV5q2C

… agent efficacy

- CLAUDE.md: comprehensive onboarding guide covering project overview, monorepo
  package roles, prerequisites, dev commands, Electron process model, IPC event
  system, dual-mode web app, Zustand state architecture, domain concepts, code
  style conventions, logging/error-handling patterns, testing setup, and known gotchas
- .cursorrules: augmented with state management (Zustand slices), IPC event
  conventions, Effection async patterns, roarr logging, and serialize-error usage
- .env.example: documents required Discogs API environment variables

https://claude.ai/code/session_019upBEByJrhS932LwBV5q2C
@adidahiya adidahiya marked this pull request as ready for review April 14, 2026 21:20
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

PR Preview Action v1.6.1
Preview removed because the pull request was closed.
2026-04-14 21:31 UTC

@adidahiya adidahiya enabled auto-merge (squash) April 14, 2026 21:22
Align table columns and reformat Effection code snippet to satisfy
the check-format CI step.

https://claude.ai/code/session_019upBEByJrhS932LwBV5q2C
@adidahiya adidahiya merged commit 84c94ba into main Apr 14, 2026
11 checks passed
@adidahiya adidahiya deleted the claude/improve-project-documentation-0jxDP branch April 14, 2026 21:30
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