用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vjr2005/Challenge --skill style-guide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
Swift 6 concurrency patterns. Use when working with async/await, actors, MainActor isolation, or Sendable conformance.
Creates Features for dependency injection. Use when creating features, exposing public entry points, or wiring up dependencies.
Creates Repositories that abstract data access. Use when creating repositories, transforming DTOs to domain models, or implementing local-first caching. Supports remote-only, local-only, and cached (remote + local) repositories with CachePolicy.
正在显示 SKILL.md
| name | style-guide |
| description | Code style and formatting rules. Use when writing code, naming types, or fixing SwiftLint issues. |
Read the official style guide documentation at docs/StyleGuide.md for complete formatting rules, naming conventions, and SwiftLint configuration.
| Rule | Convention |
|---|---|
| Protocols | Contract suffix, always any when used as type |
| Mocks | Mock suffix (never prefix) |
| Mock variables | Also use Mock suffix |
| Parameters | identifier not id |
| Force unwrap | Never use ! |
| Access modifiers | Never explicit internal |
| Pattern matching | case let .foo(a, b): not case .foo(let a, let b): |
| Line length | Max 140 characters |
Contractany (e.g., any TrackerContract)Mock (suffix only, never prefix)Mock suffix!)case let before the pattern, not let inside each binding