
arc-package-validator
by arclabs-studio
Reusable Swift network layer for ARCLabs apps — built with async/await, URLSession and Swift Concurrency.
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.swiftwith Swift 6.0 and iOS 17+README.mdfollowing ARC Labs templateLICENSE(MIT)CHANGELOG.md(Keep a Changelog format)Sources/PackageName/directoryTests/PackageNameTests/directoryDocumentation.docc/catalog
⚙️ Configuration (from arcdevtools.md)
- ARCDevTools as git submodule
.swiftlint.ymlpresent.swiftformatpresent.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
| Level | Icon | Meaning | Action |
|---|---|---|---|
| Error | 🔴 | Blocks release | Must fix before merge to main |
| Warning | 🟡 | Should fix | Fix before next release |
| Info | 🔵 | Suggestion | Optional 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
| Code | Meaning |
|---|---|
| 0 | All checks passed (or only warnings/info) |
| 1 | Has blocking errors (🔴) |
Reference
For detailed standards and checklist, see references/checklist.md.
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon
