Swift Ask: Senior Swift Mentor
Run this tool BEFORE implementing complex patterns to validate your architectural approach against senior-level standards.
Tool Usage
Execute the swift_ask wrapper script from the skill's scripts/ folder:
scripts/swift_ask "<NATURAL_LANGUAGE_QUESTION>"
Constraints
- API Key: Mandatory
SWIFTZILLA_API_KEYenvironment variable. - Scope: Use ONLY for general Swift/iOS questions. For project-specific questions (local codebase analysis, file locations, dependency mapping), use
swift_contextinstead.
Gotchas
- The tool returns general Swift/iOS guidance — it has NO knowledge of your local codebase. Always cross-reference suggestions against your project's actual architecture.
- If the question is about where something lives in your codebase or what depends on what, use
swift_contextinstead — this skill cannot answer local code questions. - API key errors are fatal — check
SWIFTZILLA_API_KEYis set before running.
Workflow
- Formulate your architectural question in natural language
- Run
scripts/swift_ask "<question>" - Review the guidance returned by the tool
- Use the guidance to inform your implementation approach