Skip to content

Conversation

@banana-claude
Copy link
Contributor

@banana-claude banana-claude bot commented Jan 20, 2026

Summary

Adds new sections to AGENTS.md covering code style patterns that required manual fixes in the password reset feature (PR #44):

  • React: Use mobx-react-lite, prefer simple observer patterns, inline components in page.tsx
  • MobX: Use action.bound over runInAction(), proper makeObservable generics for private methods
  • Dependency injection: Call createClient() at usage site rather than DI
  • Routing: Prefer nested routes (/password/reset) over hyphens (/reset-password)
  • Forms/UX: Password confirmation fields, required={true}, appropriate redirects
  • TypeScript: Don't export internal types

Closes #55

Generated with Claude Code

Add new sections covering:
- React patterns (mobx-react-lite, observer structure, page.tsx patterns)
- MobX conventions (action.bound, makeObservable generics)
- Dependency injection (prefer createClient() at usage site)
- Routing conventions (nested routes over hyphens)
- Forms/UX (password confirmation, required fields)
- TypeScript (don't export internal types)

These guidelines address patterns that required manual fixes in the password
reset feature implementation.

Closes #55

Co-authored-by: bitnimble <bitnimble@users.noreply.github.com>
@banana-claude banana-claude bot requested a review from bitnimble January 20, 2026 00:58
@vercel
Copy link

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
paradb Ready Ready Preview, Comment Jan 20, 2026 0:59am

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.

Improve AGENTS.md instructions and guidelines for code style

0 participants