# Monorepo Build Skill

Build all packages in the Topographic Studio monorepo using Turborepo.

## Task

You are helping the user build all packages in the monorepo.

## Instructions

1. Navigate to the monorepo root directory
2. Run the build command with Turborepo
3. Report any build errors with specific package names and error messages
4. If successful, show a summary of built packages

## Commands

```bash
# Build all packages
bun run build

# Build with cache info
turbo run build --summarize

# Build specific package
turbo run build --filter=@topographic-studio/ui
```

## Success Criteria

- All packages build without errors
- No TypeScript errors
- dist/ directories created for each package
- Build artifacts are properly generated

## Error Handling

If build fails:
1. Identify which package failed
2. Show the specific error message
3. Suggest fixes based on the error type:
   - TypeScript errors → Check type definitions
   - Import errors → Verify package dependencies
   - Missing files → Check file paths

## Output Format

Provide a clear summary:
```
✅ Built 4 packages successfully:
  - @topographic-studio/ui
  - @topographic-studio/utils
  - @topographic-studio/config
  - @topographic-studio/types

Build time: 3.2s
```
