securitylisted
Install: claude install-skill caglarbaranbora/Apple-Agent-Kit
# Security — Foundations Skill
## Purpose
Route Keychain Services implementation tasks to the minimum required
Security Knowledge Contracts. v1 scope is general (non-biometric-bound)
Keychain item CRUD for `kSecClassGenericPassword` and
`kSecClassInternetPassword` items — accessibility levels, access-group
sharing, and storing structured/`Codable` data. No `SecAccessControl`
biometric binding, no AutoFill/credential-provider extensions, no iCloud
Keychain sync, no certificate/key/identity item classes.
## Routing
Load only the contracts relevant to the task. All paths relative to
knowledge/security/.
- Calling `SecItemAdd`, `SecItemCopyMatching`, `SecItemUpdate`, `SecItemDelete`, constructing a query dictionary, or interpreting an `OSStatus`/`errSec*` result -> keychain-item-crud.md
- Choosing a `kSecAttrAccessible*` value (`.WhenUnlocked`, `.AfterFirstUnlock`, `.WhenPasscodeSetThisDeviceOnly`, a `ThisDeviceOnly` variant, or the deprecated `.Always`/`.AlwaysThisDeviceOnly`) -> keychain-accessibility-levels.md
- Setting `kSecAttrAccessGroup`, enabling Keychain Sharing, or sharing an item between apps/extensions from the same team -> keychain-access-groups-and-sharing.md
- Encoding/decoding a `Codable` struct into or out of `kSecValueData`, or choosing between `JSONEncoder` and `NSKeyedArchiver` -> storing-structured-data-in-keychain.md
Never load more than the contracts relevant to the specific question.
## Stop Conditions
Stop and report if the requested topic