SKILL.md | The skill entry point: principles, checklist, and a routing table that points the agent to the right tool or file for each task |
scripts/duo-lint | A dependency-free scanner (Python 3 stdlib) for Swift and property lists. Rules DUO001–DUO013 cover UIScreen.main, fixed widths, orientation and idiom layout, custom bars, safe areas, grids, reserved regions, overflow menus, and arrangements. DUO014–DUO018 add hardcoded phone sizes, cropped hero images, a size read only at launch, treating regular width as iPad, and UIDesignRequiresCompatibility (ignored when you build for iOS 27 or later). DUO006 also flags text that ignores the safe area. DUO019 flags a destructive toolbar action, including Delete, that isn't in the overflow menu. It prints file:line, the rule, and the fix |
tests/ | unittest suite for duo-lint, with good and bad Swift fixtures (python3 -m unittest discover -s tests) |
templates/swiftui/ | SwiftUI templates: size-class root, split-view collapse, split and overlay arrangements, fold-aware controls and grid, single-button sheet opt-out, game fill, vertical bar organization, and the preview matrix (DuoPreviewMatrix.swift) |
templates/uikit/ | UIKit equivalents of the templates above (no preview matrix) |
tools/duo-preview.html | Offline visual previewer. It drops a screenshot into outer and inner display frames at Apple's screenshot aspect ratios, with portrait and landscape, a half-folded overlay, side-control and safe-area guides, a 50/50 Split View, and split and overlay arrangement diagrams |
tools/fold-preview.html | A small offline drawing of a Duo outline that opens and closes. A slider sets the fold angle, and two slots take mockup images. Copy the file for one page per screen. Schematic only: no device dimensions |
references/hig-summary.md | Condensed Apple guidance with a source tag on every point |
references/fold-aware-layout.md | belweave's layout practice: two layouts, the path, pane pairs, the toolbar, reach, and gutters. Not an Apple source |
references/api-index.md | Every API this skill names, linked to its Apple doc page |
references/patterns.md | Layout patterns mapped to templates |
references/migration-guide.md | A step-by-step migration of an existing app |
references/test-plan.md | A pose-by-pose test plan for the Device Hub simulator or a device |
references/review-rubric.md | A scored review rubric with ship bar and report template |
references/design-review-checklist.md | Designer pre-ship checklist (the rubric scores its sections) |
references/sources.md | Apple sources and the claim ledger (verified, corrected, flagged, unverified). Re-checked 2026-10-25 |
references/app-store.md | Product-page badge, the two April 2027 screenshot wordings, featuring, and App Review Guidelines 2.3.14 and 2.5.19 |
prompts/review-screen.md | Copy-paste prompt for an agent reviewing a screen with the linter, rubric and test plan |
.claude-plugin/ | Claude Code plugin manifest and marketplace file |