Agent Skillsrobinebers/openusage › fix-codesign-error

fix-codesign-error

GitHub

诊断 macOS 应用代码签名或权限失败,分析根本原因并提供最小修复路径。支持检查身份、配置集、沙盒等问题,推荐可验证命令,不臆造权限信息。

.agents/skills/fix-codesign-error/SKILL.md robinebers/openusage

触发场景

macOS 应用签名报错 App 无法启动或验证失败 需要解释代码签名错误

安装

npx skills add robinebers/openusage --skill fix-codesign-error -g -y
更多选项

非标准路径

npx skills add https://github.com/robinebers/openusage/tree/main/.agents/skills/fix-codesign-error -g -y

不安装直接使用

npx skills use robinebers/openusage@fix-codesign-error

指定 Agent (Claude Code)

npx skills add robinebers/openusage --skill fix-codesign-error -a claude-code -g -y

安装 repo 全部 skill

npx skills add robinebers/openusage --all -g -y

预览 repo 内 skill

npx skills add robinebers/openusage --list

SKILL.md

Frontmatter
{
    "name": "fix-codesign-error",
    "description": "Slash command that inspects a macOS signing or entitlement failure and explains the minimum fix path. Invoke explicitly with \/fix-codesign-error — this skill never self-triggers.",
    "disable-model-invocation": true
}

Fix Codesign Error

Inspect a macOS signing or entitlement failure and explain the minimum fix path.

Arguments

  • app: path to .app bundle or binary (optional)
  • identity: signing identity hint (optional)
  • mode: inspect or repair-plan (optional, default: inspect)

Workflow

  1. Inspect the app bundle, executable, signing info, and entitlements.
  2. Determine whether the problem is identity, provisioning, hardened runtime, sandboxing, or trust policy.
  3. Summarize the exact failure class in plain language.
  4. Provide the minimal repair sequence or validation command.

Guardrails

  • Never invent entitlements; read them from the binary or source files.
  • Distinguish local development signing problems from distribution or notarization failures.
  • Prefer verifiable commands like codesign -d, spctl, and plutil over guesswork.

版本历史

  • 70acd4f 当前 2026-08-20 09:01

同 Skill 集合

.agents/skills/appkit-interop/SKILL.md
.agents/skills/build-and-run-macos-app/SKILL.md
.agents/skills/build-run-debug/SKILL.md
.agents/skills/liquid-glass/SKILL.md
.agents/skills/macos-appkit-interop/SKILL.md
.agents/skills/macos-build-run-debug/SKILL.md
.agents/skills/macos-liquid-glass/SKILL.md
.agents/skills/macos-packaging-notarization/SKILL.md
.agents/skills/macos-signing-entitlements/SKILL.md
.agents/skills/macos-swiftpm/SKILL.md
.agents/skills/macos-swiftui-patterns/SKILL.md
.agents/skills/macos-telemetry/SKILL.md
.agents/skills/macos-test-triage/SKILL.md
.agents/skills/macos-view-refactor/SKILL.md
.agents/skills/macos-window-management/SKILL.md
.agents/skills/packaging-notarization/SKILL.md
.agents/skills/pricing-update/SKILL.md
.agents/skills/signing-entitlements/SKILL.md
.agents/skills/swiftpm-macos/SKILL.md
.agents/skills/swiftui-patterns/SKILL.md
.agents/skills/telemetry/SKILL.md
.agents/skills/test-macos-app/SKILL.md
.agents/skills/test-triage/SKILL.md
.agents/skills/view-refactor/SKILL.md
.agents/skills/window-management/SKILL.md

元信息

文件数
0
版本
05c40a1
Hash
a5673208
收录时间
2026-08-20 09:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-18 14:50
浙ICP备14020137号-1