npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

iphone-duo-design-skill

v1.0.0

Published

A Claude Skill (plain Markdown, usable by any AI coding/design agent) packaging design guidance for "iPhone Duo," a conceptual foldable/dual-screen iPhone: device configurations, safe areas, navigation patterns, adaptive app patterns, do/don't rules, star

Readme

iphone-duo-design-skill

A Claude Skill — and, since it's plain Markdown with no vendor-specific instructions, usable as reference material by any AI coding/design agent — that packages design guidance for iPhone Duo, a conceptual foldable/dual-screen iPhone documented in the Figma community file iPhone Duo UI/UX.

Note: iPhone Duo is not a real, currently shipping Apple product. This is a speculative/concept design kit styled after Apple's Human Interface Guidelines. See SKILL.md for the provenance system this kit uses to mark which numbers are real Apple values vs. invented ones.

Summary

This skill teaches an AI agent how to design UI for iPhone Duo: the six device configurations (Outer/Inner × Portrait/Landscape, plus Partial Book/Tabletop), asymmetric safe areas, reserved regions (camera cutouts, hinge/folding region), the four device poses, eight navigation patterns with outer-vs-inner adaptations, ten adaptive app patterns, ten do/don't rules, seven starter templates, and a full component library (status bars, "Liquid Glass" material, panes, split/overlay views, bars, sheets, glyphs). Every numeric value carries a provenance badge (Official / Derived / Recommended / Illustrative / Assumption) so you always know which numbers are real Apple specs and which are this kit's own invention. Full detail lives in SKILL.md.

What's in here

  • SKILL.md — the skill itself: device configurations, safe areas, reserved regions, poses, navigation patterns, adaptive app patterns, do/don't rules, starter templates, and the component library for iPhone Duo.
  • reference/page-node-map.md — a map of the source Figma file's pages to node IDs, for re-fetching more detail directly from Figma if needed.
  • bin/install.js — installer used by npx iphone-duo-design-skill (see Setup below).

Setup

Option A — install via npm/npx (recommended)

Once published to npm (see "Publishing this package" below), install it into a project with:

npx iphone-duo-design-skill

This copies SKILL.md and reference/ into ./.claude/skills/iphone-duo-design/ in your current directory, where Claude Code auto-discovers project-level skills.

To install it once for every project on your machine instead:

npx iphone-duo-design-skill --global

This installs into ~/.claude/skills/iphone-duo-design/ (Claude Code's user-level skills directory).

Option B — manual install

Drop this folder into your Claude Skills directory (project-level .claude/skills/iphone-duo-design/ or user-level ~/.claude/skills/iphone-duo-design/), or upload it via Claude's skill upload flow.

Either way, Claude Code picks it up automatically — no restart or configuration needed beyond having the files in place.

Usage

Once installed, just ask Claude (or any agent pointed at SKILL.md) to design something for "iPhone Duo," a "foldable iPhone," or a "dual-display iPhone concept" — the skill activates automatically and applies this guidance:

Design a Messages app screen for iPhone Duo, outer and inner states.
What safe-area insets should I use for the inner landscape display on iPhone Duo?

Since it's plain Markdown, it also works as a reference doc for any other AI agent or a human designer — just point them at SKILL.md.

Publishing this package (maintainer notes)

This repo is set up as a ready-to-publish npm package (package.json + bin/install.js), but publishing itself is a one-way, external action, so it isn't done automatically — to publish or update it on npm:

npm login
npm publish

To verify what will be published beforehand:

npm pack --dry-run

Bump version in package.json before each subsequent npm publish (npm rejects re-publishing an existing version).

Known gap — read before publishing

One page of the source file — "About" — could not be fully read while compiling this skill (the Figma connector used hit a rate limit mid-session). That page contains the kit's actual legal/licensing notice and an explicit section on how it relates to real Apple IP ("Referenced, not copied" / "Not included" / "Personal interpretation"). Open that page yourself (node ID 3:637, see reference/page-node-map.md) and update the license section below before treating this repo as final or redistributing it widely.

Status

Extracted in full detail: Start Here, Device Anatomy, Layout Guides → Safe Areas, Starter Templates, Do/Don't rule titles, and the full Components inventory. Structurally mapped but not transcribed verbatim: Navigation and Adaptive Patterns pattern notes, and the rest of Layout Guides (Hinge Area, Reserved Regions, Margins, Columns). See reference/page-node-map.md for exact status per page and how to pull anything missing.

License / attribution

This skill's own text (the Markdown guidance in this repo, SKILL.md, README.md, the installer script) is licensed under the MIT License.

It is derived from a third-party Figma community file. Check that file's own "About" page for its license/attribution terms (see "Known gap" above) before redistributing. The MIT license here covers only the original writing in this repo — not the original Figma assets, and not any underlying Apple intellectual property.