Conversation
Create root AI agent instructions with commands, tech stack, structure, conventions, and boundaries. Add CLAUDE.md pointer for Claude Code compatibility. Co-authored-by: Cursor <cursoragent@cursor.com>
Add warnings for @wix/motion WAAPI wrapper, dynamic imports in tests, namespace exports in motion-presets, and native WAAPI boundary. Co-authored-by: Cursor <cursoragent@cursor.com>
Add entry point guidance, registerEffects/namedEffect pattern, and pointer to getting-started guide — gaps found during stress test. Co-authored-by: Cursor <cursoragent@cursor.com>
Add llms.txt and llms-full.txt files following the llmstxt.org standard for AI assistant documentation. Update README to reference these files instead of rules directory. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Adds repository- and package-level AI assistant guidance, including AGENTS.md/CLAUDE.md for repo navigation and llms.txt/llms-full.txt to ship AI-oriented docs with @wix/interact.
Changes:
- Add
AGENTS.md(canonical repo guidance) andCLAUDE.md(Claude Code compatibility pointer). - Add
packages/interact/llms.txtandpackages/interact/llms-full.txt, and updatepackages/interact/README.mdto reference them. - Update
packages/interact/package.jsonpublishedfileslist to include the new LLM docs (and stop publishingrules/).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/interact/package.json | Publishes new LLM docs (and removes rules/ from the package tarball). |
| packages/interact/llms.txt | Adds a structured AI-facing index for the Interact package docs. |
| packages/interact/llms-full.txt | Adds a long-form AI reference/usage guide for Interact. |
| packages/interact/README.md | Replaces prior AI support links with llms.txt standard guidance. |
| CLAUDE.md | Adds Claude Code-compatible entrypoint pointing to AGENTS.md. |
| AGENTS.md | Adds monorepo commands, structure, and conventions for AI/human contributors. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/interact/llms-full.txt
Outdated
| ```typescript | ||
| type Interaction = { | ||
| key: string; // REQUIRED — source element key (matches data-interact-key) | ||
| trigger: TriggerType; // REQUIRED — one of the 7 trigger types |
There was a problem hiding this comment.
This says TriggerType is "one of the 7 trigger types", but the public TriggerType union includes additional triggers (interest, activate). Please update the count and/or enumerate the full set so the AI reference matches the actual API surface.
| trigger: TriggerType; // REQUIRED — one of the 7 trigger types | |
| trigger: TriggerType; // REQUIRED — one of the supported trigger types |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "dist", | ||
| "rules", | ||
| "docs" | ||
| "docs", |
There was a problem hiding this comment.
Removing rules from the files whitelist means packages/interact/rules/*.md will no longer be published to npm. If anything (docs, tooling, or external consumers) relies on those rule specs being available under node_modules/@wix/interact/rules, please keep rules in the files list (or document the breaking change).
| "docs", | |
| "docs", | |
| "rules", |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary
Adds AI coding-agent configuration to the repository via
AGENTS.mdandCLAUDE.md. These files give AI assistants (Cursor, Claude Code, Copilot, etc.) the context they need to navigate the monorepo, run the right commands, follow project conventions, and avoid common pitfalls — reducing onboarding friction for both humans and AI pair-programmers.Also adds llms.txt and llms-full.txt - allows consuming LLM agents to better understand the package and how to use it.