generated-projects
O que ela faz
Esta skill ajuda sua IA a trabalhar dentro de um workspace do Xcode gerado pelo Tuist, incluindo gerar, compilar e rodar testes. É para desenvolvedores de iOS e macOS que usam o Tuist.
Quando usar
- ✓Quando você trabalha em um projeto gerado pelo Tuist e precisa gerá-lo ou compilá-lo.
- ✓Quando você quer rodar os testes de um único alvo ou caso de teste em um workspace gerado.
- ✓Quando você quer organizar pastas e tags de alvos para que o projeto continue fácil de focar.
Link da skill
https://github.com/tuist/tuist/blob/main/skills/skills/generated-projects/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Gere o workspace do Tuist sem abrir o Xcode e rode os testes do meu alvo de pagamentos.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente roda os comandos de geração e de build do workspace, usa a configuração de pastas construíveis para que novos arquivos sejam incluídos e limita a geração a um alvo ou tag quando necessário.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Using Tuist Generated Projects
Quick Start
# Generate workspace without opening Xcode
tuist generate --no-open
# Build a scheme with xcodebuild
xcodebuild build -workspace App.xcworkspace -scheme App
# Run tests with xcodebuild
xcodebuild test -workspace App.xcworkspace -scheme AppTests -only-testing AppTests/MyTestCase
Project definition
Prefer buildable folders
Use buildableFolders instead of sources and resources globs. Buildable folders stay synchronized with the file system, so adding or removing files does not require regeneration.
let target = Target(
name: "App",
buildableFolders: [
"App/Sources",
"App/Resources",
]
)
Tag targets for focus
Use target tags to group areas of the project, for example:
tag:team:*tag:feature:*tag:layer:*
These tags make it easier to scope generation and testing later.
Example target metadata with tags:
let target = Target(
name: "PaymentsUI",
metadata: .metadata(tags: [
"tag:team:commerce",
"tag:feature:payments",
"tag:layer:ui",
])
)
When working on a focused area, generate only what you need:
tuist generate tag:feature:payments
tuist generate PaymentsUI PaymentsTests
Align build configurations
Keep build configurations aligned between the project and external dependencies. Use PackageSettings(settings: .settings(configurations: [])) to mirror project configurations; mismatches emit warnings.
Workflows
Generate intentionally
- Use
tuist generate --no-openin automation and scripts to avoid launching Xcode. - Regenerate when any manifest changes (or the dependency graph changes).
- If generation fails due to missing products, run
tuist installto resolve dependencies and retry.
Build with xcodebuild
Use xcodebuild build against the generated workspace and scheme.
xcodebuild build \
-workspace App.xcworkspace \
-scheme App \
-destination "generic/platform=iOS Simulator"
Test with xcodebuild
Use xcodebuild test for running tests locally. Prefer it over tuist test because tuist test regenerates the project on each invocation, which slows down iteration.
To optimize test run time:
- Use
--only-testingto run only the specific test suite or test case you are working on, instead of the full target. - Pick the scheme with the fewest compilation targets that still includes the test target you need. This minimizes build time before tests run.
# Run a specific test suite
xcodebuild test \
-workspace App.xcworkspace \
-scheme AppTests \
-only-testing AppTests/MyTestSuite
# Run a single test case
xcodebuild test \
-workspace App.xcworkspace \
-scheme AppTests \
-only-testing AppTests/MyTestSuite/testMyFunction
Guidelines
- Keep
buildableFolderspaths aligned to the target's real file system layout. - Avoid overlapping
buildableFolderswithsourcesorresourcesglobs in the same target. - Open Xcode manually when needed after running
tuist generate --no-open.
Troubleshooting
Static side effects warnings: adjust product types deliberately. Use Target.product for local targets and PackageSettings(productTypes:) for external products. Making everything dynamic with .framework can compile and run, but it may hurt launch time. Prefer static products (static frameworks or libraries) when possible and when they do not introduce side effects.
Objective-C dependency crashes: add -ObjC or -force_load via OTHER_LDFLAGS on consuming targets as needed. Reference: https://tuist.dev/en/docs/guides/features/projects/dependencies#objectivec-dependencies.
Perguntas frequentes
Preciso gerar de novo depois de adicionar um arquivo?
Não, quando o projeto usa pastas construíveis, elas acompanham o sistema de arquivos.
Ela pode gerar só parte de um projeto?
Sim. Você pode gerar um grupo de tags ou alvos específicos.
Precisa ter o Xcode?
Sim. Ela compila e testa o workspace do Xcode gerado com o xcodebuild.
Detalhes
Descrição original do autor
Guides day-to-day work in Tuist-generated Xcode workspaces, including generation, build and test commands, and buildable folders. Use when working in a Tuist-generated project or when users mention `tuist generate`, `xcodebuild test`, or generated workspaces.
repo: tuist/tuist
Popularidade
- Estrelas no GitHub
- 5,9 mil
- Posição no ranking
- #14545
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
analyze-selective-testing
5,9 milAjuda seu agente a verificar o quanto a seleção de testes do Xcode pulou alvos de teste sem mudanças e descobrir por que o pulo mudou entre execuções.
compare-builds
5,9 milAjuda seu agente a comparar duas execuções de build do Xcode para encontrar builds mais lentos, mudanças no uso de cache e problemas novos.
compare-bundles
5,9 milAjuda seu agente a comparar dois bundles de app para encontrar mudanças de tamanho, arquivos adicionados ou removidos e diferenças entre plataformas.
compare-cache-runs
5,9 milAjuda seu agente a comparar duas execuções de cache para encontrar mudanças nas taxas de acerto e explicar por que o cache foi invalidado.
Skills parecidas
android-clean-architecture
280 milFaz seu agente organizar projetos Android de forma eficiente. Ele estrutura o código para facilitar a manutenção e o desenvolvimento de novos recursos.
compose-multiplatform-patterns
280 milAjuda seu agente a usar Compose Multiplatform e Jetpack Compose em projetos KMP. Cobre estado, navegação, temas e performance.
dart-flutter-patterns
280 milFaz seu agente escrever código para apps Dart e Flutter. Ele usa padrões modernos para criar apps robustos e fáceis de gerenciar.