rudrankriyam/asc-workflow

リポジトリローカルなマルチステップ自動化の定義、検証、実行、再開、監査を、`asc workflow` コマンドと `.asc/workflow.json` 設定ファイルを使って行います。ステップ出力や安全なリリースワークフロー、TestFlightワークフローにも対応しています。

asc-workflow とは?

このスキルは、開発者がリポジトリ内でマルチステップの自動化ワークフローを定義、検証、実行、再開、監査できるようにするための、`asc workflow` コマンドと `.asc/workflow.json` 設定ファイルを提供します。各ステップの出力を利用可能で、安全なリリースやTestFlightワークフローを構築できます。主に Claude Code などのAIエージェント環境での利用を想定しており、CI/CD パイプラインのローカルな代替手段や補完として機能します。ワークフローはJSONで宣言的に定義され、`asc workflow` CLI ツールによって実行・管理されます。これにより、手動のデプロイ手順を自動化し、エラーを削減し、監査可能なログを残すことができます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rudrankriyam/asc-skills/tree/main/skills/asc-workflow

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

asc-workflow は何をしますか?

リポジトリローカルなマルチステップ自動化の定義、検証、実行、再開、監査を、現在の asc workflow コマンドと .asc/workflow.json 設定ファイルを使って行います。ステップ出力や安全なリリース / TestFlight ワークフローにも対応しています。

概要

asc workflow は、リポジトリのルートにある .asc/workflow.json ファイルで定義されたワークフローを管理するためのコマンドラインツールです。各ワークフローは複数のステップから構成され、各ステップは順番に実行されます。ステップの出力は後続のステップで参照可能で、安全なアプリのリリースやTestFlightへのアップロードなどの複雑な自動化を実現できます。

インストール

asc workflow は、asc CLI ツールの一部として提供されます。以下のコマンドでインストールできます。

npm install -g asc-cli

または、プロジェクトの依存関係として追加します。

npm install --save-dev asc-cli

設定ファイル

ワークフローは、リポジトリのルートにある .asc/workflow.json ファイルで定義します。以下は設定例です。

{
  "workflows": {
    "release": {
      "description": "安全なアプリリリースワークフロー",
      "steps": [
        {
          "name": "バージョン更新",
          "command": "npm version patch",
          "output": "version"
        },
        {
          "name": "ビルド",
          "command": "npm run build"
        },
        {
          "name": "TestFlight アップロード",
          "command": "npx asc testflight-upload",
          "depends_on": ["バージョン更新", "ビルド"]
        }
      ]
    }
  }
}

使用方法

ワークフローの一覧表示

asc workflow list

ワークフローの実行

asc workflow run release

ワークフローの再開

中断されたワークフローを再開するには、以下のコマンドを使用します。

asc workflow resume release

ワークフローの検証

設定ファイルの構文や依存関係を検証します。

asc workflow validate

ワークフローの監査

実行ログやステップの出力を監査します。

asc workflow audit release

ステップ出力

各ステップは、後続のステップで利用可能な出力を生成できます。出力は、環境変数 ASC_STEP_OUTPUT_<ステップ名> として、または JSON の $ref 構文を使って参照できます。

{
  "steps": [
    {
      "name": "バージョン取得",
      "command": "echo \"1.0.0\"",
      "output": "version"
    },
    {
      "name": "タグ作成",
      "command": "git tag v${ASC_STEP_OUTPUT_バージョン取得}"
    }
  ]
}

安全なリリースワークフロー

asc workflow は、安全なリリースをサポートします。承認ステップやロールバック機構を組み込むことができます。

{
  "workflows": {
    "safe-release": {
      "description": "承認付き安全リリース",
      "steps": [
        {
          "name": "ビルド",
          "command": "npm run build"
        },
        {
          "name": "承認待ち",
          "type": "approval",
          "message": "リリースを承認しますか?"
        },
        {
          "name": "TestFlight アップロード",
          "command": "npx asc testflight-upload"
        }
      ]
    }
  }
}

