본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

react-native-logs-cli

okwasniewski 제작

Web & Frontend Development
278clawskills.sh가 보고한 다운로드 수
2스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Use rn-logs to read React Native Metro logs via CDP without MCP overhead.

설명

이 스킬이 하는 일

rn-logs is a CLI tool that reads React Native Metro logs via the Chrome DevTools Protocol (CDP). It lists connected apps and streams or snapshots log output in plain text, making it usable in non-interactive agent runs.

Reads Metro logs via CDP directly rather than wrapping an MCP server, keeping context overhead low and output format predictable for automated tooling.

사용 시점

  • Streaming live Metro logs from a simulator during development
  • Capturing a snapshot of the last 50 log lines for debugging
  • Listing all connected RN apps across multiple running instances
  • Feeding plain-text logs into an AI agent without MCP overhead
  • Checking Metro output on a specific host/port in CI or remote setups

예시 워크플로

입력

User asks: show me the last 50 log lines from the running RN app

에이전트
  1. 1

    Run rn-logs apps to list connected React Native apps

  2. 2

    Identify the target app by id or name from the output

  3. 3

    Run rn-logs logs --app "<id>" --limit 50 to capture a snapshot

  4. 4

    Return the plain-text log output to the user

출력

50 most recent Metro log lines printed as plain text

요구 사항

  • rn-logs CLI installed globally via npm or bun

설치

clawhub install okwasniewski/react-native-logs-cli

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크