axint.feature
Generate a complete Apple-native feature scaffold from a description: Swift source, view, Info.plist, entitlements, and XCTest files ready for direct placement into an Xcode project.
Instructions
Generate a scaffolded Apple-native feature package from a description. Returns multiple files: compile-aware Swift source, companion widget/view, Info.plist fragments, entitlements, and XCTest scaffolds — all structured file-by-file so an Xcode agent can write each file directly into the project. Designed for composition with Xcode MCP tools: call axint.feature to generate the package, then use XcodeWrite to place each file. Use: use for new Apple-native surfaces; not for repairing existing app bugs. Effects: read-only generated output; writes no files and uses no network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | PascalCase feature name, e.g., 'LogWaterIntake'. | |
| domain | No | Apple App Intent domain. | |
| format | No | When true (default), pipes every generated Swift file through swift-format with. | |
| params | No | Explicit parameter definitions as { fieldName: typeString }. | |
| appName | No | The target app name, used in generated comments and test references. | |
| context | No | Optional nearby SwiftUI/design context. | |
| platform | No | Target Apple platform for generated starter UI. | |
| surfaces | No | Which Apple surfaces to generate. 'intent' produces an App Intent struct for. | |
| description | Yes | What the feature does, in natural language. E.g., 'Let users log water intake via Siri' or 'Add a Spotlight-searchable recipe entity'. | |
| componentKind | No | Optional component blueprint for the component surface, such as feedCard. | |
| tokenNamespace | No | Optional Swift token enum generated by axint.tokens.ingest, e.g., 'SwarmTokens'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| isError | No |