docs(commands): trim the diagnostics, media, and remote Metro reference
Merged
TH
1mo ago+108+108+012345678901234567890123456789-132-132-012345678901234567890123456789
Summary
The first of three family-scoped trims of commands.md. This one covers Performance diagnostics through Cloud provider artifacts. The range drops from 5,794 to 3,345 words. Every command, flag, example, error code and recovery step is kept; explanations owned by a guide or by agent-device help are replaced with a link.
- Media and logs: split into Screenshots, Screenshot diffs and Recordings. Record details point to
agent-device help record. - Performance, React Native, Metro, Remote Metro: condensed. Content that existed only here moved to
debugging-profiling.md: remote bridge sessions,network dumpplatform details, and perf data sources and limits. - Added: the React Native 0.87+
agent-react-devtoolssetup (dev dependency,npx agent-react-devtools init, rebundle). CLI help already documented it, but the docs didn't. - Anchors
#metro-reload,#media-and-logsand#remote-metro-workflowstill resolve. The pinned cdp andagent-react-devtools@0.5.0lines are unchanged.
The other two families (lifecycle, interactions) follow in separate PRs. Each edits a different range of commands.md.
Validation
pnpm check:affected --runpassed on 8fdb233b9.- The four tests that pin
commands.mdtext pass. check:doc-proseandcheck:doc-linkspass.- Docs only, so no device runs.
🤖 Generated with Claude Code