Agent Skillsrobinebers/openusage › fix-codesign-error

fix-codesign-error

GitHub

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

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

Trigger Scenarios

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

Install

npx skills add robinebers/openusage --skill fix-codesign-error -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 70acd4f Current 2026-08-20 09:01

Same Skill Collection

.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

Metadata

Files
0
Version
05c40a1
Hash
a5673208
Indexed
2026-08-20 09:01

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 20:59
浙ICP备14020137号-1 $Carte des visiteurs$