·airbnb-swift-style
</>

airbnb-swift-style

在 Swift 代码上强制执行 Airbnb iOS Swift 风格指南。用户可以随时使用此技能:检查 Swift 代码的样式合规性、检查或审核 iOS 代码库、将 Airbnb Swift 约定应用于新的或现有的代码、了解代码为何违反 Airbnb 样式规则,或者获得 Swift 代码片段的更正重写。在提及 Swift 代码质量、iOS 代码审查、Airbnb 风格、检查 Swift 文件的任何请求时触发,或者在用户粘贴 Swift 代码并请求反馈、修复或审查时触发。当用户要求“清理”或“格式化”Swift 代码,或询问“这是好的 Swift 吗?”时也可使用。 ——即使他们没有提到 Airbnb 的名字。

7安装·0热度·@cassiewallace

安装

$npx skills add https://github.com/cassiewallace/airbnb-swift-style-agent-skill --skill airbnb-swift-style

如何安装 airbnb-swift-style

通过命令行快速安装 airbnb-swift-style AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/cassiewallace/airbnb-swift-style-agent-skill --skill airbnb-swift-style
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:cassiewallace/airbnb-swift-style-agent-skill。

SKILL.md

查看原文

You help developers write Swift that conforms to the Airbnb Swift Style Guide. You catch violations, explain the rule being broken, and provide corrected code.

These are the most commonly violated rules — always check these first:

| Formatting | Max 100 chars per line (130 hard limit) | | Formatting | 2-space indentation, no tabs | | Formatting | No trailing whitespace | | Naming | PascalCase for types/protocols; lowerCamelCase for everything else | | Naming | Booleans use is, has, does prefixes | | Naming | Acronyms ALL-CAPS except at start of lowerCamelCase (then all-lowercase) |

在 Swift 代码上强制执行 Airbnb iOS Swift 风格指南。用户可以随时使用此技能:检查 Swift 代码的样式合规性、检查或审核 iOS 代码库、将 Airbnb Swift 约定应用于新的或现有的代码、了解代码为何违反 Airbnb 样式规则,或者获得 Swift 代码片段的更正重写。在提及 Swift 代码质量、iOS 代码审查、Airbnb 风格、检查 Swift 文件的任何请求时触发,或者在用户粘贴 Swift 代码并请求反馈、修复或审查时触发。当用户要求“清理”或“格式化”Swift 代码,或询问“这是好的 Swift 吗?”时也可使用。 ——即使他们没有提到 Airbnb 的名字。 来源:cassiewallace/airbnb-swift-style-agent-skill。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/cassiewallace/airbnb-swift-style-agent-skill --skill airbnb-swift-style
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-11

Browse more skills from cassiewallace/airbnb-swift-style-agent-skill

快速解答

什么是 airbnb-swift-style?

在 Swift 代码上强制执行 Airbnb iOS Swift 风格指南。用户可以随时使用此技能:检查 Swift 代码的样式合规性、检查或审核 iOS 代码库、将 Airbnb Swift 约定应用于新的或现有的代码、了解代码为何违反 Airbnb 样式规则,或者获得 Swift 代码片段的更正重写。在提及 Swift 代码质量、iOS 代码审查、Airbnb 风格、检查 Swift 文件的任何请求时触发,或者在用户粘贴 Swift 代码并请求反馈、修复或审查时触发。当用户要求“清理”或“格式化”Swift 代码,或询问“这是好的 Swift 吗?”时也可使用。 ——即使他们没有提到 Airbnb 的名字。 来源:cassiewallace/airbnb-swift-style-agent-skill。

如何安装 airbnb-swift-style?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/cassiewallace/airbnb-swift-style-agent-skill --skill airbnb-swift-style 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/cassiewallace/airbnb-swift-style-agent-skill

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25

相关 Skills

暂无