forked from robinebers/openusage
-
Notifications
You must be signed in to change notification settings - Fork 0
Simplify All Documentation and Deduplicate Agent Skills #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3f7e7c1
Simplify All Documentation and Deduplicate Agent Skills
mstallone 85df70a
Scope the Keychain Write Claim in the Architecture Doc
mstallone 4746607
Use Popover Consistently and Fix the Byte Wording
mstallone b1154d7
Merge origin/main into clean-documentation
mstallone c6520f8
Finish Porting the Main Doc Updates Into the Rewritten Pages
mstallone 9d14356
Fix Two Wording Slips From Review
mstallone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,80 +1,32 @@ | ||
| # Build macOS Apps — Skills Bundle | ||
| # Agent Skills | ||
|
|
||
| Local skills bundle ported from OpenAI's Codex plugin | ||
| [`openai/plugins/build-macos-apps`](https://github.com/openai/plugins/tree/main/plugins/build-macos-apps). | ||
| Packages macOS-first development workflows (Xcode, Swift, SwiftPM, SwiftUI, | ||
| AppKit, signing, telemetry) as agent skills. | ||
| Skills that agents (Claude Code, Codex, Cursor) can load from this repo. `.claude` is a symlink to `.agents` so Claude Code finds them. | ||
|
|
||
| ## Layout | ||
| ## Runway skills | ||
|
|
||
| ```text | ||
| .agents/ | ||
| ├── README.md # this file | ||
| └── skills/ | ||
| ├── appkit-interop/SKILL.md (+ references/*.md) | ||
| ├── build-run-debug/SKILL.md (+ references/build-script.md) | ||
| ├── liquid-glass/SKILL.md | ||
| ├── packaging-notarization/SKILL.md | ||
| ├── signing-entitlements/SKILL.md | ||
| ├── swiftpm-macos/SKILL.md | ||
| ├── swiftui-patterns/SKILL.md (+ references/*.md) | ||
| ├── telemetry/SKILL.md | ||
| ├── test-triage/SKILL.md | ||
| ├── view-refactor/SKILL.md | ||
| ├── window-management/SKILL.md | ||
| ├── macos-*/SKILL.md # macos-prefixed variants of the skills above | ||
| │ | ||
| ├── pricing-update/SKILL.md # Runway project skill, not from the plugin | ||
| ├── release-swift/SKILL.md # Runway project skill, not from the plugin | ||
| │ | ||
| ├── build-and-run-macos-app/SKILL.md # ex-slash-command | ||
| ├── fix-codesign-error/SKILL.md # ex-slash-command | ||
| └── test-macos-app/SKILL.md # ex-slash-command | ||
| - `release-swift/`: cut a stable release (version, changelog, tag, publish notes, verify). | ||
| - `pricing-update/`: sync `pricing_supplement.json` with Cursor's published model pricing and open a PR. | ||
|
|
||
| .claude -> .agents # symlink so Claude Code finds them | ||
| ``` | ||
| ## macOS development skills | ||
|
|
||
| ## Conversion notes (vs the source plugin) | ||
| The `macos-*` skills are a local copy of OpenAI's Codex plugin [`openai/plugins/build-macos-apps`](https://github.com/openai/plugins/tree/main/plugins/build-macos-apps) (MIT). They cover building, running, and debugging macOS apps with shell-first Xcode and Swift workflows, SwiftUI and AppKit patterns, Liquid Glass, telemetry, test triage, signing, and notarization. | ||
|
|
||
| | Source (Codex plugin) | This bundle | | ||
| | -------------------------------- | ------------------------------------------------- | | ||
| | `.codex-plugin/plugin.json` | Not needed — flat `.agents/` layout, no manifest. | | ||
| | `agents/openai.yaml` | Skipped — Codex-surface-specific agent metadata, no analog elsewhere. | | ||
| | `skills/<name>/SKILL.md` | Copied 1:1 (frontmatter is already compatible). | | ||
| | `skills/<name>/references/*` | Copied 1:1. | | ||
| | `commands/<name>.md` | Re-shaped as `skills/<name>/SKILL.md` with `disable-model-invocation: true`. | | ||
| | `assets/` (icon, svg) | Skipped — no manifest references them. | | ||
| | `.codex/environments/environment.toml` wiring | Stripped — that wired up Codex's project Run button, which doesn't exist in Cursor or Claude Code. The `script/build_and_run.sh` entrypoint stayed; the env file did not. | | ||
| - `macos-appkit-interop/` | ||
| - `macos-build-run-debug/` | ||
| - `macos-liquid-glass/` | ||
| - `macos-packaging-notarization/` | ||
| - `macos-signing-entitlements/` | ||
| - `macos-swiftpm/` | ||
| - `macos-swiftui-patterns/` | ||
| - `macos-telemetry/` | ||
| - `macos-test-triage/` | ||
| - `macos-view-refactor/` | ||
| - `macos-window-management/` | ||
|
|
||
| ### Run entrypoint | ||
| Three of the plugin's slash commands are kept as explicit-invoke skills (`disable-model-invocation: true`): | ||
|
|
||
| The `build-run-debug` and `build-and-run-macos-app` skills create a project-local | ||
| `script/build_and_run.sh` as the single kill + build + run entrypoint. Invoke | ||
| it directly from a terminal. If you want a one-click Run, wrap it in your | ||
| editor's task system (`.vscode/tasks.json`, an Xcode scheme run action, a | ||
| `Makefile` target, etc.). | ||
| - `build-and-run-macos-app/` | ||
| - `fix-codesign-error/` | ||
| - `test-macos-app/` | ||
|
|
||
| ## Scope | ||
|
|
||
| Inherited from the source plugin — these skills cover: | ||
|
|
||
| - discovering local Xcode workspaces, projects, and Swift packages | ||
| - building/running macOS apps with shell-first Xcode/Swift workflows | ||
| - one project-local `script/build_and_run.sh` entrypoint | ||
| - native macOS SwiftUI scenes, menus, settings, toolbars, multiwindow flows | ||
| - modern Liquid Glass design-system patterns | ||
| - bridging into AppKit for representables, responder-chain, panels | ||
| - refactoring large macOS view files | ||
| - lightweight `os.Logger` instrumentation + `log stream` verification | ||
| - triaging failing unit / integration / UI-hosted macOS tests | ||
| - signing, entitlements, hardened runtime, Gatekeeper diagnosis | ||
| - packaging and notarization prep | ||
|
|
||
| Not covered: iOS / watchOS / tvOS, desktop UI automation, App Store Connect | ||
| releases, pixel-perfect visual design. | ||
|
|
||
| ## Source attribution | ||
|
|
||
| - Original Codex plugin: <https://github.com/openai/plugins/tree/main/plugins/build-macos-apps> | ||
| - Upstream author: OpenAI (`support@openai.com`) | ||
| - License: MIT (inherited from the source plugin) | ||
| The plugin's manifest, Codex agent metadata, assets, and environment wiring were not carried over. `script/build_and_run.sh` is the build and run entrypoint the skills refer to. | ||
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
.agents/skills/appkit-interop/references/drag-drop-pasteboard.md
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
.agents/skills/appkit-interop/references/representables.md
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
.agents/skills/appkit-interop/references/responder-menus.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.