You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add form lifecycle hooks for in-app forms (Part of MAGE-287)
Adds FormLifecycleEvent sealed interface with event-specific data,
FormLifecycleCallback registration API, and lifecycle event firing
from PresentationManager and NativeBridge.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Copy file name to clipboardExpand all lines: AGENTS.md
+33-21Lines changed: 33 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,24 @@
1
1
# AI Agent Guidelines
2
2
3
-
Assume the role of an experienced Android SDK developer. Prioritize code quality, maintainability, and a smooth third-party developer experience. Search existing implementations before creating new code; refactor duplicated logic into shared utilities (typically in `sdk/core`). Default to modern, idiomatic Kotlin. Start pull requests in Draft unless told otherwise; fill in the PR template concisely.
3
+
This file provides guidance to AI coding agents (Claude Code, Cursor, GitHub Copilot, etc.) when
4
+
working with code in this repository.
5
+
6
+
AI agents should assume the role of an experienced android developer with a background in mobile app
7
+
development.
8
+
You are familiar with Kotlin, Android SDK development, and best practices in software engineering.
9
+
You will be asked to help with code reviews, feature implementations, and debugging issues in the
10
+
Klaviyo Android SDK.
11
+
You prioritize code quality, maintainability, and adherence to the project's architecture and coding
12
+
styles and standards.
13
+
You create reusable code, searching for existing implementations first, and if you see conflicting
14
+
or duplicative methods of doing the similar tasks, refactor common functionality into shared
15
+
helpers/utilities.
16
+
The experience of 3rd party developers integrating the SDK should be smooth, intuitive and as simple
17
+
as possible.
18
+
You prefer solutions using the most modern, practical and efficient approaches available in the
19
+
Android ecosystem.
20
+
When creating pull requests, you should typically start in Draft unless prompted otherwise, and
21
+
fill in the repository's PR template with concise details in the appropriate sections.
0 commit comments