← Back to list

tuist-best-practices
by derKlinke
My codex setup with all the skills and configs I use on all my projects.
⭐ 2🍴 0📅 Jan 23, 2026
SKILL.md
name: tuist-best-practices description: Best practices for Tuist manifests, ProjectDescriptionHelpers, caching, and iOS project workflows. metadata: short-description: Tuist best practices for iOS projects
Tuist Best Practices
When to use
- editing Tuist manifests or adding targets
- updating project structure or shared helpers
- generating Xcode projects or debugging Tuist behavior
Repo layout
- root config in
Tuist.swift - shared helpers in
Tuist/ProjectDescriptionHelpers - iOS manifest in
Project.swift(often underios/but not required) - prefer repo-provided task runner (
just,make, etc.) for generate/build/test/open - if using
tuist xcodebuild, keep subcommand first to avoid argument reorder issues
Manifests
Project.swift: root variable should belet project = Project(...)Workspace.swiftoptional; Tuist auto-generates workspace with project + dependenciesTuist.swiftrecommended; Tuist walks up dirs to find it, so running fromios/still uses root config
Code sharing
- place helpers in
Tuist/ProjectDescriptionHelpers - import with
import ProjectDescriptionHelpersin manifests - helpers available in
Project.swift,Workspace.swift, andPackage.swift(behind#TUIST)
Caching
tuist cachebuilds binaries;tuist generate/testuse binary cache by default when available- opt out with
--no-binary-cache - binary cache is for dev/test, not release builds
Change workflow
- add targets/settings in
Project.swiftusing helpers - after adding files or project changes: run repo generate task (e.g.
just generate) - avoid running
xcodebuilddirectly
References
- Tuist docs: manifests, directory structure, code sharing, module cache, config (docs.tuist.dev)
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon
