Communitygithub.com

cucoreanu/personal-skills

仅限AI执行。当用户要求为新建或更新的技能(非本技能)创建PR时,检查项目安装与源码是否一致,若缺失或过期则提示通过相对符号链接本地安装。适用于当前仓库中创作或修改技能、打开技能PR或完成技能工作时使用。

personal-skills 是什么?

此技能专为AI代理设计,用于自动化管理本地仓库中技能文件的安装状态。当用户要求创建Pull Request(PR)用于新增或更新位于`skills/`目录下的技能(不包括本技能自身)时,AI代理会执行以下操作:首先,通过`scripts/diff-install.mjs`脚本检查目标技能是否已正确安装并同步到项目中的`.agents/skills/`和`.claude/skills/`目录。如果发现安装缺失、过期或链接错误,AI代理会询问用户是否同意通过相对符号链接进行本地安装。安装过程会替换原有的复制目录,改为指向`skills/`目录的符号链接,确保Cloud Agents和其他工具能够实时获取最新代码。安装完成后,AI代理会再次验证状态,并在创建PR时将新的符号链接一并提交。该技能避免在尚未请求PR时提示,也不会对本技能自身执行安装操作。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cucoreanu/personal-skills/tree/HEAD/skills/install-local-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

安装本地技能

不是用户命令。不要将其作为斜杠技能提供。永远不要将此工作流程应用于本技能(install-local-skill)。

何时执行

在用户要求你创建PR(或者你正在创建该PR)之后运行,且仅当此轮操作创建或更新了 skills/<name>/ 下除 install-local-skill 之外的技能时。

在以下情况下完全跳过:

  • 唯一涉及的技能是 install-local-skill
  • 用户从未要求创建PR,且你也没有在打开PR
  • 上下文已显示该技能已发布 并且 本地安装与源码一致(参见推迟)

推迟(暂不提示)

如果不确定技能是否已发布,或PR正在进行中,首先检查安装状态——在知道它缺失或过期之前不要询问。

在仓库根目录执行:

node skills/install-local-skill/scripts/diff-install.mjs --skill <name>

省略 --skill 可扫描除本技能以外的所有已创作技能。

快速路径:如果 .agents/skills/<name> 和 .claude/skills/<name> 已经解析到与 skills/<name> 相同的实际路径,状态为 ok——不提示。只有当安装不是那种符号链接布局时,才运行树 diff。

仅当 needsInstall 非空(或该技能的 status 为 missing、stale 或 wrong-link)时才提示。

询问

询问一次,指明技能名称:

在此仓库中本地安装 <name>(将 .agents / .claude 符号链接到 skills/)以便Cloud Agents和其他工具能识别?

沉默时不安装。仅在明确同意后继续。

安装(与本仓库相同的方式)

不要使用 npx skills add(它会复制到 .agents/skills/)。在得到同意后:

node skills/install-local-skill/scripts/install.mjs <name>

这将替换项目安装为相对符号链接:

  • .agents/skills/<name> → ../../skills/<name>
  • .claude/skills/<name> → ../../.agents/skills/<name>

然后重新运行 diff-install.mjs --skill <name> 并确认 status 为 ok。当新的符号链接属于git时,将它们与PR一起提交。

不要

  • 在仍处于起草技能阶段、尚未请求PR时提示
  • 通过此工作流程安装 install-local-skill
  • 全局(-g)安装
  • 将目录树复制到 .agents/skills/ 或 .claude/skills/

Individual skills in this repo

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

cucoreanu/personal-skills

Interviews the user one decision at a time about adapting an existing iPhone app to iPhone Duo and writes an adaptation decision record only after they confirm a shared understanding. Use when the user is designing or adapting an app for iPhone Duo, a folding iPhone, outer and inner displays, or side-placed controls.

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

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.

相关技能