Agent skill · software engineering · dpearson2699

core-nfc

Read and write NFC tags using CoreNFC. Use when scanning NDEF tags, reading ISO7816/ISO15693/FeliCa/MIFARE tags, writing NDEF messages, handling NFC session lifecycle, configuring NFC entitlements, or implementing background tag reading in iOS apps.

Why this skill is useful

Provides specific implementation patterns and configurations for reading and writing NFC tags that the AI wouldn't reliably generate on its own.

What it needs

Requires xcode installed locally. About 6k tokens when loaded. Last updated 2026-07-31. 973 stars on the source repository.

What this skill does

CoreNFC Read and write NFC tags on iPhone using the CoreNFC framework. Covers NDEF reader sessions, tag reader sessions, NDEF message construction, entitlements, and background tag reading. Contents Setup NDEF Reader Session Tag Reader Session Writing NDEF Messages NDEF Payload Types Background Tag Reading Common Mistakes Review Checklist References Setup Project Configuration 1. Add the Near Field Communication Tag Reading capability in Xcode 2. Add NFCReaderUsageDescription to Info.plist with a user-facing reason string 3. Add the com.apple.developer.nfc.readersession.formats entitlement with the current TAG value; do not add legacy NDEF 4. For ISO 7816 tags, add supported application identifiers to com.apple.developer.nfc.readersession.iso7816.select-identifiers in Info.plist 5. For FeliCa tags, add supported system codes to com.apple.developer.nfc.readersession.felica.systemcodes; do not use wildcard system codes Device Requirements NFC reading requires iPhone 7 or later. Always check for reader session availability before creating NFC UI or sessions. Use the concrete reader session type you are about to create. Key Types Type Role --- --- NFCNDEFReaderSession Scans for NDEF-formatted tags NFCTagReaderSession Scans for ISO7816, ISO15693, FeliCa, MIFARE tags NFCNDEFMessage Collection of NDEF payload records NFCNDEFPayload Single record within an NDEF message NFCNDEFTag Protocol for interacting with an NDEF-capable tag NDEF Reader Session Use NFCNDEFReaderSession to read NDEF-formatted data from tags. This is the simplest path for reading standard tag content like URLs, text, and MIME data. Reading with Tag Connection For read-write operations, use the tag-detection delegate method to connect to individual tags: Tag Reader Session Use NFCTagReaderSession when you need direct access to the native tag protocol (ISO 7816, ISO 15693, FeliCa, or MIFARE). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills dpearson2699/core-nfc

View the source on GitHub

Browse the @skills marketplace