AskDuoDocs

CLIClaudeCodex

Have your agent optimize your app for iPhone Duo straight from the official docs! No guessing or searching. Just the information your agent needs from your context.

The /askduodocs command over three sample prompts for your agent: how to keep buttons out of the camera hole, how to refactor a view to use the new ArrangementView, and why a view's state resets when the phone unfolds.

The Problem

Your agent's training cutoff was probably over a year ago. That means it has no idea what the iPhone Duo is or how to adapt your app to the new screens. You can tell your agent to search the web for documentation, but that wastes tokens, bloats the context, and can still miss important gotchas.

The Solution

The AskDuoDocs CLI is a tool that your agent uses to access relevant iPhone Duo docs based specifically on the context of your project. It can ask for Duo-specific facts before writing code, changing a design, explaining a bug, or taking screenshots.

Sample Prompts

  • How do I keep my buttons out of the camera hole?
  • Refactor my view to use the new ArrangementView.
  • Why does my state reset when I unfold the phone?

How it works

AskDuoDocs has two parts:

  • The askduodocs CLI reads Apple's documentation pages, checks your app, and handles screenshots. It prints results as text for your agent.
  • The agent skill tells the agent when and how to use the CLI tool.

Features

  • Get guidance from design to App Store submission. The tool covers everything from Duo layout, folding, the hinge, edge toolbars and tab bars, sheets and popovers, the camera, the keyboard, simulator testing, and App Store Connect.
  • Check your app for Duo-specific issues. askduodocs check lists places in your code and settings that matter on iPhone Duo, such as UIScreen.main, fixed widths, and hidden navigation bars.
  • Capture and check App Store screenshots. askduodocs capture saves what an iPhone Duo simulator displays at App Store Connect's size, without an alpha channel. askduodocs screenshots checks a screenshot set before upload.

FAQs

Does it fold or unfold the simulator for me?

No. Set the simulator's pose in Device Hub, then use askduodocs capture to save its display.

What happens after you buy

  1. 1

    Download

    Download the ZIP, extract the askduodocs folder, and share the folder with your agent.

  2. 2

    Set up with your agent

    Your agent follows INSTALL.md to build the CLI tool and help set up the Claude or Codex plugin. It asks permission when needed and walks you through manual steps.

  3. 3

    Make it yours

    Have new sources or preferences to add about iPhone Duo as you build? Ask your agent to test it in the DuoLab app and add it to the knowledge base.

Let your agent check if AskDuoDocs is right for you.

Just copy this prompt:

Read https://tools.natashatherobot.com/askduodocs.md, the page for AskDuoDocs. Based on what you know about my projects and workflow, assess whether AskDuoDocs would help me build or adapt apps for iPhone Duo with Claude Code or Codex. Explain how it might improve my workflow and whether that benefit is worth the price. Ask me for more context if needed.

It is a starter tool

AskDuoDocs 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.