Skip to content

Add developer documentation (REFERENCE.md and GUIDE.md)#12

Open
AlexKempen wants to merge 3 commits into
certfrom
claude/session-init-5zsmg9
Open

Add developer documentation (REFERENCE.md and GUIDE.md)#12
AlexKempen wants to merge 3 commits into
certfrom
claude/session-init-5zsmg9

Conversation

@AlexKempen

Copy link
Copy Markdown
Collaborator

Summary

Adds two Markdown documentation files under docs/ aimed at new contributors who may not be familiar with Cloudflare Workers, Hono, or TanStack Router.

  • docs/REFERENCE.md — System reference for understanding the app. Covers what the app is, the full tech stack with plain-language explanations, all five Cloudflare services (D1, KV, R2, Workflows, Assets) and why each is used, the complete OAuth auth flow step-by-step, a storage-at-a-glance table, a full codebase map with one-line descriptions per file/directory, and access levels (ADMIN/EDITOR/USER).

  • docs/GUIDE.md — Developer task guide for implementing new features. Covers using the Onshape Glassworks API Explorer, understanding Onshape document paths (DocumentPath / InstancePath / ElementPath and apiPath()), adding new Onshape API wrapper functions, adding new backend Hono routes, modifying the Drizzle DB schema and generating migrations, adding TanStack Router frontend routes, and wiring up React Query data fetches and mutations.

Test plan

  • Read through both files for accuracy against the actual codebase
  • Confirm code examples in GUIDE.md match real patterns (route handlers, apiPath() calls, queryOptions usage)
  • Confirm all file paths referenced in the codebase map exist

🤖 Generated with Claude Code

https://claude.ai/code/session_01JyPYTnfrcQbhgG76Z7bKYm


Generated by Claude Code

REFERENCE.md covers the overall system: what the app is, the tech stack,
all five Cloudflare services (D1, KV, R2, Workflows, Assets), the full
OAuth auth flow, storage at a glance, a codebase map, and access levels.

GUIDE.md covers common development tasks for new contributors: using the
Onshape Glassworks API Explorer, understanding Onshape document paths,
adding new Onshape API wrappers, adding backend routes, modifying the DB
schema with Drizzle, adding frontend routes with TanStack Router, and
wiring up frontend data fetches with React Query.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JyPYTnfrcQbhgG76Z7bKYm
@AlexKempen AlexKempen changed the base branch from main to cert June 20, 2026 18:07
AlexKempen and others added 2 commits June 21, 2026 12:01
Covers JSX components, the .ts vs .tsx distinction and Vite Fast
Refresh export constraint, factoring out composable components,
hooks and the rules of hooks (with React docs link), custom hooks,
and how SCSS/Mantine styling works in the project.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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