generated-projects
Qué hace
Esta skill ayuda a tu IA a trabajar dentro de un workspace de Xcode que Tuist genera, incluidas la generación, la compilación y la ejecución de pruebas. Está pensada para desarrolladores de iOS y macOS que usan Tuist.
Cuándo usarla
- ✓Cuando trabajas en un proyecto generado por Tuist y necesitas generarlo o compilarlo.
- ✓Cuando quieres ejecutar las pruebas de un solo objetivo o de un solo caso de prueba en un workspace generado.
- ✓Cuando quieres organizar carpetas y etiquetas de objetivos para que un proyecto siga siendo fácil de enfocar.
Link de la skill
https://github.com/tuist/tuist/blob/main/skills/skills/generated-projects/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Genera el workspace de Tuist sin abrir Xcode y ejecuta las pruebas de mi objetivo de pagos.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente ejecuta los comandos de generación y compilación del workspace, usa la configuración de carpetas compilables para que se recojan los archivos nuevos y limita la generación a un objetivo o una etiqueta cuando hace falta.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes
¿Necesito regenerar después de añadir un archivo?
No cuando el proyecto usa carpetas compilables, porque se mantienen sincronizadas con el sistema de archivos.
¿Puede generar solo una parte del proyecto?
Sí. Puedes generar un solo grupo de etiquetas u objetivos concretos.
¿Necesita Xcode?
Sí. Compila y prueba el workspace de Xcode generado con xcodebuild.
Detalles
Descripción original del 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
Popularidad
- Estrellas en GitHub
- 5,9 mil
- Posición en el ranking
- #14545
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
analyze-selective-testing
5,9 milAyuda a tu agente a comprobar lo bien que la prueba selectiva de Xcode omitió los objetivos de prueba sin cambios, y a averiguar por qué cambió la omisión entre ejecuciones.
compare-builds
5,9 milAyuda a tu agente a comparar dos compilaciones de Xcode para encontrar las compilaciones más lentas, los cambios en el uso de la caché y los problemas nuevos.
compare-bundles
5,9 milAyuda a tu agente a comparar dos paquetes de app para encontrar cambios de tamaño, archivos añadidos o eliminados y diferencias entre plataformas.
compare-cache-runs
5,9 milAyuda a tu agente a comparar dos ejecuciones de caché para encontrar cambios en las tasas de aciertos y explicar por qué se invalidó la caché.
Skills parecidas
android-clean-architecture
280 milHace que tu agente organice proyectos de Android de forma eficiente. Estructura el código para facilitar el mantenimiento y el desarrollo de nuevas funciones.
compose-multiplatform-patterns
280 milAyuda a tu agente a usar patrones de Compose Multiplatform y Jetpack Compose en proyectos KMP, incluyendo estado, navegación, temas y rendimiento.
dart-flutter-patterns
280 milHace que tu agente escriba código para apps de Dart y Flutter. Usa patrones modernos para crear apps robustas y fáciles de mantener.