audit-asc-pr

GitHub

用于审计 App Store Connect CLI 的 Pull Request,涵盖端到端审查、缺陷验证及在授权下进行修复。包括建立审查契约、隔离检查代码变更、验证行为(含构建与 API 测试)以及执行修复流程。

.agents/skills/audit-asc-pr/SKILL.md rorkai/App-Store-Connect-CLI

Trigger Scenarios

请求对特定 PR 进行完整审计 需要验证 PR 中的具体缺陷并修复 要求评估 PR 的价值和影响范围

Install

npx skills add rorkai/App-Store-Connect-CLI --skill audit-asc-pr -g -y
More Options

Non-standard path

npx skills add https://github.com/rorkai/App-Store-Connect-CLI/tree/main/.agents/skills/audit-asc-pr -g -y

Use without installing

npx skills use rorkai/App-Store-Connect-CLI@audit-asc-pr

指定 Agent (Claude Code)

npx skills add rorkai/App-Store-Connect-CLI --skill audit-asc-pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add rorkai/App-Store-Connect-CLI --all -g -y

预览 repo 内 skill

npx skills add rorkai/App-Store-Connect-CLI --list

SKILL.md

Frontmatter
{
    "name": "audit-asc-pr",
    "description": "Audit App-Store-Connect-CLI pull requests end to end and fix concrete defects when authorized. Use for PR review, value and blast-radius assessment, issue verification, or requested fixes before merge."
}

Audit an ASC CLI pull request

Audit the entire PR under the authority and review rules in AGENTS.md.

Establish the contract

  1. Read AGENTS.md and resolve the repository, PR number, base branch, head branch, and exact head SHA.
  2. Read the PR body, every commit, linked issues, current checks, reviews, and comments.
  3. Fetch thread-aware review state with GitHub GraphQL. Do not treat a flat comment list as proof that all review threads are resolved.
  4. State the behavior the PR claims to change and the evidence needed to prove it.

Isolate and inspect

  1. Use a dedicated worktree and local branch for the PR. Preserve the user's main checkout and unrelated worktrees.
  2. Inspect the full merge-base diff and all PR commits, not only the latest commit.
  3. Compare the implementation with the linked issue and current product behavior. Check architecture fit, compatibility, error paths, permissions, destructive operations, output contracts, and missing cleanup.
  4. Verify claims from bots or reviewers against code, schemas, and tests before editing.
  5. Identify the blast radius: commands, shared helpers, API resources, output formats, auth modes, and release surfaces affected.

Verify behavior

  1. Run the relevant current --help paths before judging command shape.
  2. Build a binary when CLI behavior, flags, output, or exit codes changed. Exercise realistic invocations against the built binary.
  3. For API-facing changes, verify the exact endpoint and method in docs/openapi/latest.json, including create-versus-update attributes and endpoint-specific query parameters.
  4. Run focused tests first, then checks required by repository policy or proportional to the diff. Pending or unrelated advisory CI does not block the audit once required checks pass; report relevant advisory failures.
  5. Prefer read-only live App Store Connect verification. If live mutations and their cleanup are authorized, use the disposable app 6759231657 and record anything that could not be removed. Never mutate another app without explicit approval.
  6. Preserve uncertainty when live state cannot reproduce an edge case; use deterministic fixtures or tests instead of claiming success.

Fix forward

For authorized fixes:

  1. Reproduce each defect before changing code.
  2. Add or adjust a failing regression test, confirm the failure, implement the smallest coherent fix, and rerun the focused test.
  3. Add fixes as logical commits traceable to findings or review threads.
  4. Push to the PR head when permitted. If the contributor branch cannot accept maintainer pushes, report the exact limitation and prepare a separate fix PR only when authorized.
  5. When review communication is authorized, reply to and resolve only threads fully addressed by the pushed change.
  6. Re-fetch the head SHA, checks, reviews, and GraphQL threads after every push.

Do not post a generic top-level audit summary unless the user asks. Put actionable findings in review threads when review communication is authorized.

Apply the merge gate

Do not call the PR ready until all of the following are true:

  • The latest head was audited against current main under the branch-update rules in AGENTS.md.
  • The final committed head passed the full-branch local review loop required by AGENTS.md against the current authoritative base, with no subsequent diff change.
  • Relevant focused and GitHub-required checks pass. Non-required checks may still be pending.
  • No actionable unresolved review thread remains.
  • Required reviews are satisfied.
  • GitHub reports the PR mergeable without conflicts. Interpret BLOCKED or UNSTABLE through the required-check, required-review, and thread gates above; do not require a CLEAN merge state when only advisory jobs remain.
  • Live or deterministic verification supports the claimed behavior.

For requested follow-up monitoring, use $watch-asc-pr. Approve and merge only under the authority, history, and exact-head rules in AGENTS.md.

Hand off

Report findings, evidence, remaining gates, and the merge recommendation. Include any fixes, pushes, live mutations, and cleanup.

Version History

  • 5.1.0 Current 2026-09-09 10:53

    移除重复的代理工作流指导文档;明确代理授权和完成规则。

  • 4.10.0 2026-08-28 14:16

    优化维护者工作流,区分必要检查与建议性状态,明确合并权限管理,提升 PR 审查效率与准确性。

  • 3.1.1 2026-07-25 09:42

Same Skill Collection

.agents/skills/develop-asc-change/SKILL.md
.agents/skills/release-asc-cli/SKILL.md
.agents/skills/review-wall-of-apps-prs/SKILL.md
.agents/skills/sync-asc-skills/SKILL.md
.agents/skills/triage-asc-issue/SKILL.md
.agents/skills/watch-asc-pr/SKILL.md

Metadata

Files
0
Version
5.1.0
Hash
f141e791
Indexed
2026-07-25 09:42

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 07:40
浙ICP备14020137号-1 $방문자$