Recommendation Format
Recommendation Format
Section titled “Recommendation Format”All optimization skills should report recommendations in a shared structure so the orchestrator can merge and prioritize them cleanly.
Required Fields
Section titled “Required Fields”Each recommendation should include:
titlewait_time_impact– plain-language statement of expected wall-clock impact, e.g. “Expected to reduce your clean build by ~3s”, “Reduces parallel compile work but unlikely to reduce build wait time”, or “Impact on wait time is uncertain – re-benchmark to confirm”actionability– classifies how fixable the issue is from the project (see values below)categoryobserved_evidenceestimated_impactconfidenceapproval_requiredbenchmark_verification_status
Actionability Values
Section titled “Actionability Values”Every recommendation must include an actionability classification:
repo-local– Fix lives entirely in project files, source code, or local configuration. The developer can apply it without side effects outside the repo.package-manager– Requires CocoaPods or SPM configuration changes that may have broad side effects (e.g., linkage mode, dependency restructuring). These should be benchmarked before and after.xcode-behavior– Observed cost is driven by Xcode internals and is not suppressible from the project. Report the finding for awareness but do not promise a fix.upstream– Requires changes in a third-party dependency or external tool. The developer cannot fix it locally.
Suggested Optional Fields
Section titled “Suggested Optional Fields”scopeaffected_filesaffected_targetsaffected_packagesimplementation_notesrisk_level
JSON Example
Section titled “JSON Example”{ "recommendations": [ { "title": "Guard a release-only symbol upload script", "wait_time_impact": "Expected to reduce your incremental build by approximately 6 seconds.", "actionability": "repo-local", "category": "project", "observed_evidence": [ "Incremental builds spend 6.3 seconds in a run script phase.", "The script runs for Debug builds even though the output is only needed in Release." ], "estimated_impact": "High incremental-build improvement", "confidence": "High", "approval_required": true, "benchmark_verification_status": "Not yet verified", "scope": "Target build phase", "risk_level": "Low" } ]}Markdown Rendering Guidance
Section titled “Markdown Rendering Guidance”When rendering for human review, preserve the same field order:
- title
- wait-time impact
- actionability
- observed evidence
- estimated impact
- confidence
- approval required
- benchmark verification status
That makes it easier for the developer to approve or reject specific items quickly.
Verification Status Values
Section titled “Verification Status Values”Recommended values:
Not yet verifiedQueued for verificationVerified improvementNo measurable improvementInconclusive due to benchmark noise