AskAppleDocs

CLIClaudeCodex

Give your agent access to the latest Apple SDK APIs, so it can work with up-to-date documentation instead of relying on stale training data.

The /askappledocs command over three sample prompts for your agent: what’s new in SwiftUI for your project, how to detect the hinge angle on iPhone Duo, and how to use the new @State macro.

The Problem

LLMs are trained on last year’s data, and as soon as they’re released, the data is stale. This is especially true for Apple’s SDKs, which shift from under us yearly at WWDC while the LLMs continue to be far behind. To account for this, LLMs might search the web to find the new information. But not always…

The problem is that LLMs think they know the up-to-date SDKs, so by default, they will write the code and just make it work with what they have, especially for older SDKs that they don't know have been updated. For example, ask an agent to create a button, and it might use the standard old button styles it learned during training, completely missing the new Liquid Glass versions introduced at WWDC. The code works, but it misses the new design.

The Solution

AskAppleDocs! Have your agent load the latest Apple SDK APIs that are hyper-relevant to your task, without the context bloat that comes with web searches.

Sample Prompts

  • What’s new in SwiftUI that’s relevant to my project?
  • How can I detect the hinge angle on iPhone Duo?
  • How do I use the new @State macro?
  • Audit my project for deprecated APIs and recommend replacements.
  • How can I extend my background image behind the navigation panel, like in Apple’s Landmarks project?

How it works

This tool has two parts:

  • The askappledocs CLI reads the SDK in your Xcode and Apple’s documentation, then outputs the relevant information as text.
  • The Claude / Codex skill teaches your agent how to use the tool.

Features

  • Find new APIs. See what's new in SwiftUI and other Apple frameworks in the SDK installed with your version of Xcode.
  • Find APIs by what they do. Describe what you need, and AskAppleDocs finds new APIs whose names or documentation comments match your search terms.
  • Read Apple's documentation. Get a concise summary of Apple's documentation for any API, including its availability for your deployment target.
  • Find deprecated APIs. See which APIs are deprecated in the frameworks your project imports, along with recommended replacements.
  • Use fewer tokens. Your agent gets the specific API information it needs, rather than entire documentation pages.
  • Check APIs before using them. The skill teaches Claude Code to read Apple's documentation before writing code with an API and to check for deprecated APIs before migrating existing code.

What happens after you buy

  1. 1

    Download

    Click the download link to get the ZIP file. Extract it, then share the folder with your agent.

  2. 2

    Your Agent Guides You Through Setup

    Your agent will run the install script to set up the CLI tool and install the plugin. It will ask for your permission and guide you through any additional steps needed.

  3. 3

    Make it yours

    If something is missing or doesn’t work as expected, ask your agent to add CLI commands, extend functionality, or update the plugin instructions with new rules to fit your workflow.

Let your agent check if AskAppleDocs is right for you.

Just copy this prompt:

Read https://tools.natashatherobot.com/askappledocs.md, the page for AskAppleDocs. Based on what you know about my projects and workflow, tell me whether this tool would be useful to me. Consider how often I work with Apple’s SDKs, whether my agent struggles with outdated APIs, and whether access to the latest API documentation, deprecated API checks, and deployment target information would improve my workflow. Check whether I meet the requirements and whether the time and tokens saved would make it worth the price. If it’s not a good fit, explain why. Ask me for more context if needed.

It is a starter tool

AskAppleDocs is a starter tool you can customize to fit your workflow.

The full terms are in the LICENSE file included with your download. The tool comes without warranty.