argent-native-profiler 是做什么的?
用于诊断原生层级性能问题的分析工具,特别针对 CPU 热点、UI 卡顿和内存问题。在 iOS 上通过 xctrace 实现,在 Android 上通过 Perfetto 实现。
原生性能分析工具,适用于 CPU 热点、UI 卡顿和内存问题。iOS 通过 xctrace;Android 通过 Perfetto。用于诊断原生层面的性能问题。
该技能提供原生级别的性能分析能力,专注于诊断 CPU 热点、UI 卡顿和内存泄漏等底层问题。它支持 iOS 平台(使用 xctrace)和 Android 平台(使用 Perfetto),适用于需要深入分析原生代码性能瓶颈的场景。通过捕获详细的跟踪数据,开发者可以直观地识别性能瓶颈所在,从而优化应用性能和用户体验。它将 xctrace 和 Perfetto 的强大功能封装为简洁的命令行接口,简化了分析和配置过程。
npx skills add https://github.com/software-mansion/argent/tree/main/skills/argent-native-profiler用于诊断原生层级性能问题的分析工具,特别针对 CPU 热点、UI 卡顿和内存问题。在 iOS 上通过 xctrace 实现,在 Android 上通过 Perfetto 实现。
This repo contains 9 individual skills — each has its own dedicated page.
Set up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or before any UI interaction task.
Record a reusable flow (scripted sequence of MCP tool calls) that can be replayed later with a single command. Use when the user asks to create, record, or build a flow, or to script a sequence of device actions.
Interact with an iOS simulator, Android emulator, or Electron app using argent MCP tools. Use when tapping UI elements, performing gestures, scrolling/swiping, typing text, pressing hardware buttons, launching apps, opening URLs, taking screenshots, or checking visible app state after interactions.
Set up and connect to an iOS simulator using argent MCP tools. Use when starting a new session, booting an iOS simulator, getting an iOS UDID, or before any iOS simulator interaction task.
Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP) through the same surface. Use when connecting to the runtime, inspecting React components, reading console logs, or evaluating JavaScript.
Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.
Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.
Profile a React Native Hermes app to measure re-render and CPU performance using argent profiler tools. Use when optimizing for performance, measuring before/after a fix, spotting slow components, diagnosing re-renders, checking CPU hotspots, or producing a ranked issue report.
Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running end-to-end UI test scenarios, manual QA steps, visible UI changes, or visual behavior.
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".