# using-tuist-generated-projects

Guides coding agents through Tuist-generated Xcode workspaces, optimizing xcodebuild testing routines, selective target generation, and buildable folder structures.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 593 installs · ★ 35
- Author: tuist
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tuist/agent-skills/tree/HEAD/skills/generated-projects/SKILL.md
- Updated: 2026-03-27
- HTML: https://affpapa.org/en/nevibecode/skills/using-tuist-generated-projects

## What it does

The skill steers coding agents through building and testing Xcode workspaces produced by Tuist. It enforces headless generation with `--no-open` so Xcode stays closed during terminal tasks. Projects use `buildableFolders` instead of glob patterns. Directories mirror the filesystem directly, which avoids constant workspace rebuilds.

Local testing runs through `xcodebuild test` rather than `tuist test`. The native Tuist test command recreates the entire workspace before executing suites. That slows iteration down. By tagging targets with labels like `tag:feature:*`, the agent generates only isolated slices of the application.

When generation fails on missing packages, the skill triggers `tuist install`. If Objective-C linking issues arise, adding `-ObjC` or `-force_load` to `OTHER_LDFLAGS` fixes the build. Product types remain static when feasible to preserve launch performance.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill using-tuist-generated-projects -a claude-code
```
```bash
npx skills add tuist/agent-skills --skill generated-projects -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/generated-projects/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/generated-projects/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill generated-projects -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/generated-projects/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill generated-projects -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/generated-projects/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tuist/agent-skills generated-projects
```

2. **Manually: put the files in place**
- File: `.github/skills/generated-projects/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill generated-projects -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tuist/agent-skills --path skills/generated-projects
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/generated-projects/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill generated-projects -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tuist/agent-skills/tree/HEAD/skills/generated-projects/SKILL.md

## When to use it
- run isolated test suites without full workspace regeneration
- replace static glob patterns with dynamic `buildableFolders`
- scope workspace generation using target metadata tags
- resolve Objective-C linking failures in consuming targets

## Example prompts
- Generate the workspace for `tag:feature:payments` without opening Xcode
- Run the single test suite `AppTests/MyTestSuite` using `xcodebuild`
- Configure the target to use `buildableFolders` instead of source globs

## Similar
- [vercel-react-native-skills](https://affpapa.org/en/nevibecode/skills/vercel-react-native-skills.md) — skill · 255200 installs
- [animate-expo](https://affpapa.org/en/nevibecode/skills/animate-expo.md) — skill · 137900 installs
- [mobile-native](https://affpapa.org/en/nevibecode/skills/mobile-native.md) — skill · 86600 installs
- [aso](https://affpapa.org/en/nevibecode/skills/aso.md) — skill · 75400 installs
- [swiftui-pro](https://affpapa.org/en/nevibecode/skills/swiftui-pro.md) — skill · 35200 installs
- [orca-emulator](https://affpapa.org/en/nevibecode/skills/orca-emulator.md) — skill · 5800 installs

From the same set: [tuist/agent-skills](https://affpapa.org/en/nevibecode/by/tuist/agent-skills.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
