·programmatic-uikit-layout
</>

programmatic-uikit-layout

dagba/ios-mcp

在构建没有故事板的 UIKit 界面、使用锚点设置自动布局约束、创建可重用 UI 组件或遇到布局约束错误和不明确的布局警告时使用

21安装·0热度·@dagba

安装

$npx skills add https://github.com/dagba/ios-mcp --skill programmatic-uikit-layout

SKILL.md

Programmatic UIKit layout with anchors provides type-safe, maintainable UI code used by production apps at scale. Stack views solve 50%+ of layout problems, anchors provide compile-time safety, design systems ensure consistency.

Core principle: Anchors-only (no Visual Format Language), stack-first composition, reusable components with centralized spacing/colors.

CRITICAL: Every view needs translatesAutoresizingMaskIntoConstraints = false

在构建没有故事板的 UIKit 界面、使用锚点设置自动布局约束、创建可重用 UI 组件或遇到布局约束错误和不明确的布局警告时使用 来源:dagba/ios-mcp。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/dagba/ios-mcp --skill programmatic-uikit-layout
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 programmatic-uikit-layout?

在构建没有故事板的 UIKit 界面、使用锚点设置自动布局约束、创建可重用 UI 组件或遇到布局约束错误和不明确的布局警告时使用 来源:dagba/ios-mcp。

如何安装 programmatic-uikit-layout?

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

这个 Skill 的源码在哪?

https://github.com/dagba/ios-mcp