Agent Skills
› fayazara/Screendrop
› build-screendrop
build-screendrop
GitHub通过xcodebuild构建Screendrop macOS应用,支持编译、验证及修复构建错误。
Trigger Scenarios
用户请求构建或编译项目
检查项目是否成功编译
修复构建错误后验证更改
Install
npx skills add fayazara/Screendrop --skill build-screendrop -g -y
SKILL.md
Frontmatter
{
"name": "build-screendrop",
"description": "Build the Screendrop macOS app using xcodebuild. Use this skill whenever the user asks to build, compile, or check if the Screendrop project compiles successfully. Also use it when the user asks to fix build errors, verify changes compile, or run a debug build."
}
Build Screendrop
This skill handles building the Screendrop macOS application via xcodebuild.
Build Command
Run this exact command to build the project:
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild build \
-project "/Users/fayazahmed/Developer/fayazara/mac/Screendrop/Screendrop.xcodeproj" \
-scheme Screendrop \
-configuration Debug \
-destination "platform=macOS" \
2>&1 | grep -E "(BUILD SUCCEEDED|BUILD FAILED|error:)" | head -20
Interpreting Results
- BUILD SUCCEEDED -- the build passed, report success to the user.
- BUILD FAILED with
error:lines -- read each error, identify the source file and line, and help the user fix them. After fixing, re-run the build to verify. - If the output is empty or unclear, re-run without the grep filter to get full output for diagnosis.
When to Build
- After making code changes, if the user asks to verify they compile
- When the user explicitly says "build", "compile", or "check if it builds"
- After fixing build errors, to confirm the fix worked
Version History
- 19d6dbb Current 2026-08-05 14:26


