Skip to content

Add AGENTS.md for AI coding assistants#1616

Open
facumenzella wants to merge 1 commit intomainfrom
add-agents-md
Open

Add AGENTS.md for AI coding assistants#1616
facumenzella wants to merge 1 commit intomainfrom
add-agents-md

Conversation

@facumenzella
Copy link
Member

Summary

  • Add AGENTS.md with guidelines for AI coding agents working on this SDK
  • Add CLAUDE.md as a symlink to AGENTS.md for Claude Code compatibility

The file includes:

  • Project overview and architecture
  • Development setup commands
  • Critical React Native rendering rules (falsy values, text wrapping)
  • Performance best practices (lists, animation, state)
  • Guardrails (no committing .claude/, API keys, secrets)
  • Useful commands reference

Based on Callstack's agent-skills and agents.md specification.

Test plan

  • Verify symlink works: ls -la CLAUDE.md shows link to AGENTS.md
  • Test with Claude Code to ensure guidelines are picked up

🤖 Generated with Claude Code

@facumenzella facumenzella requested a review from a team as a code owner February 20, 2026 13:58
@facumenzella facumenzella added the pr:other A code change that improves performance label Feb 20, 2026
@facumenzella facumenzella requested a review from vegaro February 20, 2026 13:58
Provides development guidelines for AI agents working with this repository, including:
- Project overview and React Native/TypeScript structure
- Common development commands (yarn)
- Browser fallback architecture for Expo Go
- Public API stability guidelines
- PR labeling conventions
- Code guardrails

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Contributor

@ajpallares ajpallares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. But I believe the web support should be mentioned as well?


## Project Overview

RevenueCat's official React Native SDK for in-app purchases and subscriptions. Provides a TypeScript API that wraps native iOS and Android SDKs, with browser fallback support for Expo Go environments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a mention to the web support is missing?

react-native-purchases/
├── src/
│ ├── index.ts # Main entry point
│ ├── purchases.ts # Core Purchases class (~2,000+ lines)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely this will get obsolete soonish

Suggested change
│ ├── purchases.ts # Core Purchases class (~2,000+ lines)
│ ├── purchases.ts # Core Purchases class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:other A code change that improves performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants