agentleFS
hechenhechen/iphone-duo-skills/skills/iphone-duo-toolbars/SKILL.md

iphone-duo-toolbars

Skill4 starsChanged 2 months agoMITView on GitHub

Adapt SwiftUI and UIKit navigation bars, toolbars, tab bars, sheets, custom controls, and overflow menus for the vertical bar on iPhone Duo without losing essential actions or labels. Use when bars do not move to the side, items disappear or overflow, text-only or custom-view items stay horizontal, a screen should keep horizontal bars, or you need axisBehavior, visibilityPriority, toolbarVerticalEdge or verticalBarEdge, toolbarVerticalBehavior or preferredVerticalBarBehavior, or vertical bar compression.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read toolbar evidence. The axis, edge, compression, and opt-out APIs need the iOS 27.1 SDK.

    line 9

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

iPhone Duo toolbars

Read toolbar evidence. The axis, edge, compression, and opt-out APIs need the iOS 27.1 SDK. Preserve the current deployment target and keep a working horizontal-bar path.

Inventory actions by meaning

For each screen, list navigation, completion and cancellation, frequent actions, status-bearing items, and infrequent actions. Trace each to the owning navigation container. Only bars owned by a navigation stack, split view, tab view, or navigation controller move to the vertical axis; find hand-built UIToolbar, UINavigationBar, and UITabBar instances and wide custom views before changing placements.

Decide which information is necessary to understand an action. Give each item both a title and a symbol: the vertical bar shows symbols, overflow shows both, and text-only or custom-view items stay horizontal. A changing price or meaningful status may need visible text and can stay horizontal on purpose. Keep the action's enabled state, shortcut, confirmation behavior, and target consistent between the bar and overflow.

Adapt and prioritize

Use the system behavior first, then tune only demonstrated problems. Put Back or Close at the top, then prominent actions such as Done, using the semantic placements. Keep related items in groups instead of spacing them by hand. Do not mark every item high priority: identify the action the user must keep under space pressure, and choose whether the toolbar or the tab bar compresses first.

For a custom control, define a usable compact representation or leave it in a suitable horizontal location. Read the vertical bar edge instead of assuming the right side. Avoid shrinking text or touch targets merely to fit. Opt out of the vertical bar only for a screen better served by horizontal bars, such as a full-screen player or a non-scrolling calculator-style layout, and keep that choice stable instead of toggling it with view state.

Verify

Open the keyboard and overflow menu; enter selection or editing mode; present and dismiss a sheet on each display; navigate back; try Split View on both sides. Check that Save, Done, Close, or the equivalent task exit remains discoverable. Repeat with long localized titles, large text, and right-to-left content.

Return the action inventory, placement decisions, source and SDK evidence, and screenshots or interaction results for the constrained states. Report any unresolved overflow or accessibility issue explicitly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.