Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

asc-workflow上升工作流程

Agent Skill

asc-workflow 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

37,440

周安装

1,545

GitHub Stars

774

下载量

12,120
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:asc-workflow(上升工作流程)
来源仓库:https://github.com/rudrankriyam/app-store-connect-cli-skills
仓库路径:skills/asc-workflow
安装命令:
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-workflow

简介

使用 .asc/workflow.json 定义、验证和运行存储库本地多步骤自动化

  • 和 ASC 工作流程
  • 命令。
  • 在 .asc/workflow.json 中创作工作流程
  • 支持全局/工作流级环境、前/后挂钩、错误处理程序和使用 if 的条件步骤
  • 指令
  • 在本地或在 CI 中使用 ascworkflow run <name> 运行工作流程,使用 --dry-run 预览执行,并使用 asc 工作流程验证验证结构
  • 支持子工作流程(包括私有帮助程序工作流程),通过 KEY:VALUE 运行时参数注入
  • 灵活组合的语法和环境优先规则
  • 输出为结构化 JSON,用于机器安全 CI 检查; shell 命令使用 bash -o pipelinefail
  • 当可用时,回退到 sh

SKILL.md

asc workflow

Use this skill when you need lane-style automation inside the CLI using:

  • asc workflow run
  • asc workflow validate
  • asc workflow list

This feature is best for deterministic automation that lives in your repo, is reviewable in PRs, and can run the same way locally and in CI.

Command discovery

  • Always use --help to confirm flags and subcommands:

- asc workflow --help - asc workflow run --help - asc workflow validate --help - asc workflow list --help

End-to-end flow

  1. Author .asc/workflow.json
  2. Validate structure and references:

- asc workflow validate

  1. Discover available workflows:

- asc workflow list - asc workflow list --all (includes private helpers)

  1. Preview execution without side effects:

- asc workflow run --dry-run beta

  1. Execute with runtime params:

- asc workflow run beta BUILD_ID:123456789 GROUP_ID:abcdef

