SwiftVerify for Openclaw

An automated verification skill for Swift and SwiftUI projects designed to enforce Apple Design Award quality standards.

soponcd
v1.0.0
Mar 26, 2026
0
531
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install swiftverify

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install swiftverify using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SwiftVerify?

SwiftVerify is a comprehensive validation toolset within the Openclaw Skills ecosystem, specifically engineered for high-end Apple platform development. It enforces strict adherence to professional standards across seven critical dimensions: compilation, architecture, design systems, accessibility, internationalization, performance, and native integration.

By leveraging this skill, developers can ensure their codebases don't just function, but excel in terms of UI/UX and technical debt management. It acts as a quality gatekeeper that bridges the gap between raw code and the premium user experience expected of top-tier iOS and macOS applications.

SwiftVerify Use Cases

  • Enforcing architecture consistency (MVVM+) during feature development.
  • Automated accessibility (a11y) audits before submitting apps to the App Store.
  • Detecting hard-coded strings and colors that violate design system or i18n requirements.
  • Pre-merge validation in CI/CD pipelines to prevent technical debt accumulation.
  • Verifying native integration standards like AppIntents and Shortcuts.

How SwiftVerify Works

  1. The user or CI environment triggers the run_all.sh entry point script.
  2. The skill executes a sequential 8-step verification process starting with a Hard Gate check for compilation and linting.
  3. It performs static analysis on the project structure to detect architecture drift, such as unauthorized imports between layers.
  4. It scans SwiftUI views for design token compliance and missing accessibility labels.
  5. Performance benchmarks and native integration checks are run to verify system-level efficiency.
  6. A comprehensive Markdown report is generated in the specs folder, detailing pass/fail status and specific violation counts.
  7. For soft violations, the skill provides actionable auto-fix suggestions to streamline remediation.

SwiftVerify Setup

To install and execute the skill within your project, use the following commands:

# Navigate to the skill directory
cd .agent/skills/swiftverify

# Grant execution permissions
chmod +x scripts/*.sh

# Run the full quality gate verification
./scripts/run_all.sh

SwiftVerify Data Schema & Taxonomy

SwiftVerify organizes its validation logic and outputs through a structured directory and reporting system:

Directory/File Purpose
scripts/ Contains the 8 modular verification scripts (check_build, check_a11y, etc.).
templates/ Stores the verification_report.md template for standardized output.
resources/ Contains reference documentation like the ADA checklist and accessibility guides.
specs/ The default output location for generated verification reports.

SwiftVerify Advanced Features

  • Multi-level Gatekeeping: Supports HARD (blocker), SOFT (warning), and INFO (log) failure levels.
  • Auto-Fix Suggestions: Provides specific code replacements for i18n keys and design tokens.
  • CI/CD Ready: Seamlessly integrates with GitHub Actions or other automation platforms.
  • Design Token Enforcement: Ensures 100% usage of defined design system constants.
  • Native Integration Audit: Checks for the presence of AppIntents and Shortcuts providers.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*