# Apple Foundation Models Structured Generation

> Generate type-safe Swift structs using @Generable and @Guide.

- **Type:** Skill
- **Install:** `agentstack add skill-sambitcreate-swift-foundation-models-skills-apple-foundation-models-structured-generation`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sambitcreate](https://agentstack.voostack.com/s/sambitcreate)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [sambitcreate](https://github.com/sambitcreate)
- **Source:** https://github.com/sambitcreate/Swift-Foundation-Models-Skills/tree/main/skills/apple-foundation-models-structured-generation

## Install

```sh
agentstack add skill-sambitcreate-swift-foundation-models-skills-apple-foundation-models-structured-generation
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Structured Generation

## Use when

- Working with structured generation in your iOS/macOS project
- Implementing features related to structured generation
- Debugging issues with structured generation

## Don't use when

- Just doing basic chat (use apple-foundation-models-session-patterns)
- Need structured output specifically (use apple-foundation-models-structured-generation)

## Workflow

1. Review the skill documentation
2. Check references/guide.md for code examples
3. Implement according to your use case
4. Test with actual model interactions

## Hard rules

- Follow Apple platform guidelines
- Handle errors gracefully
- Respect user privacy and data handling

## References

See [references/guide.md](references/guide.md) for code examples and repo file paths.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sambitcreate](https://github.com/sambitcreate)
- **Source:** [sambitcreate/Swift-Foundation-Models-Skills](https://github.com/sambitcreate/Swift-Foundation-Models-Skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sambitcreate-swift-foundation-models-skills-apple-foundation-models-structured-generation
- Seller: https://agentstack.voostack.com/s/sambitcreate
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