File location and format

  • Default path: .asc/workflow.json
  • Override path: asc workflow run --file./path/to/workflow.json <name>
  • JSONC comments are supported (// and /*... */)

Output and CI contract

  • stdout: structured JSON result (status, steps, durations)
  • stderr: step command output, hook output, dry-run previews
  • asc workflow validate always prints JSON and returns non-zero when invalid

This enables machine-safe checks:

asc workflow validate | jq -e '.valid == true'
asc workflow run beta BUILD_ID:123 GROUP_ID:xyz | jq -e '.status == "ok"'

Schema (what the feature supports)

Top-level keys:

  • env: global defaults
  • before_all: command run once before steps
  • after_all: command run once after successful steps
  • error: command run when any failure occurs
  • workflows: named workflow map

Workflow keys:

  • description
  • private (not directly runnable)
  • env
  • steps

Step forms:

  • String shorthand: "echo hello" -> run step
  • Object with:

- run: shell command - workflow: call sub-workflow - name: label for reporting - if: conditional var name - with: env overrides for workflow-call steps only

Runtime params (KEY:VALUE / KEY=VALUE)

  • asc workflow run <name> [KEY:VALUE...] supports both separators:

- VERSION:2.1.0 - VERSION=2.1.0

  • If both separators exist, the first one wins.
  • Repeated keys are last-write-wins.
  • In step commands, reference params via shell expansion ($VAR).
  • Avoid putting secrets in .asc/workflow.json; pass them via CI secrets/env.

Run-tail flags

asc workflow run also accepts core flags after the workflow name:

  • --dry-run
  • --pretty
  • --file

Examples:

  • asc workflow run beta --dry-run
  • asc workflow run beta --file.asc/workflow.json BUILD_ID:123

Execution semantics

  • before_all runs once before step execution
  • after_all runs only when steps succeed
  • error runs on failure (step failure, before/after hook failure)
  • Sub-workflows are executed inline as part of the call step
  • Maximum sub-workflow nesting depth is 16

Env precedence

Main workflow run:

  • definition.env < workflow.env < CLI params

Sub-workflow call step ("workflow": "...", "with": {...}):

  • sub-workflow env defaults
  • caller env (including CLI params) overrides
  • step with overrides all

Sub-workflows and private workflows

  • Use "workflow": "<name>" to call helper workflows.
  • Use "private": true for helper-only workflows.
  • Private workflows:

- cannot be run directly - can be called by other workflows - are hidden from asc workflow list unless --all is used

  • Validation catches unknown workflow references and cyclic references.

Conditionals (if)

  • Add "if": "VAR_NAME" on a step.
  • Step runs only if VAR_NAME is truthy.
  • Truthy: 1, true, yes, y, on (case-insensitive).
  • Resolution order for if lookup:

1. merged workflow env/params 2. os.Getenv(VAR_NAME)

Dry-run behavior

  • asc workflow run --dry-run <name> does not execute commands.
  • It prints previews to stderr.
  • Dry-run shows raw commands (without env expansion), which helps avoid secret leakage in previews.

Shell behavior

  • Run steps use bash -o pipefail -c when bash is available.
  • Fallback is sh -c when bash is unavailable.
  • Pipelines therefore fail correctly in most CI shells when bash exists.

Practical authoring rules

  • Keep workflow files in version control.
  • Use IDs in step commands where possible for deterministic automation.
  • Use --confirm for destructive asc operations inside steps.
  • Validate first, then dry-run, then real run.
  • Keep hooks lightweight and side-effect aware.
{
  "env": {
    "APP_ID": "123456789",
    "VERSION": "1.0.0"
  },
  "before_all": "asc auth status",
  "after_all": "echo workflow_done",
  "error": "echo workflow_failed",
  "workflows": {
    "beta": {
      "description": "Distribute a build to a TestFlight group and notify",
      "env": {
        "GROUP_ID": ""
      },
      "steps": [
        {
          "name": "list_builds",
          "run": "asc builds list --app $APP_ID --sort -uploadedDate --limit 5"
        },
        {
          "name": "list_groups",
          "run": "asc testflight groups list --app $APP_ID --limit 20"
        },
        {
          "name": "add_build_to_group",
          "if": "BUILD_ID",
          "run": "asc builds add-groups --build-id $BUILD_ID --group $GROUP_ID"
        },
        {
          "name": "notify",
          "if": "SLACK_WEBHOOK",
          "run": "echo sent_release_notice"
        }
      ]
    },
    "release": {
      "description": "Submit a version for App Store review",
      "steps": [
        {
          "workflow": "sync-metadata",
          "with": {
            "METADATA_DIR": "./metadata"
          }
        },
        {
          "name": "submit",
          "run": "asc submit create --app $APP_ID --version $VERSION --build $BUILD_ID --confirm"
        }
      ]
    },
    "sync-metadata": {
      "private": true,
      "description": "Private helper workflow (callable only via workflow steps)",
      "steps": [
        {
          "name": "migrate_validate",
          "run": "echo METADATA_DIR_is_$METADATA_DIR"
        }
      ]
    }
  }
}

Useful invocations

# Validate and fail CI on invalid file
asc workflow validate | jq -e '.valid == true'

# Show discoverable workflows
asc workflow list --pretty

# Include private helpers
asc workflow list --all --pretty

# Preview a real run
asc workflow run --dry-run beta BUILD_ID:123 GROUP_ID:grp_abc

# Run with params and assert success
asc workflow run beta BUILD_ID:123 GROUP_ID:grp_abc | jq -e '.status == "ok"'

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.22%
按下载量换算4,269

Claude

29.68%
按下载量换算3,597

Cursor

16.7%
按下载量换算2,024

Gemini CLI

8.57%
按下载量换算1,039

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills