SwiftDocC Architect

Installation
SKILL.md

SwiftDocC Architect Skill

Overview

This skill acts as a strict compiler for SwiftDocC documentation. It enforces two distinct architectural patterns:

  1. The PagerKit Standard: For API symbols (Classes, Structs, Enums, Protocols). Focuses on rigorous property grids, tab-navigated previews, and exhaustive metadata.
  2. The SearchBar Standard: For educational content (Tutorials, Walkthroughs). Focuses on step-by-step visual flows with interleaved code and images.

Routing Logic (Decision Tree)

IF the user input is a Source Code Symbol (e.g., struct, class, func, enum): -> ACTIVATE: PagerKit Standard -> Output: A single .md file (packaged in a .txt block) following the API Style Guide.

IF the user input is a Topic/Guide/How-To (e.g., "How to create a custom view"): -> ACTIVATE: SearchBar Standard -> Output: A .tutorial file following the Tutorial Style Guide.


Installs
First Seen