一键导入
check
<EXTREMELY_IMPORTANT>Check any app, product, or service. Particularly for bugs, performance bottlenecks, and areas for improvement.</EXTREMELY_IMPORTANT>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
<EXTREMELY_IMPORTANT>Check any app, product, or service. Particularly for bugs, performance bottlenecks, and areas for improvement.</EXTREMELY_IMPORTANT>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | check |
| description | <EXTREMELY_IMPORTANT>Check any app, product, or service. Particularly for bugs, performance bottlenecks, and areas for improvement.</EXTREMELY_IMPORTANT> |
Build and launch an application with ADA tracing enabled, capture execution traces, voice narration, and screen recording in the background, then automatically analyze the session when complete.
Before running any ada command, resolve the packaged ReadyCheck release and set the environment:
Bash( command: READYCHECK_PLUGIN_ROOT="$(${CLAUDE_PLUGIN_ROOT}/scripts/ensure_release.sh)", background: true )Set variable $ADA_BIN_DIR to "${READYCHECK_PLUGIN_ROOT}/bin" Set variable $ADA_LIB_DIR to "${READYCHECK_PLUGIN_ROOT}/lib"
IMPORTANT: Always use the full path {{$ADA_BIN_DIR}}/ada for commands to avoid conflicts with other ada binaries in PATH.
ensure_release.sh automatically prefers a valid local dist/ runtime when the plugin is being tested from a ReadyCheck checkout.
If $PREFLIGHT_CHECK is set to 1, skip to Step 2.
Run the ADA doctor to verify all dependencies:
${ADA_BIN_DIR}/ada doctor check --format jsonParse the JSON output. Check all fields are ok: true.
If any check fails:
ada doctor checkIf all checks pass:
$PREFLIGHT_CHECK = 1You MUST explore the project to find the app to run, the build system building it, and the launch arguments required to run it.
Set $LAUNCH_ARGS to the launch arguments string (empty string if none required).
Locate the binary and build system:
You MUST identify the build system (Xcode, SPM, CMake, Cargo, etc.) and the path to the built binary.
Detect launch arguments:
You MUST search for launch arguments in the following sources, in priority order:
.xcscheme) — extract enabled CommandLineArgument entries from <LaunchAction>. See Appendix A for search paths and extraction rules.--help or no args and check for usage text.You MAY use the app's build system to build the app.
Start capturing with background: true and title "Start ReadyCheck capture session":
You MUST substitute $ADA_LIB_DIR and $ADA_BIN_DIR in the invocation command with the variable you got in Preflight Check.
You MUST substitute $LAUNCH_ARGS with the value detected in Detect launch arguments, and omit -- $LAUNCH_ARGS entirely when $LAUNCH_ARGS is empty.
You MUST save the returned task ID as $CAPTURE_TASK_ID.
Report to user:
Capture running
Interact with your app. When you quit the app, capture stops automatically.
Wait for the user to finish interacting with their app. When the user indicates they are done, collect the capture output:
TaskOutput( task_id: $CAPTURE_TASK_ID, block: false )Parse the output for the session directory path.
If capture is still running:
If capture succeeded:
Capture completed
Session directory path: [session_directory_path]
If capture failed:
You MUST execute this ONLY when the capture is failed. You MUST NOT execute this until the capture is failed.
Show the error message to the user.
Entitlement Diagnosis (macOS only):
Run entitlement inspection on the target binary:
Bash( command: "codesign -d --entitlements - 2>&1" )Parse the output:
codesign is not found or exits non-zero with "not signed at all": set $MISSING_ENTITLEMENTS to all three required keys. Proceed to step 3.com.apple.security.cs.disable-library-validationcom.apple.security.cs.allow-dyld-environment-variablescom.apple.security.get-task-allowSet $MISSING_ENTITLEMENTS to the list of keys NOT present.
Report missing entitlements:
Report to user:
Capture failed — likely cause: missing code-signing entitlements
The target binary is missing entitlements required for instrumentation:
[list each from $MISSING_ENTITLEMENTS]
Without these, macOS blocks dynamic library injection into hardened-runtime processes.
Offer re-signing:
Ask the user whether to re-sign the binary with ad-hoc signing and the required entitlements.
If user consents:
Bash( command: "ENTITLEMENTS=$(mktemp /tmp/ada_entitlements.XXXXXX.plist) && cat > \"$ENTITLEMENTS\" <<'PLIST'\n\n\n\n\n com.apple.security.get-task-allow\n \n com.apple.security.cs.disable-library-validation\n \n com.apple.security.cs.allow-dyld-environment-variables\n \n\n\nPLIST\ncodesign --force --sign - --entitlements \"$ENTITLEMENTS\" && rm \"$ENTITLEMENTS\"" )codesign error, stop.If user declines: Stop.
Automatically invoke the /readycheck:analyze skill:
Follow the analyze skill workflow from there.
Search paths:
You MUST search these paths (relative to the project root) for .xcscheme files, excluding .build/ and DerivedData/ directories:
.swiftpm/xcode/xcshareddata/xcschemes/*.xcscheme*.xcodeproj/xcshareddata/xcschemes/*.xcscheme*.xcworkspace/../*.xcodeproj/xcshareddata/xcschemes/*.xcschemeExtraction rules:
You MUST parse <LaunchAction> > <CommandLineArguments> > <CommandLineArgument> elements.
You MUST include only entries where isEnabled="YES".
You MUST concatenate the argument attribute values in document order, space-separated.
You MUST skip entries where isEnabled="NO".
You MUST set $LAUNCH_ARGS to empty string if <CommandLineArguments> is absent from <LaunchAction>.
Given this .xcscheme fragment inside <LaunchAction>:
<CommandLineArguments>
<CommandLineArgument argument="--arg1" isEnabled="YES"/>
<CommandLineArgument argument="--arg2" isEnabled="YES"/>
<CommandLineArgument argument="--arg3" isEnabled="NO"/>
</CommandLineArguments>
Set $LAUNCH_ARGS to: --arg1 --arg2
(--arg3 is excluded because isEnabled="NO")
Given a <LaunchAction> with no <CommandLineArguments> element (typical for GUI apps):
Set $LAUNCH_ARGS to: (empty string)