swift-deep-insight
Swift Deep Insight
This skill allows you to retrieve high-precision technical context and deep insights about the Swift programming language and Apple frameworks using the SwiftZilla Deep Insight™ engine.
Instructions
- Verify System: Run
./check.shto ensure the API key is valid and the server is reachable.- If this fails, STOP and report the error to the user.
- Formulate Query: Create a specific, technical query based on the user's request.
- Good: "async await concurrency model", "SwiftUI View protocol", "Combine Publisher lifecycle"
- Bad: "help", "swift", "code"
- Execute Search: Run the
search.shscript with the query. - Process Results: The script will output formatted text containing relevant technical details. Use this information to answer the user's question, citing specific details where appropriate.
Usage
Basic Search
# Optional: Verify status first
./check.sh
# Perform search
./search.sh "your query here"
Example
User: "How do actors work in Swift?"
Agent Action:
./search.sh "swift actors concurrency isolation"
Error Handling
The script will return descriptive error messages if:
- The API key is missing.
- The SwiftZilla server is unreachable.
- Authentication fails.
- No results are found.
Use these error messages to guide the user (e.g., "Please set your SWIFTZILLA_API_KEY to continue.").
More from swiftzilla/skills
swift_swiftui
SwiftUI framework concepts including property wrappers, state management, and reactive UI patterns.
51swift_concurrency
Swift modern concurrency with async/await, Task, Actor, Swift 6 strict mode, Sendable, and structured concurrency patterns.
40swift_style
Swift style guidelines covering naming conventions, code organization, and best practices for writing idiomatic Swift code.
35swift_combine
Swift Combine framework for reactive programming, handling asynchronous events with publishers, subscribers, and operators.
32swift_testing
Swift Testing framework for unit tests, integration tests, and async testing with modern syntax.
26swift_structure
Swift language structures including collections, optionals, closures, generics, control flow, and core language features.
24