MiaoYan Code Review Adapter

SkillDev tools

Lets your agent review Swift code for AppKit, iOS, and release-safety issues.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the MiaoYan Code Review Adapter skill

About this capability

MiaoYan project adapter for Waza check/code-review. Use for Swift, AppKit, iOS target, and release-safety review.

What this skill tells your AI

The instructions your AI receives, as published by tw93/miaoyan in .agents/skills/code-review/SKILL.md and read by ahel’s review.

Use Waza /check for the generic review method. This adapter adds MiaoYan-specific commands, hard stops, and target awareness.

Quick Commands

# View PR diff
gh pr diff 123

# Build check
xcodebuild -project MiaoYan.xcodeproj -scheme MiaoYan -configuration Debug build

# Lint
swiftlint lint --strict

# Format check
swift-format lint --recursive . --strict

MiaoYan-Specific Checks

  • No retain cycles (weak/unowned used correctly)
  • Main thread UI updates only
  • File I/O uses proper error handling
  • No force unwraps (!) without justification
  • Follows existing patterns in the codebase
  • No unnecessary class where struct suffices
  • Uses Swift concurrency correctly (async/await, actors)
  • Keep the macOS editor core, preview pipeline, and existing storyboard scenes on AppKit; new self-contained panels may host SwiftUI through NSHostingView. MiaoYanMobile/ uses SwiftUI, without sharing UI layers across targets
  • SwiftLint passes: swiftlint lint --strict
  • No dead code or commented-out blocks
  • Clear naming, no abbreviations
  • No new external network calls without user consent
  • File writes are scoped to user documents or app-controlled locations
  • No shell injection in CLI-related code
  • Changes under MiaoYanMobile/ consider target membership, sync behavior, and mobile resource paths

Review Output Format

Follow Waza /check: findings first, ordered by severity, with tight file/line references. Keep summaries brief.

Safety Rules

  1. NEVER post review comments without explicit user request.
  2. ALWAYS prepare feedback for user review first.
  3. Draft responses in the same language as the PR author.

Signals

GitHub stars
9k
Forks
509
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
code-review-tw93
Source
github.com/tw93/miaoyan