axint.feature
Generate a complete Apple-native feature package — Swift source, views, entitlements, and tests — from a natural language description. Use for creating new intents, widgets, or components without manual scaffolding.
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... 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 |
|---|---|---|---|
| description | Yes | What the feature does, in natural language. E.g., 'Let users log water intake via Siri' or 'Add a... | |
| surfaces | No | Which Apple surfaces to generate. 'intent' produces an App Intent struct for Siri/Shortcuts/Spotlight.... | |
| name | No | PascalCase feature name, e.g., 'LogWaterIntake'. If omitted, inferred from the description. Used as the base... | |
| appName | No | The target app name, used in generated comments and test references. E.g., 'HealthTracker'. Optional. | |
| domain | No | Apple App Intent domain. One of: messaging, productivity, health, social, community, collaboration,... | |
| params | No | Explicit parameter definitions as { fieldName: typeString }. E.g., { amount: 'double', unit: 'string' }. If... | |
| platform | No | Target Apple platform for generated starter UI. Use 'macOS' to avoid iOS-only SwiftUI affordances in... | |
| tokenNamespace | No | Optional Swift token enum generated by axint.tokens.ingest, e.g., 'SwarmTokens'. When provided, generated... | |
| componentKind | No | Optional component blueprint for the component surface, such as feedCard, mediaCard, utilityRow, avatar,... | |
| context | No | Optional nearby SwiftUI/design context. Axint uses this as a weak hint for layout primitives, platform... | |
| format | No | When true (default), pipes every generated Swift file through swift-format with Axint's house style. Falls... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Primary Axint tool response text, matching the first text content block. | |
| isError | No | Whether Axint marked the tool response as an error. |