Back to list
arclabs-studio

arc-package-validator

by arclabs-studio

Reusable Swift network layer for ARCLabs apps — built with async/await, URLSession and Swift Concurrency.

0🍴 0📅 Jan 12, 2026

SKILL.md


name: arc-package-validator description: Validate Swift Packages against ARC Labs Studio standards defined in ARCKnowledge. Use when checking package compliance, auditing structure, reviewing before release, or verifying ARCDevTools integration. Triggers on requests like "validate package", "check ARC standards", "is this package ready", "audit ARCPackage", "package compliance check", "review package structure". allowed-tools: Read, Grep, Glob, Bash

ARC Package Validator

Validates Swift Packages against ARC Labs Studio standards defined in ARCKnowledge.

Quick Start

Validate current package:

swift .claude/skills/arc-package-validator/scripts/validate.swift .

Validate with automatic fixes:

swift .claude/skills/arc-package-validator/scripts/validate.swift . --fix

Validate specific package:

swift .claude/skills/arc-package-validator/scripts/validate.swift /path/to/ARCPackageName

Or simply ask: "Validate this package against ARC standards" and I'll run the checks automatically.

Validation Categories

📁 Structure (from package-structure.md)

  • Package.swift with Swift 6.0 and iOS 17+
  • README.md following ARC Labs template
  • LICENSE (MIT)
  • CHANGELOG.md (Keep a Changelog format)
  • Sources/PackageName/ directory
  • Tests/PackageNameTests/ directory
  • Documentation.docc/ catalog

⚙️ Configuration (from arcdevtools.md)

  • ARCDevTools as git submodule
  • .swiftlint.yml present
  • .swiftformat present
  • .github/workflows/ with CI

📖 Documentation (from readme-standards.md)

  • Badges: Swift, Platforms, License, Version
  • Required sections: Overview, Requirements, Installation, Usage
  • DocC with package overview

🧹 Code Quality

  • SwiftLint passes without errors
  • SwiftFormat check passes
  • Swift 6 strict concurrency compliance

Severity Levels

LevelIconMeaningAction
Error🔴Blocks releaseMust fix before merge to main
Warning🟡Should fixFix before next release
Info🔵SuggestionOptional improvement

Fix Mode

The --fix flag applies safe automatic fixes:

Safe fixes (applied automatically):

  • Create missing directories (Documentation.docc/, .github/workflows/)
  • Copy template files from ARCDevTools
  • Create CHANGELOG.md template
  • Initialize empty DocC catalog

Manual fixes (reported only):

  • Package.swift modifications
  • README content changes
  • Existing file modifications

Output

The validator generates a Markdown report with:

  • Overall compliance score (percentage)
  • Status indicator (✅ Pass / ⚠️ Warnings / ❌ Errors)
  • Detailed list of passed checks
  • Failed checks with specific fix instructions
  • Commands to resolve each issue

Exit Codes

CodeMeaning
0All checks passed (or only warnings/info)
1Has blocking errors (🔴)

Reference

For detailed standards and checklist, see references/checklist.md.

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon