Preface¶
Deploying an Expo project to EAS Build, submitting it to app stores, or creating PR previews often requires maintaining YAML files under .eas/workflows/ in the repository. Fields evolve with EAS iterations, and triggers, pre-packaged jobs, expression contexts, and build profiles in eas.json must all align. Relying solely on model memory often leads to configurations that “look like GitHub Actions but fail EAS validation.”
Below is the eas-workflows Agent Skill maintained by Expo. When users discuss Expo/EAS CI/CD, workflows, build pipelines, or deployment automation, it guides the Agent to first fetch official schemas and documentation, then generate or modify workflows, and finally perform validation using the EAS CLI.
What is this¶
eas-workflows is a skill within the “Services & paid distribution” group of the Expo Skills collection. The source code is located at plugins/expo/skills/eas-workflows. The current skill metadata version is 1.0.0, released under the MIT License.
The skill’s description states that it helps understand and write EAS workflow YAML for Expo projects; it applies to scenarios where users ask about CI/CD, mention .eas/workflows/, or need help with EAS build pipelines and deployment automation. Expo documentation and the EAS CLI remain the authoritative sources; the skill ensures the Agent follows a consistent process for researching, writing files, and running validation.
The tools declared by the skill include: Read, Write, Bash(node:*), and Bash(npx *eas-cli@*), which aligns with the workflow of “fetching docs via Node + validating via EAS CLI.”
Core Features¶
Fetching Three Types of Reference Resources on Demand¶
When generating or modifying workflows, or answering syntax questions, the skill requires locating the skill directory first and then using Node scripts under scripts/ to fetch and cache documentation (using ETags to minimize redundant requests):
node <skill-dir>/scripts/fetch.js <url>
The three types of resources that must be checked are:
- JSON Schema —
https://api.expo.dev/v2/workflows/schema(Must be fetched before writing; the source of truth for job types, triggers, runners, and enum values. EAS CLI remains the final validator.) - Syntax Documentation —
syntax.mdxin the Expo repository (YAML overview, examples, expressions, and contexts). - Pre-packaged Jobs —
pre-packaged-jobs.mdxin the Expo repository (Pre-defined job types, parameters, and outputs).
The skill explicitly states: Do not rely on remembered field values, as these resources are continuously updated.
Workflow File Conventions and Top-Level Structure¶
Workflows are placed in .eas/workflows/*.yml or .yaml, with a maximum size of 16 KiB per file.
Top-level keys include:
name— Display nameon— Triggers (at least one required)jobs— Job definitions (required)defaults— Shared defaults for jobsconcurrency— Parallel run controls
Refer to the Schema for complete fields.
Expression Context¶
Dynamic values use ${{ }}. Contexts defined in the Schema include github.*, inputs.*, needs.*, jobs.*, steps.*, workflow.*, etc.
Checklist for Generation and Editing¶
The skill requires the Agent to perform the following when producing YAML:
- Fetch the Schema and verify current job types and parameters.
- Check required fields for each job type.
- Ensure that jobs referenced in
needsandafterexist. - Verify that expressions reference valid contexts and outputs.
- Ensure
ifconditions meet Schema constraints (e.g., length limits).
Validation with EAS CLI (Irreplaceable)¶
After modifying a workflow, you must run the following command in the Expo project root for each changed file individually:
npx -y eas-cli@latest workflow:validate .eas/workflows/<workflow.yml> --non-interactive
This requires a logged-in EAS CLI and a linked project. Compared to simple Schema validation, this command also checks against the build profiles in the project’s eas.json and performs server-side validation. You must fix issues until the output reads Workflow configuration YAML is valid.; the skill requires that you do not substitute this command with local YAML or JSON Schema validation.
Principles for Answering Questions¶
When users ask about job types, triggers, runners, or other optional values, answers should be derived from the Schema rather than relying on outdated knowledge.
Installation and Enablement¶
For agents like Cursor, OpenCode, and GitHub Copilot, it is recommended to use the skills CLI to install Expo Skills. To install all Expo Skills (including eas-workflows) in the project root:
npx skills@latest add expo/skills --skill '*'
The CLI will prompt for the installation target; if targeting a specific agent, add --agent <agent>. Restart or refresh the agent session after installation to ensure SKILL.md is discovered.
Claude Code and Codex can install the expo plugin (which includes Skills and MCP configuration) via their respective official plugin marketplaces; this differs from the Cursor path. See the Installation section of expo/skills for details.
To update installed skills:
npx skills@latest update
Typical Usage¶
After installation and session refresh, you can describe EAS CI/CD requirements in natural language. Official Expo example prompts include:
- “Create an EAS workflow that builds previews on pull requests.”
The Agent will select eas-workflows based on the task and skill description, follow the process above to fetch the Schema, write files under .eas/workflows/, and then suggest or execute workflow:validate.
If you find errors or outdated information in the skill documentation, you can submit feedback (must be specific and actionable):
npx --yes submit-expo-feedback@latest --category skills --subject "eas-workflows" "<actionable feedback>"
Use Cases and Notes¶
Who it is for
- Teams using Expo / EAS that need to maintain workflow YAML within their repository.
- Developers who want coding agents to follow current schemas and complete the EAS CLI validation loop when writing pipelines.
Costs and Accounts
The skill notes at the beginning: EAS Workflows run on Expo Application Services, which is a paid product (with free tier limits); each job consumes build/compute minutes from your plan; jobs involving builds or submissions also require Apple Developer, Google Play, and other accounts. You should read expo.dev/pricing before triggering a run.
Relationship with MCP
The Expo MCP server allows agents to trigger and monitor EAS builds and workflows; Skills teach “how to do it right,” while MCP provides “execution in the environment.” Claude Code / Codex configure MCP when installing the official plugin; other agents can integrate it separately via documentation.
Limitations
- The validation command depends on a logged-in and linked project. Without an EAS environment, the Agent can only generate content at the Schema/documentation level and cannot replace server-side validation.
- The 16 KiB limit per workflow file requires planning for splitting into multiple files or simplifying jobs.
Conclusion¶
Mobile CI/CD YAML involves many fields and is tightly coupled with eas.json, making it costly for agents to “guess” configurations based on training data. eas-workflows standardizes the process of “Fetch Schema → Write .eas/workflows/ against docs → eas-cli workflow:validate,” aligning with the official Expo toolchain.
Official Skill URL: github.com/expo/skills/tree/main/plugins/expo/skills/eas-workflows