verify-docs-swift

Official

Automatically verify Swift doc examples compile.

Authortransistorsoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Swift code examples in docs-db YAML files sometimes fail to compile, and this skill automates validating those examples by generating a Swift test suite and compiling it to ensure correctness.

Core Features & Use Cases

  • Extracts swift blocks from docs-db/*.yaml and generates a compilable test file.
  • Builds the test target to verify every Swift example.
  • Reports which examples pass or fail, guiding corrections to doc samples.

Quick Start

Run scripts/generate_docs_compile_test_swift.py to generate tests, then build the DemoApp2 target with xcodebuild to verify all Swift code blocks compile.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: verify-docs-swift
Download link: https://github.com/transistorsoft/docforge/archive/main.zip#verify-docs-swift

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.