Skip to content

Argentツールキットをv0.18.0へ更新しスキル実体を.agents/skillsへ集約 - #6501

Merged
TinyKitten merged 1 commit into
devfrom
chore/update-argent-v0.18.0
Jul 31, 2026
Merged

TinyKitten merged 1 commit into
devfrom
chore/update-argent-v0.18.0

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

概要

Argent MCP ツールキットを v0.15.0 から v0.18.0 へ更新し、スキルの実体を .agents/skills/ に一本化する。.claude/skills/argent-* は .agents/skills/ へのシンボリックリンクに置き換え、二重管理を解消する。

変更の種類

  • バグ修正
  • 新機能
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

  • skills-lock.json: 全 argent スキルの参照を software-mansion/argent v0.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

  • 新機能

    • iOS・Android・実機の画面録画に対応しました。
    • アプリ外から実行時権限を許可・拒否・リセットできる手順を追加しました。
    • Vega向けのTV操作およびJavaScriptランタイムデバッグに対応しました。
    • UIフローで、宣言的なステップ、条件分岐、待機・検証、スナップショット、失敗レポートを利用できるようになりました。
  • ドキュメント

    • デバイス操作、デバッグ、プロファイリング、React Native最適化の手順を更新しました。
    • 安全な資格情報入力や権限ダイアログの扱いを明確化しました。

@TinyKitten TinyKitten self-assigned this Jul 31, 2026
@coderabbitai

coderabbitai Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Argentのスキル文書を更新し、フロー作成、デバッグ、権限操作、画面録画、React Native運用を拡張した。Claude用スキルを共有参照へ変更し、skills-lock.jsonをv0.18.0へ更新した。

Changes

Argent操作フロー

Layer / File(s) Summary
操作フローと入力仕様
.agents/skills/argent-create-flow/SKILL.md, .agents/skills/argent-device-interact/SKILL.md, .agents/skills/argent-lens/SKILL.md, .agents/skills/argent-test-ui-flow/SKILL.md
宣言的なフロー、セレクタ、待機、検証、TV操作、秘密入力、権限ダイアログ、Lens選択の手順を更新した。

デバッグと運用

Layer / File(s) Summary
デバッグとプロファイリング
.agents/skills/argent-metro-debugger/..., .agents/skills/argent-native-profiler/SKILL.md, .agents/skills/argent-tv-interact/SKILL.md
Vegaのデバッグ機能、Metroの診断条件、未信頼ログの扱い、iOSリークの再プロファイル手順を追加・更新した。
React Native運用と品質確認
.agents/skills/argent-react-native-app-workflow/SKILL.md, .agents/skills/argent-react-native-optimization/..., .claude/agents/argent-environment-inspector.md, .claude/agents/references/quality-control-checklist.md
Metroの固定ポート、依存関係再解決、ESLintルール、プロジェクト判定、品質確認JSONを更新した。

権限・録画・連携

Layer / File(s) Summary
権限、録画、Argentルール
.agents/skills/argent-screen-recording/SKILL.md, .agents/skills/argent-settings-permissions/SKILL.md, .claude/rules/argent.md
画面録画と実行時権限変更のスキルを追加し、Argent MCP、権限、録画、TVデバッグの規則を更新した。
Claude連携とスキル参照
.claude/skills/argent-*, skills-lock.json
Claude用の既存スキル文書を削除し、共有スキルへのシンボリックリンクを追加した。スキル参照、ハッシュ、新規スキルのロックエントリを更新した。

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • TrainLCD/MobileApp#6420: Argentスキル文書とskills-lock.jsonを追加した変更で、本PRが同じファイル群を更新している。

Poem

白うさぎ、手順を整え
フローを跳ねて、ログを追う
権限と録画も仲間入り
Vegaの道を照らします
ロックも更新、ぴょん!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed タイトルは、v0.18.0への更新とスキル実体の.agents/skillsへの集約という主要変更を明確に示しています。
Description check ✅ Passed 概要、変更内容、変更種類、テスト方針、関連Issue、スクリーンショット欄を含み、PRの目的と変更範囲を具体的に説明しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-argent-v0.18.0

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

📥 Commits

Reviewing files that changed from the base of the PR and between d5de6d3 and 5d9250b.

📒 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.md
  • skills-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

Comment thread .agents/skills/argent-lens/SKILL.md Resolved
Comment thread .claude/rules/argent.md Resolved
Comment thread .claude/rules/argent.md Resolved
@TinyKitten

Copy link
Copy Markdown
Member Author

@coderabbitai 全部自動生成のファイルなのでapproveください

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@TinyKitten 承認します。変更は自動生成されたスキル定義とシンボリックリンクです。

✅ Action performed

Comments resolved and changes approved.

@TinyKitten
TinyKitten merged commit 7d0e160 into dev Jul 31, 2026
4 checks passed
@TinyKitten
TinyKitten deleted the chore/update-argent-v0.18.0 branch July 31, 2026 21:49
@TinyKitten TinyKitten mentioned this pull request Aug 1, 2026
6 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant