Communitygithub.com

cucoreanu/personal-skills

逐項決策採訪使用者,協助將現有 iPhone 應用程式改寫為 iPhone Duo 版本,並在雙方確認共同理解後,產製適應決策記錄。適用於設計或改寫 iPhone Duo(摺疊 iPhone、內外螢幕、側邊控制)應用程式的場景。

personal-skills 是什麼?

此 AI 技能旨在引導開發者或設計師,將既有的 iPhone 應用程式適應至 iPhone Duo 裝置(一款具備可摺疊螢幕、內外顯示器及側邊控制的裝置)。它不會主動繪製原型或撰寫程式碼,而是透過結構化決策樹進行一連串提問,逐一解決各項適應問題。提問會依照「Chrome 配置」、「內容對齊」、「內螢幕佈局」、「桌面模式」、「彈出視窗」及「影片播放」等順序進行。使用者可逐一確認每項決策,AI 會基於專案中現有的程式碼或設計檔案提供建議答案。一旦達成共同理解,AI 將產製一份名為 `iphone-duo.md` 的適應決策記錄,儲存於專案根目錄。此技能適用於 Claude Code、Cursor 及 Codex 等支援工具鏈上下文的 AI 代理平台,其運作完全依賴 SKILL.md 中定義的規則與記錄範本。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cucoreanu/personal-skills/tree/HEAD/skills/adapt-iphone-duo

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

iPhone Duo

將現有 iPhone 應用程式改寫為 iPhone Duo 版本,並產製書面決策記錄。請勿繪圖、製作模型或撰寫程式碼。

會話規則:principles.md。請在首次提問前閱讀,並在適用規則時依章節引用。記錄格式:record.md。

流程

持續採訪我,逐一探討每個面向,直到達成共同理解。沿著決策樹的每一分支走,逐項解決決策間的相依性。針對每個問題,提供你建議的答案。

一次只問一個問題,等我回覆後再繼續。同時問多個問題會讓人困惑。

如果可透過探索環境(檔案系統、工具等)找到事實,請自行查詢,不要問我。但決策權在我——請將每項決策提問並等待我的回答。

在我確認達成共同理解之前,不要執行任何動作。

「此」指的是你面前的應用程式適應工作。使用者接受的建議即為其決策。「全部採用建議」將填補所有剩餘分支,然後朗讀記錄並等待確認。

前置作業

確認現有 iPhone 應用程式。閱讀工作區中的程式碼或設計檔案,將所見內容視為事實。如果尚無應用程式,則逐項建立 Chrome、層級結構與內容風格。請勿憑空發想資訊架構,亦勿從空白的 Duo 版面開始。

每個應用程式一份記錄。僅在 Chrome、層級結構或內容風格不同時,為每個表面新增一章節。

決策樹

依以下順序進行。若某分支的事實已確立則跳過,並用一句話說明原因。若某選擇違反 principles.md 中的鎖定規則,則以該規則及相同建議重新提出。

  1. Chrome 配置。 提出配置建議。頂端工具列按鈕移至側欄頂端,底部工具列按鈕移至側欄底部,標籤列保持底部對齊。文字按鈕與分段控制項保留在導覽列中。使用者確認。
  2. 內容對齊。 可捲動內容內縮至水平安全區域。全寬背景可置於內縮的捲動前景後方,所有控制項位於前景內。僅適用於不捲動且控制項遠離側欄的沉浸式畫面,才採用全出血、不位移的版面。
  3. 內螢幕。 一個結構,提問時已填入選擇。資訊密度高且有標籤列 → 側邊欄。否則若存在兩個或以上層級 → 這些層級並排顯示。否則 → 垂直堆疊重排為兩欄。內外螢幕的功能保持一致。
  4. 桌面模式。 僅當應用程式具備免持或就座使用媒體的情境時提問。控制項與層級結構與其他姿態相同。否則記錄為無自訂桌面版面。
  5. 彈出視窗。 僅當應用程式有彈出視窗時提問。只有單一工具列按鈕的彈出視窗,將關閉外螢幕的垂直欄。其他彈出視窗則在外螢幕保留側邊控制項。
  6. 影片。 僅當應用程式播放影片,且自訂 Chrome 會與系統子母畫面調整衝突或落在摺疊區域時提問。否則記錄為系統子母畫面行為。

確認後

在應用程式專案的根目錄中寫入 iphone-duo.md,依 record.md 格式。若未開啟任何應用程式專案,則將記錄保留在對話中,並詢問儲存位置。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

cucoreanu/personal-skills

Monitor one GitHub PR for new review feedback, implement only meaningful fixes, and answer reviewers with evidence, friendly wit, and pushback on unrealistic or overly defensive comments. Use when the user asks to babysit, watch, or monitor Codex/reviewer comments on a PR.

cucoreanu/personal-skills

Agent-only. After the user asks to create a PR for a new or updated skill under skills/ (never this skill), check project install vs source with scripts/diff-install.mjs; if missing or stale, ask to install locally via relative symlinks. Use when authoring or changing skills in this repo, opening a skill PR, or finishing skill work.

cucoreanu/personal-skills

Designs UI in Penpot via MCP with component discipline, flex alignment, outside-in build order, mockup/design modes, and optional skill updates from user feedback. Use for Penpot mockups, high-fidelity designs, Penpot MCP work, or component/variant refactors in Penpot.

cucoreanu/personal-skills

Plans and builds UI mockups in Penpot with user-centered workflow, fidelity levels, a six-step process, and outside-in canvas assembly. Use when creating mockups, screen mockups, wireframe-to-mockup work, low/high-fidelity UI, platform-specific layouts, or mockup design best practices in Penpot.

cucoreanu/personal-skills

Creates and reschedules macOS Reminders (fast nudges) and private Calendar events (time blocks). Attaches user-provided files to Calendar events the same way Calendar.app does. Default schedule: next free day starting tomorrow unless the user names an exact time. Never shares calendars or invites to anyone. Use when the user says \"remind me\", \"add a reminder\", \"move reminder\", \"reschedule reminder\", \"push that reminder to\", \"put this on my calendar\", \"schedule this\", \"block time\", \"don't let me forget\", or asks to attach an image/file to a reminder event.

cucoreanu/personal-skills

Proofreads messages and teaches reusable writing patterns. Use when the user pastes a work message, Slack draft, status update, or asks for proofreading, tone, clarity, grammar, flow, or constructive feedback on writing they will send at work.

相關技能