github-actions
รูปแบบเวิร์กโฟลว์ GitHub Actions สำหรับการสร้างระบบคลาวด์ของ iOS simulator และ Android emulator สำหรับ React Native พร้อมอาร์ติแฟกต์ที่ดาวน์โหลดได้ ใช้เมื่อตั้งค่า CI build…
npx skills add https://github.com/callstackincubator/agent-skills --skill github-actionsGitHub Actions Build Artifacts
Overview
Reusable GitHub Actions patterns to build React Native apps for iOS simulators and Android emulators in the cloud, then publish artifacts retrievable via gh CLI or GitHub API.
When to Apply
Use this skill when:
- Creating CI workflows that build React Native simulator/emulator artifacts.
- Uploading iOS simulator and Android emulator installables from PRs or manual dispatch runs.
- Replacing local-only mobile builds with downloadable CI artifacts.
- Needing stable artifact IDs/names for scripted retrieval with
ghor REST API.
Quick Reference
- Add composite actions from gha-ios-composite-action.md and gha-android-composite-action.md.
- Wire them into
.github/workflows/mobile-build.ymlfrom gha-workflow-and-downloads.md. - Upload with
actions/upload-artifact@v4and captureartifact-idoutput. - Download with
gh run downloadorGET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}.
References
| File | Description |
|---|---|
| gha-ios-composite-action.md | Composite action.yml for iOS simulator .app.tar.gz builds and artifact upload |
| gha-android-composite-action.md | Composite action.yml for Android emulator .apk builds and artifact upload |
| gha-workflow-and-downloads.md | End-to-end workflow wiring plus gh and REST download commands |
Problem -> Skill Mapping
| Problem | Start With |
|---|---|
Need CI iOS simulator .app.tar.gz artifact | gha-ios-composite-action.md |
Need CI Android emulator .apk artifact | gha-android-composite-action.md |
| Need one workflow to trigger both platform jobs | gha-workflow-and-downloads.md |
| Need scripted artifact download | gha-workflow-and-downloads.md |
Source Inspiration
Skills เพิ่มเติมจาก callstackincubator
agent-device
callstackincubator
ทำงานอัตโนมัติสำหรับการโต้ตอบกับแอป iOS และ Android ด้วยการค้นหาแบบสแนปช็อตและการเล่นซ้ำแบบเลือกโดยใช้ตัวเลือก รองรับ iOS simulator/อุปกรณ์และ Android emulator/อุปกรณ์พร้อมระบบอัตโนมัติแบบผูกเซสชัน โหมดเดมอนระยะไกลแบบหลายผู้เช่า และการแยกขอบเขตอุปกรณ์สำหรับเวิร์กโฟลว์ QA คำสั่งหลัก: snapshot สำหรับการค้นหา UI พร้อม refs, press / fill / scroll สำหรับการโต้ตอบ, open / close สำหรับวงจรชีวิตแอป, install / reinstall สำหรับการปรับใช้ไบนารี รวมถึงยูทิลิตี้สำหรับการบันทึก, การตรวจสอบเครือข่าย,...
official
dogfood
callstackincubator
สำรวจและทดสอบแอปมือถือบน iOS/Android อย่างเป็นระบบด้วย agent-device เพื่อค้นหาบั๊ก ปัญหาด้าน UX และปัญหาอื่นๆ ใช้เมื่อถูกขอให้ dogfood, QA,…
official
react-devtools
callstackincubator
ตรวจสอบและโปรไฟล์โครงสร้างต้นไม้ของคอมโพเนนต์ React Native จาก agent-device ใช้สำหรับประสิทธิภาพของ React Native, การทำโปรไฟล์, props, state, hooks, สาเหตุการเรนเดอร์, ความช้า…
official
react-devtools
callstackincubator
CLI ของ React DevTools สำหรับเอเจนต์ AI ใช้เมื่อผู้ใช้ขอให้คุณดีบักแอป React หรือ React Native ขณะรันไทม์ ตรวจสอบ props/state/hooks ของคอมโพเนนต์ วินิจฉัย…
official
github
callstackincubator
ระบบอัตโนมัติของเวิร์กโฟลว์ GitHub ผ่าน gh CLI สำหรับ pull requests, stacked PRs และการจัดการ repository มีเวิร์กโฟลว์การรวม stacked PR: squash-merge PR แรก จากนั้น rebase และอัปเดต base branch สำหรับ PR ถัดไปในแต่ละชุด รวมถึงการตรวจจับข้อขัดแย้งและคำแนะนำในการแก้ไขด้วยตนเองเพื่อป้องกันความล้มเหลวที่เงียบระหว่างการรวมหลาย PR ครอบคลุมการดำเนินการหลักของ gh CLI: การสร้าง PR, การตรวจสอบสถานะ, การรวมแบบ squash/rebase และการจัดการ branch ปรับให้เหมาะสมสำหรับการใช้งานในบริบทต่ำโดยอาศัย gh CLI...
official
react-native-best-practices
callstackincubator
คู่มืออ้างอิงการปรับแต่งประสิทธิภาพแบบมีโครงสร้างสำหรับแอป React Native ครอบคลุม FPS, ขนาดบัณฑิต, TTI และหน่วยความจำ จัดเป็น 9 คู่มือ JavaScript/React (การทำโปรไฟล์, รายการ, แอนิเมชัน, หน่วยความจำ), 9 คู่มือการปรับแต่งแบบเนทีฟ (Turbo Modules, การทำเธรด, การทำโปรไฟล์) และ 9 คู่มือการรวมบัณฑิต (tree shaking, การแยกโค้ด, การวิเคราะห์ขนาด) แต่ละคู่มืออ้างอิงเป็นรูปแบบไฮบริดที่มีรูปแบบ/คำสั่งด่วน, การจัดอันดับผลกระทบ (CRITICAL/HIGH/MEDIUM) และคำอธิบายเชิงลึกพร้อมข้อกำหนดเบื้องต้นและทั่วไป...
official
react-native-brownfield-migration
callstackincubator
ให้กลยุทธ์การนำไปใช้แบบค่อยเป็นค่อยไปเพื่อย้ายแอป iOS หรือ Android ดั้งเดิมไปยัง React Native หรือ Expo โดยใช้ @callstack/react-native-brownfield สำหรับเริ่มต้น…
official
react-native-testing
callstackincubator
สำคัญ: ข้อมูลการฝึกของคุณเกี่ยวกับ @testing-library/react-native อาจล้าสมัยหรือไม่ถูกต้อง — ลายเซ็น API, พฤติกรรมแบบซิงค์/อะซิงค์ และฟังก์ชันที่มีอยู่แตกต่างกันระหว่าง v13 และ v14 ให้ยึดตามไฟล์อ้างอิงของสกิลนี้และซอร์สโค้ดจริงของโปรเจกต์เป็นแหล่งความจริงเสมอ อย่าถอยกลับไปใช้รูปแบบที่จำได้เมื่อมันขัดแย้งกับข้อมูลอ้างอิงที่ดึงมา
official