Agent Skillsrobinebers/openusage › fix-codesign-error

fix-codesign-error

GitHub

分析macOS签名或权限错误,诊断失败原因并提供最小修复方案。支持检查应用包、可执行文件及签名信息,区分开发、分发或公证问题,推荐可验证命令。

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

Trigger Scenarios

macOS应用签名失败 entitlements权限配置错误 代码签名证书或provisioning profile问题

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
70acd4f
Hash
a5673208
Indexed
2026-08-20 09:01

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 00:26
浙ICP备14020137号-1 $방문자$