Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .agents/skills/review-changes/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Usage: `review-changes [uncommitted | branch <name> | pr <number> | <base>..<hea
(Claude Code: `/review-changes ...`, Codex: `$review-changes ...` or just ask for a review.)

This skill is the source of truth for review rules in this repo.
`.github/copilot-instructions.md` (GitHub Copilot PR review) is a condensed copy of stages 1
and 3 — when you change those rules, update it too.
`.github/copilot-instructions.md` (CodeRabbit PR review, see `.coderabbit.yaml`) is a condensed
copy of stages 1 and 3 — when you change those rules, update it too.

Four stages, in order. Each has a reference file — read it when you reach that stage.

Expand Down
31 changes: 31 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
#
# CodeRabbit PR review config. Reference: https://docs.coderabbit.ai/reference/configuration
#
# Review rules are not duplicated here. CodeRabbit loads them automatically as code
# guidelines from `.github/copilot-instructions.md` and
# `.agents/skills/review-changes/SKILL.md` (source of truth).

language: en-US

reviews:
# `chill` keeps comments focused on real problems; our guidelines already ask for no nits.
profile: chill
# The PR template already has a summary, and the guidelines ask for no PR summaries.
high_level_summary: false
poem: false
auto_review:
enabled: true
drafts: false
path_filters:
# Lockfiles
- '!**/yarn.lock'
- '!**/Podfile.lock'
# Screenshot baselines for e2e tests
- '!.maestro/**/screenshots/**'
- '!.playwright/screenshots/**'
- '!.argent/e2e/**/__baselines__/**'

knowledge_base:
code_guidelines:
enabled: true
3 changes: 2 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Review instructions

Condensed from `.agents/skills/review-changes/` (code review + parity stages; no device testing).
Keep the two in sync. Copilot reads only the first 4,000 characters — keep this file short.
Keep the two in sync. CodeRabbit PR review loads this file automatically as a code guideline
(see `.coderabbit.yaml`); keep it short and focused on what a PR bot can check.

react-native-enriched ships one `EnrichedTextInput` / `EnrichedText` API on three
implementations: iOS (`ios/`), Android (`android/`), web (`src/web/`). Shared: TS API (`src/`),
Expand Down
16 changes: 9 additions & 7 deletions docs/docs/misc/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,13 @@ which lets agents drive the iOS simulator, Android emulator and web example
app, and a review skill that checks a change's code, feature parity between
iOS, Android and web, and tests it on devices.

| What | Where |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Argent MCP server | `.mcp.json` (Claude Code), `.codex/config.toml` (Codex), `.cursor/mcp.json` (Cursor) |
| Argent rules | `.claude/rules/`, `.cursor/rules/`, `developer_instructions` in `.codex/config.toml` |
| Argent skills | not committed: installed on your machine by `argent init` (see below) |
| Review skill | `.agents/skills/review-changes/` (symlinked into `.claude/skills/`), condensed for GitHub Copilot PR review in `.github/copilot-instructions.md` |
| What | Where |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Argent MCP server | `.mcp.json` (Claude Code), `.codex/config.toml` (Codex), `.cursor/mcp.json` (Cursor) |
| Argent rules | `.claude/rules/`, `.cursor/rules/`, `developer_instructions` in `.codex/config.toml` |
| Argent skills | not committed: installed on your machine by `argent init` (see below) |
| Review skill | `.agents/skills/review-changes/` (symlinked into `.claude/skills/`), condensed for CodeRabbit PR review in `.github/copilot-instructions.md` |
| PR review bot | [CodeRabbit](https://www.coderabbit.ai), configured in `.coderabbit.yaml` |

To use it:

Expand Down Expand Up @@ -328,7 +329,8 @@ ignores and git ignores too; copy any changes into the committed
:::info

When you change the review rules in `.agents/skills/review-changes/`, update
`.github/copilot-instructions.md` too.
`.github/copilot-instructions.md` too. CodeRabbit reads that file (despite its
name) as review guidelines for every PR.

:::

Expand Down
Loading