perps-core-sync

Sync perps controller changes from mobile to core monorepo via a 13-step pipeline.

3.0k|1.6k|Updated Jul 18, 2018
One-click install
npx skills add https://github.com/MetaMask/metamask-mobile --skill perps-core-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perps-core-sync
Source: https://github.com/MetaMask/metamask-mobile/tree/main/.agents/skills/perps-core-sync
Command: npx skills add https://github.com/MetaMask/metamask-mobile --skill perps-core-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Syncs the perps controller from mobile to the core monorepo with change detection, automated validation, failure resolution, and post-sync commit guidance.

Core Features & Use Cases

  • End-to-end cross-repo sync of app/controllers/perps/ to packages/perps-controller/src/ with a deterministic 13-step pipeline.
  • Detects changes, validates builds, updates changelogs, and writes sync state to track progress.
  • Use after perps controller changes land in mobile or after related PRs merge to core to propagate updates.

Quick Start

Run the 13-step perps-core-sync pipeline to propagate perps changes from mobile to core.

Frequently Asked Questions about perps-core-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync a controller from a mobile repo to a core monorepo?

To sync a controller from mobile to a core monorepo, run an automated 13-step pipeline that handles change detection, file copying, install, lint, format, build, artifact verification, tests, changelog updates, and sync-state tracking.

What is the best way to propagate perps controller changes after a PR merge?

Propagating perps controller changes after a PR merge is best handled by an automated pipeline that detects updates, validates builds, updates changelogs, and writes sync state to track progress across repositories.

Does the cross-repo sync pipeline handle build validation and failure resolution?

Yes, the cross-repo sync pipeline enforces automated validation by running lint, format, build, artifact verification, and tests, while providing failure resolution and post-sync commit guidance to ensure repository stability.

When do I need to run a 13-step sync pipeline for perps controller updates?

You need to run a 13-step sync pipeline after perps controller changes land in the mobile repository or when related PRs merge to the core monorepo to propagate and validate those updates.

Can I automate changelog updates and sync-state tracking during cross-repo synchronization?

Yes, you can automate changelog updates and write sync-state tracking during cross-repo synchronization as part of a deterministic pipeline that propagates controller changes from mobile to core.

What pre-flight checks are required before syncing a perps controller to a core monorepo?

Pre-flight checks are required before syncing a perps controller to a core monorepo to detect changes and verify environment readiness, ensuring the source and target repositories are prepared for the automated validation pipeline.