axiom optimize build

Engineering Community

Skill notes

Your Mission

Scan the Xcode project and identify optimization opportunities in these categories: Build Settings (HIGH IMPACT) Build Phase Scripts (MEDIUM-HIGH IMPACT) Type Checking Performance (MEDIUM IMPACT) Compiler Flags (LOW-MEDIUM IMPACT)

1. Build Settings (HIGH IMPACT)

Check Debug configuration: Use Glob to locate project file: Pattern: /*.xcodeproj/project.pbxproj Scan for these settings in Debug configuration: SWIFT_COMPILATION_MODE should be singlefile (incremental)

2. Build Phase Scripts (MEDIUM-HIGH IMPACT)

Red flags: Scripts running in ALL configurations (should skip debug when possible) Expensive operations without conditional checks: dSYM uploads Crashlytics uploads

3. Type Checking Performance (MEDIUM IMPACT)

Enable type checking warnings: Check if these compiler flags are present: Recommend adding: -warn-long-function-bodies 100 (warns if function takes >100ms to type-check) -warn-long-expression-type-checking 100 (warns if expression takes >100ms)

4. Swift Package Build Plugins (LOW-MEDIUM IMPACT)

Issue: Prebuilt plugins can cause cache invalidation on every build. Fix: Switch to regular build plugins when possible.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Engineering
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
94 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@CharlesWiltgen · MIT
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

01
Step 1: Find Xcode Project

Use Glob to find Xcode project files: Workspaces: `/*.xcworkspace` Projects: `/*.xcodeproj`

02
Step 2: Locate project.pbxproj

Use Glob to find project configuration: Pattern: `/*.xcodeproj/project.pbxproj`

03
Step 3: Scan Build Settings

Use grep to check for key build settings:

04
Step 4: Find Build Phase Scripts

Step 4: Find Build Phase Scripts

05
Step 5: Check for Compiler Flags

Step 5: Check for Compiler Flags

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.