agentleFS
flurdyflurdy/agent-skills/skills/eas-build-error/SKILL.md

eas-build-error

Skill9 starsChanged 3 months agoMITView on GitHub

View the latest EAS build status and errors. Fetches build details, extracts failure logs, and suggests fixes for common iOS/Android build issues.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If argument looks like a UUID (contains hyphens, 36 chars): treat as build ID

    line 31
  2. Very specific:

    If argument is ios or android: filter by platform

    line 35
  3. Distinctive:

    If no argument: get latest build across all platforms

    line 39
  4. Very specific:

    If status is ERRORED or CANCELED:

    line 65
  5. Very specific:

    Use WebFetch on each log URL

    line 74
  6. Distinctive:

    If URLs return 404 (expired), note that logs have expired

    line 76
  7. Distinctive:

    Try xcode build logs: if available:

    line 78
  8. Distinctive:

    If you recognize common error patterns, suggest fixes:

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

EAS Build Error - View latest build status and errors

Show the status and errors from the latest EAS build.

Usage

/eas-build-error              # Latest build (any platform)
/eas-build-error ios           # Latest iOS build
/eas-build-error android       # Latest Android build
/eas-build-error <build-id>    # Specific build by ID

Implementation

Step 1: Get the build

Parse the argument to determine what to fetch:

  • If argument looks like a UUID (contains hyphens, 36 chars): treat as build ID
    npx eas build:view <build-id> --json
  • If argument is ios or android: filter by platform
    npx eas build:list --limit=1 --platform=<platform> --json --non-interactive
  • If no argument: get latest build across all platforms
    npx eas build:list --limit=1 --json --non-interactive

Step 2: Display build summary

From the JSON output, extract and display:

## EAS Build: <STATUS>

| Field       | Value                          |
|-------------|--------------------------------|
| ID          | <id>                           |
| Platform    | <platform>                     |
| Profile     | <buildProfile>                 |
| Status      | <status> (with emoji: ✓/✗/⏳)  |
| Commit      | <gitCommitHash> <gitCommitMessage> |
| Started     | <createdAt>                    |
| Duration    | <computed from metrics>        |
| Logs        | <link to expo.dev>             |

Step 3: Show errors (if build failed)

If status is ERRORED or CANCELED:

  1. Show the error field from the JSON:
    ### Error
    <error.message>
  2. Fetch detailed logs — try each URL in logFiles array:
    • Use WebFetch on each log URL
    • Extract error lines, warnings, and failure details
    • If URLs return 404 (expired), note that logs have expired
  3. Try xcode build logs if available:
    • Check artifacts.xcodeBuildLogsUrl
    • Fetch and extract compilation errors
  4. If all log URLs have expired, tell the user:
    Log URLs have expired (15-minute TTL).
    View full logs at: <expo.dev link>

Step 4: Suggest fixes (if applicable)

If you recognize common error patterns, suggest fixes:

Error PatternSuggestion
non-modular header inside framework moduleAdd CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES to post_install
module map file not foundCheck use_modular_headers! vs use_frameworks! in Podfile
Swift pods cannot yet be integrated as static librariesAdd useFrameworks: "static" to expo-build-properties
Pod install errorsCheck CocoaPods compatibility, try pod repo update
No signing certificateCheck EAS credentials with eas credentials
Provisioning profileRun eas credentials to fix provisioning

Example Output

## EAS Build: ERRORED ✗

| Field    | Value                                                    |
|----------|----------------------------------------------------------|
| ID       | 6a50d5ae-6a62-1345-96d3-c1def3755cf1                     |
| Platform | iOS                                                      |
| Profile  | development                                              |
| Status   | ✗ ERRORED                                                |
| Commit   | 8a2ba05 feat: Add haptic feedback...                      |
| Duration | 94s                                                      |
| Logs     | https://expo.dev/accounts/USERNAME/projects/PROJECT/builds/… |

### Error
The "Run fastlane" step failed because of an error in the Xcode build process.

### Detected Errors
- module map file 'gRPC-Core.modulemap' not found (in target 'gRPC-C++')

### Suggested Fix
The `use_modular_headers!` setting is breaking gRPC module maps.
Consider using `useFrameworks: "static"` with a post_install hook instead.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.