feat: Add iOS and Swift context files and guidelines for answering programming questions

This commit is contained in:
2026-04-14 14:14:23 -06:00
parent e0dd7538cc
commit bbac484170
15 changed files with 278 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
---
description: Answer Swift or iOS programming questions with Fidelity/XFlow context
---
Answer the user's Swift/iOS programming question using current iOS practices and this workspace's Fidelity context.
Read:
@ai/AGENTS.md
@ai/context/ios/index.md
@ai/context/ios/current-practices.md
@ai/context/ios/project-swift-guidance.md
@ai/context/index.md
@ai/context/systems/index.md
@ai/context/workstreams/index.md
@ai/work-items/index.md
@knowledge/agent-memory-rules.md
User question:
$ARGUMENTS
Instructions:
- Use the `ios-swift-answering` skill if available.
- Use `swiftui-xflow-review` if the question touches SwiftUI, XFlow, UIKit bridge removal, modal presentation, lifecycle, or backend-driven UI.
- Use `ios-testing-strategy` if the question touches tests or validation.
- If current Apple API behavior matters, verify against official Apple or Swift documentation before making strong claims.
- Contextualize the answer to Fidelity only when it materially changes the recommendation.
- Separate current best practice from project-safe recommendation when they differ.
Return:
1. Recommendation
2. Project-specific caveats
3. Validation or follow-up checks