用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/edfenton/claude-skills --skill ios-add-feature命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Scaffold a pnpm + Turborepo MERN monorepo with Next.js, tooling, tests, CI, and optional GitHub repo creation.
Configure GitHub repository security with branch protection, Dependabot, security scanning, and CI workflows. Integrates with mern-scaffold, nean-scaffold, and iOS projects.
Harden a Vercel deployment with security headers, CSP, bot protection, and deployment configuration
正在显示 SKILL.md
基于 SOC 职业分类
| name | ios-add-feature |
| description | Scaffold a new feature with View, ViewModel, and tests following ios-std conventions. |
| argument-hint | <feature-name> [--with-detail] [--with-form] [--no-tests] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Add a complete feature module to an existing iOS project with View, ViewModel, and tests.
feature-name — Feature name in PascalCase (e.g., Settings, UserProfile)--with-detail — Include detail view for drill-down--with-form — Include form/edit view--no-tests — Skip test file generationFeatures/<Feature>/
├── <Feature>View.swift # Main view
├── <Feature>ViewModel.swift # ViewModel with state + intents
└── <Feature>Row.swift # List row component (if list-based)
Tests/UnitTests/
└── <Feature>ViewModelTests.swift # ViewModel tests
--with-detailFeatures/<Feature>/
├── <Feature>View.swift
├── <Feature>ViewModel.swift
├── <Feature>DetailView.swift # Detail view
└── <Feature>DetailViewModel.swift
--with-formFeatures/<Feature>/
├── <Feature>View.swift
├── <Feature>ViewModel.swift
├── <Feature>FormView.swift # Create/edit form
└── <Feature>FormViewModel.swift
<Feature>View.swift<Feature>ViewModel.swift<Feature>Row.swift<Feature>ViewModelTests.swift@MainActor final class@Published private(set) for statePersistenceStore protocol (not SwiftData directly)@StateObject for owned ViewModel@EnvironmentObject for shared servicesstruct (not XCTestCase class)init() for setup (not setUp())@Test func methodName() (no test_ prefix)#expect(condition) for assertions@Test(arguments:) for parameterized testsFeatures/./scripts/lint.sh and tests to verifySummarize: files created, how to access the feature, test coverage.
For templates and patterns, see reference/ios-add-feature-reference.md