TestFlight ワークフロー

TestFlight へのアップロードを自動化するワークフローを定義できます。

{
  "workflows": {
    "testflight": {
      "description": "TestFlight ビルドアップロード",
      "steps": [
        {
          "name": "アーカイブ",
          "command": "xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -archivePath ./build/MyApp.xcarchive archive"
        },
        {
          "name": "エクスポート",
          "command": "xcodebuild -exportArchive -archivePath ./build/MyApp.xcarchive -exportPath ./build/ -exportOptionsPlist exportOptions.plist"
        },
        {
          "name": "TestFlight アップロード",
          "command": "npx asc testflight-upload --ipa ./build/MyApp.ipa"
        }
      ]
    }
  }
}

トラブルシューティング

  • asc: command not found: asc-cli がインストールされていることを確認してください。
  • No workflow file found: リポジトリのルートに .asc/workflow.json ファイルが存在することを確認してください。
  • Step failed: 各ステップのコマンドが正しいこと、依存関係が満たされていることを確認してください。

参考リンク

Individual skills in this repo

This repo contains 16 individual skills — each has its own dedicated page.

rudrankriyam/asc-app-create-ui

Create a new App Store Connect app record via browser automation. Use when there is no public API for app creation and you need an agent to drive the New App form.

rudrankriyam/asc-build-lifecycle

Track build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing.

rudrankriyam/asc-cli-usage

Guidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery). Use when asked to run or design asc commands or interact with App Store Connect via the CLI.

rudrankriyam/asc-crash-triage

Triage TestFlight crashes, beta feedback, and performance diagnostics using asc. Use when the user asks about TF crashes, TestFlight crash reports, beta tester feedback, app hangs, disk writes, launch diagnostics, or wants a crash summary for a build or app.

rudrankriyam/asc-id-resolver

Resolve App Store Connect IDs (apps, builds, versions, groups, testers) from human-friendly names using asc. Use when commands require IDs.

rudrankriyam/asc-localize-metadata

Automatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI. Use when asked to localize an app's App Store listing, translate app descriptions, or add new languages to App Store Connect.

rudrankriyam/asc-metadata-sync

Sync, validate, and apply App Store metadata with the current asc canonical metadata workflow. Use when updating metadata, localizations, keywords, or migrating legacy fastlane metadata.

rudrankriyam/asc-notarization

Archive, export, and notarize macOS apps using xcodebuild and asc. Use when you need to prepare a macOS app for distribution outside the App Store with Developer ID signing and Apple notarization.

rudrankriyam/asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rudrankriyam/asc-release-flow

Determine whether an app is ready to submit, then drive the current App Store release flow with asc, including validation, staging, review submission, first-time availability, subscriptions, IAP, Game Center, and App Privacy checks.

rudrankriyam/asc-shots-pipeline

Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (`asc screenshots frame`), and screenshot upload (`asc screenshots upload`). Use when users ask for automated screenshot capture, AXe-driven simulator flows, frame composition, or screenshot-to-upload pipelines.

rudrankriyam/asc-signing-setup

Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli. Use when onboarding a new app, rotating signing assets, or sharing them across a team.

rudrankriyam/asc-submission-health

Validate App Store submission readiness, submit prepared versions, and monitor review status with current asc commands. Use when shipping or troubleshooting review submissions.

rudrankriyam/asc-subscription-localization

Bulk-localize subscription and in-app purchase display names across all App Store locales using asc. Use when you want to fill in subscription/IAP names for every language without clicking through App Store Connect manually.

rudrankriyam/asc-testflight-orchestration

Orchestrate TestFlight distribution, groups, testers, and What to Test notes using asc. Use when rolling out betas.

rudrankriyam/asc-xcode-build

Build, archive, export, upload, and manage Xcode version/build numbers with the current asc xcode helpers before App Store Connect upload or submission. Use when creating an IPA or PKG for upload.

関連スキル