Skip to content

docs: consumer apps guide and migration anti-patterns - #93

Merged
mhweiner merged 5 commits into
mainfrom
docs/consumer-apps-migration
Aug 26, 2026
Merged

docs: consumer apps guide and migration anti-patterns#93
mhweiner merged 5 commits into
mainfrom
docs/consumer-apps-migration

Conversation

@logfox-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Add Consumer apps and Migrating from express-typed-rpc sections to sdk-generation.md
  • Extend callspec skill with consumer-app rules (no src/api/ facades, enum consts from codegen 3.12+, throwRouteFailure pattern)
  • Document patch-callspec-codegen.mjs as an anti-pattern to fix upstream

Test plan

  • npm run validate

Made with Cursor

logfox-agent and others added 5 commits August 26, 2026 03:48
Document direct generated-client imports, enum consts (3.12+), and facades
to avoid (src/api/, unwrapResult, patch-codegen hacks).

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove duplicated bullets; sdk-generation.md is the SSOT.

Co-authored-by: Cursor <cursoragent@cursor.com>
Revert consumer-apps sections; sdk-generation intro already covers usage.

Co-authored-by: Cursor <cursoragent@cursor.com>
Capture anti-patterns (barrels, facades, hidden Result checks) without
logfox-specific migration detail. Skill rule 9 links to the section.

Co-authored-by: Cursor <cursoragent@cursor.com>
Anti-pattern guardrails are agent playbook material; sdk-generation
already documents the codegen happy path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mhweiner
mhweiner merged commit 0e7ef24 into main Aug 26, 2026
3 checks passed
@mhweiner
mhweiner deleted the docs/consumer-apps-migration branch August 26, 2026 08:31
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