Repository navigation
Argentツールキットをv0.18.0へ更新しスキル実体を.agents/skillsへ集約 - #6501
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XCepd2RV3XjiUCvS34QXPe
📝 WalkthroughWalkthroughArgentのスキル文書を更新し、フロー作成、デバッグ、権限操作、画面録画、React Native運用を拡張した。Claude用スキルを共有参照へ変更し、 ChangesArgent操作フロー
デバッグと運用
権限・録画・連携
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 18
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.agents/skills/argent-native-profiler/SKILL.md (1)
60-60: 🔒 Security & Privacy | 🟠 Major | ⚡ Quick winプロファイルの機密データ保護を復元してください。
Line 60 は、トレースをタスク限定の機密データとして扱う規則を削除しています。Line 57 ではトレースを
/tmp/argent-profiler-cwd/に保存し、Line 30 では実割り当てバックトレースを取得します。トレースにはアプリのソース、ファイルパス、識別子、メモリ情報が含まれる可能性があります。再利用前のユーザー確認、保存場所の制限、調査終了時の削除を復元してください。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.agents/skills/argent-native-profiler/SKILL.md at line 60, Restore the trace confidentiality rules in the argent-native-profiler instructions: require explicit user confirmation before reusing traces, restrict storage to the designated temporary location, and require deleting traces when the investigation ends. Update the Step 2 “Stop and export” guidance while preserving the existing profiling workflow.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.agents/skills/argent-create-flow/SKILL.md:
- Around line 141-147: コード例のフェンスに言語識別子を追加してください。該当する2つのコードフェンスのうち、command/args
の例には yaml を指定し、もう一方には console または text を指定して、MD040 を満たしてください。
In @.agents/skills/argent-device-interact/SKILL.md:
- Around line 231-232: Require explicit user confirmation before invoking
settings-permissions in both .agents/skills/argent-device-interact/SKILL.md
lines 231-232 and .agents/skills/argent-test-ui-flow/SKILL.md line 29. Before
execution, present the target device, bundleId, permission, and operation
(grant, deny, or reset), then proceed only after the user clearly approves.
In @.agents/skills/argent-lens/SKILL.md:
- Around line 56-58: Update Step 3 around await_user_selection to state that it
is called once initially, then called again whenever the result has status
"pending" or morePending: true, until the human decision is complete; remove the
unconditional "exactly once" and "call it once, last" wording.
In @.agents/skills/argent-metro-debugger/references/failure-scenarios.md:
- Around line 5-7: Update the “Metro not running” row to branch when `got:` or
the port owner identifies a non-Metro service on port 8081: do not retry Metro
on that occupied port; either preserve the existing service and start Metro on a
configured alternate port, passing it consistently to `debugger-status`,
`debugger-connect`, and port forwarding, or follow the appropriate conflict
resolution path.
In @.agents/skills/argent-metro-debugger/SKILL.md:
- Around line 90-92: Update the log-search instruction around the documented
search step to prohibit Read for log files; allow only bounded Grep or shell
commands that limit output. Align the large-log guidance and the referenced
later section so logs are never directly loaded into context, while preserving
the Explore delegation and untrusted-data caveat.
- Around line 26-35: Clarify the introductory `device_id` and `logicalDeviceId`
documentation by separating caller-provided identifiers for React Native, Vega,
and Chromium, including Chromium’s `chromium-cdp-<port>` value, from values
returned by `debugger-connect`. State that returned `logicalDeviceId` should be
reused for subsequent calls when present, while Vega continues using its serial
because it does not return one; preserve the existing tool behavior and
targeting guidance.
In @.agents/skills/argent-react-native-app-workflow/SKILL.md:
- Line 114: Update the dependency reset instructions in the cache-clearing
workflow to preserve the project’s package-manager lockfile and
ios/Podfile.lock. Remove only node_modules and caches, use the detected package
manager’s lock-preserving install command instead of always running npm install,
and run pod install using the existing Podfile.lock without --repo-update or
deleting it.
- Line 162: ログ診断手順の表記を、ログ全体の読み込みではなく範囲限定の検索・読み込みに戻してください。JavaScript errors /
logs の行で debugger-log-registry から概要とログパスを取得し、限定範囲の Grep と必要な行だけを読む Read
を明記してください。~/.argent/tmp/ 配下のログ全体を読み込む手順は削除してください。
- Around line 55-62: Update the Android adb reverse instructions and checklist
to use the configured metro_port from the environment inspector, falling back to
8081 only when metro_port is unset. Ensure the detected port is used for both
sides of the reverse command instead of hardcoding 8081.
In @.agents/skills/argent-react-native-optimization/references/lint-rules.md:
- Line 4: Update the project dependency manifests to add pinned, mutually
compatible versions of ESLint, eslint-plugin-react, eslint-plugin-react-native,
eslint-plugin-react-hooks, eslint-plugin-react-perf, and
`@typescript-eslint/parser`; ensure both package.json and package-lock.json are
regenerated consistently so the documented lint command can install and run all
required plugins.
- Around line 49-54: Update the ESLint procedure to require declaring a
compatible ESLint version, all required plugins, and an explicit eslint.config.*
or supported legacy configuration when ESLint is used; do not create an
undeclared temporary config. Change the execution command to use npx
--no-install eslint --format json <src_dir>, while preserving the existing
source-root discovery guidance.
In @.agents/skills/argent-react-native-optimization/SKILL.md:
- Around line 36-37: Biome を Linter と Formatter として維持し、ESLint/Prettier
中心へ未完了の移行をしないよう手順と出力契約を統一してください。.agents/skills/argent-react-native-optimization/SKILL.md
の36-37行では Biome を使う既存の npm run lint
手順を維持してください。.agents/skills/argent-react-native-optimization/references/lint-rules.md
の6-48行では既存の Biome 手順を残し、ESLint
は追加手順として記載してください。.claude/agents/references/quality-control-checklist.md の3-21行では
quality_control に Biome の lint、format、fix 情報を追加し、package.json
の既存スクリプトおよび依存関係と整合させてください。
In @.agents/skills/argent-settings-permissions/SKILL.md:
- Around line 105-109: Update the Android denied-path instructions near the
permission action example to include launching the app, waiting for its location
request, rejecting the resulting system dialog, and then observing the fallback
behavior; retain the existing command and clarify that this dialog rejection is
the next step after applying deny.
- Around line 86-95: Update the Result failure-condition documentation to scope
the uninstalled-app failure for iOS location grants to local simulators only.
Explicitly state that remote simulators do not check installation state, may
report success without recording the grant, and require the app to be installed
before granting location or location-always.
In @.claude/agents/argent-environment-inspector.md:
- Around line 43-44: Clarify the project-type detection rules in the environment
inspector: when both expo and react-native are present, classify the project as
Expo or explicitly define the intended precedence, ensuring first-match
evaluation selects the corresponding Expo workflow instead of the React Native
workflow. Update the adjacent is_react_native guidance so the mutually exclusive
project_type behavior and dual-dependency case are unambiguous.
In @.claude/agents/references/quality-control-checklist.md:
- Line 11: Update the e2e_tests JSON schema in the quality-control checklist to
include an "espresso": bool field, keeping it consistent with the existing
Detox, Maestro, XCTest, and Flutter integration test fields.
In @.claude/rules/argent.md:
- Around line 73-82: Update the simulator/emulator interaction rules to prohibit
direct commands only when the corresponding argent MCP tool supports the
operation. Reconcile the absolute prohibition in the first bullets with the
exception in the final bullet, explicitly allowing the minimum necessary xcrun,
adb, or other platform command for operations MCP does not support while
retaining MCP as the required path when available.
- Line 35: Update the Argent installation commands in the setup instruction to
pin `@swmansion/argent` to version 0.18.0 instead of latest, preserving both the
npx and global npm command variants.
---
Outside diff comments:
In @.agents/skills/argent-native-profiler/SKILL.md:
- Line 60: Restore the trace confidentiality rules in the argent-native-profiler
instructions: require explicit user confirmation before reusing traces, restrict
storage to the designated temporary location, and require deleting traces when
the investigation ends. Update the Step 2 “Stop and export” guidance while
preserving the existing profiling workflow.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1e753cd2-d34e-4013-a5ef-a4255d7f6b06
📒 Files selected for processing (55)
.agents/skills/argent-create-flow/SKILL.md.agents/skills/argent-device-interact/SKILL.md.agents/skills/argent-lens/SKILL.md.agents/skills/argent-metro-debugger/SKILL.md.agents/skills/argent-metro-debugger/references/failure-scenarios.md.agents/skills/argent-native-profiler/SKILL.md.agents/skills/argent-react-native-app-workflow/SKILL.md.agents/skills/argent-react-native-optimization/SKILL.md.agents/skills/argent-react-native-optimization/references/lint-rules.md.agents/skills/argent-react-native-optimization/references/semantic-checklist.md.agents/skills/argent-react-native-profiler/SKILL.md.agents/skills/argent-react-native-profiler/references/diagnostic-tools.md.agents/skills/argent-screen-recording/SKILL.md.agents/skills/argent-settings-permissions/SKILL.md.agents/skills/argent-test-ui-flow/SKILL.md.agents/skills/argent-tv-interact/SKILL.md.claude/agents/argent-environment-inspector.md.claude/agents/references/quality-control-checklist.md.claude/rules/argent.md.claude/skills/argent-android-emulator-setup.claude/skills/argent-android-emulator-setup/SKILL.md.claude/skills/argent-create-flow.claude/skills/argent-create-flow/SKILL.md.claude/skills/argent-device-interact.claude/skills/argent-device-interact/SKILL.md.claude/skills/argent-device-interact/references/gesture-examples.md.claude/skills/argent-ios-simulator-setup.claude/skills/argent-ios-simulator-setup/SKILL.md.claude/skills/argent-lens.claude/skills/argent-lens/SKILL.md.claude/skills/argent-metro-debugger.claude/skills/argent-metro-debugger/SKILL.md.claude/skills/argent-metro-debugger/references/failure-scenarios.md.claude/skills/argent-metro-debugger/references/source-maps.md.claude/skills/argent-native-profiler.claude/skills/argent-native-profiler/SKILL.md.claude/skills/argent-react-native-app-workflow.claude/skills/argent-react-native-app-workflow/SKILL.md.claude/skills/argent-react-native-optimization.claude/skills/argent-react-native-optimization/SKILL.md.claude/skills/argent-react-native-optimization/references/fix-reference.md.claude/skills/argent-react-native-optimization/references/lint-rules.md.claude/skills/argent-react-native-optimization/references/semantic-checklist.md.claude/skills/argent-react-native-profiler.claude/skills/argent-react-native-profiler/SKILL.md.claude/skills/argent-react-native-profiler/references/diagnostic-tools.md.claude/skills/argent-screen-recording.claude/skills/argent-screenshot-diff.claude/skills/argent-screenshot-diff/SKILL.md.claude/skills/argent-settings-permissions.claude/skills/argent-test-ui-flow.claude/skills/argent-test-ui-flow/SKILL.md.claude/skills/argent-tv-interact.claude/skills/argent-tv-interact/SKILL.mdskills-lock.json
💤 Files with no reviewable changes (23)
- .claude/skills/argent-test-ui-flow/SKILL.md
- .claude/skills/argent-screenshot-diff/SKILL.md
- .agents/skills/argent-react-native-optimization/references/semantic-checklist.md
- .agents/skills/argent-react-native-profiler/references/diagnostic-tools.md
- .claude/skills/argent-tv-interact/SKILL.md
- .claude/skills/argent-metro-debugger/SKILL.md
- .claude/skills/argent-metro-debugger/references/source-maps.md
- .claude/skills/argent-metro-debugger/references/failure-scenarios.md
- .claude/skills/argent-lens/SKILL.md
- .claude/skills/argent-create-flow/SKILL.md
- .claude/skills/argent-android-emulator-setup/SKILL.md
- .agents/skills/argent-react-native-profiler/SKILL.md
- .claude/skills/argent-device-interact/references/gesture-examples.md
- .claude/skills/argent-device-interact/SKILL.md
- .claude/skills/argent-ios-simulator-setup/SKILL.md
- .claude/skills/argent-react-native-optimization/references/fix-reference.md
- .claude/skills/argent-react-native-optimization/references/semantic-checklist.md
- .claude/skills/argent-react-native-optimization/references/lint-rules.md
- .claude/skills/argent-react-native-profiler/references/diagnostic-tools.md
- .claude/skills/argent-react-native-app-workflow/SKILL.md
- .claude/skills/argent-native-profiler/SKILL.md
- .claude/skills/argent-react-native-optimization/SKILL.md
- .claude/skills/argent-react-native-profiler/SKILL.md
|
@coderabbitai 全部自動生成のファイルなのでapproveください |
|
✅ Action performedComments resolved and changes approved. |
概要
Argent MCP ツールキットを v0.15.0 から v0.18.0 へ更新し、スキルの実体を
.agents/skills/に一本化する。.claude/skills/argent-*は.agents/skills/へのシンボリックリンクに置き換え、二重管理を解消する。変更の種類
変更内容
skills-lock.json: 全 argent スキルの参照をsoftware-mansion/argentv0.15.0 → v0.18.0 に更新.claude/skills/argent-*(16 件)の実体ファイルを削除し、.agents/skills/への symlink に置換argent-screen-recording(画面録画)、argent-settings-permissions(アプリ権限の付与・拒否・リセット).agents/skills/argent-*の各 SKILL.md / references を v0.18.0 の内容に更新.claude/rules/argent.md: 新スキル 2 件のルーティング追記、@latest付きインストールコマンドへの更新など.claude/agents/argent-environment-inspector.md/references/quality-control-checklist.mdを追随更新テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること省略: アプリコード(
src//android//ios//assets/)に変更がないため、上記チェックは対象外。関連Issue
スクリーンショット(任意)
Summary by CodeRabbit
新機能
ドキュメント