Skip to content

feat: add the remaining skeleton directories with READMEs - #8

Merged
pathscale merged 1 commit into
masterfrom
feat/skeleton-directories
Jul 25, 2026
Merged

feat: add the remaining skeleton directories with READMEs#8
pathscale merged 1 commit into
masterfrom
feat/skeleton-directories

Conversation

@pathscale

Copy link
Copy Markdown
Owner

This was meant to be part of #6 but missed the merge — #6 landed before I pushed the commit, so master has the reference docs without the directories they describe. Cherry-picked onto current master.

What it adds

api/, constants/, hooks/, models/, services/, stores/ and utils/ — each with a README stating what belongs there and what does not. The never-hand-edit rule sits in models/, the four hook conventions in hooks/, the store-before-context rule in stores/.

No working code. This is the shape, not an implementation.

Why it matters for the docs

Without it, frontend-architecture.md has to hedge every data-layer sentence — "not in this starter" — and a new app still opens a blank src/ and guesses. With the directories present, the docs describe what is actually there. This PR updates both files accordingly.

Two hedges remain and are correct: src/routes.ts and src/routing/ genuinely aren't here, because this starter declares routes inline in App.tsx — a legitimate end state at this size, which the doc says explicitly.

🤖 Generated with Claude Code

The data-layer directories were documented but absent, so the docs had to
hedge every reference to them and a new app still started by guessing.

Adds api/, constants/, hooks/, models/, services/, stores/ and utils/,
each carrying a README that states what belongs there and what does not —
the never-hand-edit rule sits in models/, the four hook conventions in
hooks/, the store-before-context rule in stores/.

No working code: this is the shape, not an implementation. Both reference
docs are updated to say exactly that rather than describing directories
that were not there.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pathscale
pathscale merged commit 22d0941 into master Jul 25, 2026
@pathscale
pathscale deleted the feat/skeleton-directories branch July 25, 2026 22:50
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.

1 participant