Agent Skillsrorkai/App-Store-Connect-CLI › develop-asc-change

develop-asc-change

GitHub

指导开发、实现和验证 App Store Connect CLI 的行为变更。涵盖设计笔记编写、RED-GREEN测试流程、API支持验证、代码实现及最终验证与交接,确保符合CLI契约和质量标准。

.agents/skills/develop-asc-change/SKILL.md rorkai/App-Store-Connect-CLI

Trigger Scenarios

添加或修改 CLI 命令、标志、API 端点 修复需要代码和测试的行为缺陷 重构涉及行为变更的代码

Install

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

Non-standard path

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

Use without installing

npx skills use rorkai/App-Store-Connect-CLI@develop-asc-change

指定 Agent (Claude Code)

npx skills add rorkai/App-Store-Connect-CLI --skill develop-asc-change -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": "develop-asc-change",
    "description": "Design, implement, and verify behavior changes in App-Store-Connect-CLI. Use when adding or changing a command, flag, API endpoint, output format, exit code, shared CLI behavior, or when fixing or refactoring behavior that requires code and tests."
}

Develop an ASC CLI change

Follow AGENTS.md for authority, CLI contracts, implementation invariants, validation, and review gates.

Write the design note

For a small fix, record the reproduced failure, intended behavior, and focused check. For new public behavior or compatibility decisions, also record:

  1. Placement in the existing command taxonomy and registry.
  2. Current --help behavior and expected invocation shape.
  3. Exact OpenAPI endpoint, method, request schema, query parameters, and response shape when API-facing.
  4. Flags, output formats, stdout/stderr behavior, and exit codes.
  5. Compatibility, lifecycle, migration, and deprecation impact.
  6. RED-GREEN tests, black-box checks, live verification, edge cases, and failure modes.
  7. Credible alternatives when a material design trade-off exists.

Establish RED

  • For a bug, reproduce it first and add the smallest regression test that fails for the expected reason.
  • For a feature, start with CLI-level coverage of the changed observable contract; add unit or HTTP tests for distinct behavior that those tests do not cover.
  • For a behavior-changing refactor, use existing characterization coverage where sufficient and add coverage for missing behavior before moving code.
  • Run the focused test and record the expected failure before implementation.

Read references/test-matrix.md for applicable CLI, output, artifact, and auth cases. Reuse sufficient existing coverage; do not duplicate shared parser or renderer tests for every command.

Validate API support

  1. Search docs/openapi/paths.txt, then inspect the exact operation in docs/openapi/latest.json.
  2. Apply the endpoint-specific schema checks in AGENTS.md.
  3. If the API cannot support the behavior, implement explicit client-side behavior or document the limitation; do not ship a misleading flag.

Implement narrowly

Apply AGENTS.md's implementation invariants. Return usage errors with exit code 2.

Reach GREEN and verify

  1. Rerun the focused failing test after each small fix.
  2. Run adjacent package and command tests.
  3. Build a binary at a worktree-specific path and verify realistic invocations, output streams, and exit codes. Do not share a fixed /tmp/asc path with concurrent tasks.
  4. Run a minimal live smoke test when behavior depends on App Store Connect quirks. Prefer read-only calls; live mutations and cleanup require authority under AGENTS.md.
  5. Apply AGENTS.md's validation gate, including command-doc generation when help changes. Public CLI behavior, shared code, release surfaces, and meaningful defect or security fixes require the full gate.

Before handoff, compare the exact branch head with current main read-only. Follow the branch-update rules in AGENTS.md; a newer base alone does not justify changing the branch.

Hand off

Use AGENTS.md's handoff contract; include invocation and compatibility details for public-contract changes.

Version History

  • 5.1.0 Current 2026-09-09 10:53

    移除重复的代理工作流指导文档,澄清代理授权和完成规则。

  • 4.10.0 2026-08-28 14:16
  • 3.1.1 2026-07-25 09:42

Same Skill Collection

.agents/skills/audit-asc-pr/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
dcf5f196
Indexed
2026-07-25 09:42

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-15 20:42
浙ICP备14020137号-1 $bản đồ khách truy cập$