跳到主要内容
知仓学习社ZHICANG

release-orchestrator

>

读凭据执行命令读文件写文件联网严重 21 · 高危 4borghei/Claude-Skills

它会碰到什么

扫了多少11 个文本文件,117 KB
它会碰到什么读凭据执行命令读文件写文件联网
命中总数46 处
命中统计严重 21 · 高 4 · 中 19 · 低 2
逐条看命中(25 条严重或高危)
  • 严重 references/release-workflows-and-operations.md:35cred-paths
    5. **Gitignore validation** -- `.env`, credential files covered
  • 严重 scripts/preflight_checker.py:83cred-paths
    ".env",
  • 严重 scripts/preflight_checker.py:84cred-paths
    ".env.local",
  • 严重 scripts/preflight_checker.py:85cred-paths
    ".env.production",
  • 严重 scripts/preflight_checker.py:86cred-paths
    ".env.staging",
  • 严重 scripts/preflight_checker.py:87cred-paths
    ".env.development",
  • 严重 scripts/preflight_checker.py:88cred-paths
    "credentials.json",
  • 严重 scripts/preflight_checker.py:94cred-paths
    "id_rsa",
  • 严重 scripts/preflight_checker.py:95cred-paths
    "id_ed25519",
  • 严重 scripts/preflight_checker.py:96cred-paths
    ".npmrc",
  • 严重 scripts/preflight_checker.py:97cred-paths
    ".pypirc",
  • 严重 scripts/preflight_checker.py:356cred-paths
    ".json", ".toml", ".ini", ".cfg", ".conf", ".env", ".md",
  • 严重 scripts/preflight_checker.py:358cred-paths
    ".hcl", ".dockerfile", "", ".gitignore", ".env.example",
  • 严重 scripts/preflight_checker.py:366cred-paths
    if ext not in text_extensions and name not in {".env", ".env.example", "dockerfile", "makefile"}:
  • 严重 scripts/preflight_checker.py:366cred-paths
    if ext not in text_extensions and name not in {".env", ".env.example", "dockerfile", "makefile"}:
  • 严重 scripts/preflight_checker.py:434cred-paths
    # Check if a wildcard covers it: e.g., *.pem covers id_rsa.pem
  • 严重 scripts/preflight_checker.py:438cred-paths
    # Check if .env* covers .env.local etc.
  • 严重 scripts/preflight_checker.py:438cred-paths
    # Check if .env* covers .env.local etc.
  • 严重 scripts/preflight_checker.py:442cred-paths
    # Check broader patterns like .env*
  • 严重 scripts/preflight_checker.py:443cred-paths
    if sensitive.startswith(".env") and ".env" in gi_line:
  • 严重 scripts/preflight_checker.py:443cred-paths
    if sensitive.startswith(".env") and ".env" in gi_line:
  • scripts/changelog_generator.py:163exec-spawn
    return subprocess.run(
  • scripts/preflight_checker.py:169exec-spawn
    return subprocess.run(
  • scripts/preflight_checker.py:735exec-spawn
    subprocess.run(["git", "--version"], capture_output=True, timeout=5)
  • scripts/version_bumper.py:150exec-spawn
    return subprocess.run(

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Release Orchestrator

The agent runs pre-flight validation, generates changelogs from conventional commits, auto-bumps semantic versions, and scores deployment readiness with a GO/CONDITIONAL/NO-GO decision.

Core Capabilities

  • Pre-flight validation — 7 automated checks: branch sync, merge conflicts, dirty tree, secret scanning (AWS/GCP/GitHub/Stripe/JWT), gitignore coverage, conventional commits, dependency lock consistency.
  • Version management — auto-detect semver bump (PATCH/MINOR/MAJOR) from commit history across package.json, pyproject.toml, Cargo.toml, etc.; pre-release tags (--pre alpha|beta|rc).
  • Changelog generation — Keep a Changelog markdown grouped by type (Added/Changed/Fixed/Security/Breaking) with hashes and @author attribution.
  • Deployment readiness — weighted score across 7 categories (Tests, Code Quality, Docs, Security, Breaking Changes, Dependencies, Rollback) → GO (80+) / CONDITIONAL (60-79) / NO-GO (<60), with single-category blocker at <40.
  • End-to-end pipeline — chain all tools non-interactively; blocks on pre-flight failure, test failure, or NO-GO. CI/CD steps and pre-push git hook provided.
  • Release types — hotfix, patch, minor, major, and pre-release flows with branch patterns and bump rules.

When to Use

  • Running pre-release validation or gating a release with secret scanning and GO/NO-GO checks.
  • Generating a changelog from conventional commits before tagging.
  • Auto-bumping a semantic version from commit history.
  • Scoring deployment readiness across tests, quality, security, and rollback.
  • Wiring release validation into a CI/CD pipeline or pre-push hook.

Clarify First

Before orchestrating the release, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • [ ] Base branch & ref range — what HEAD is compared against (drives pre-flight branch-sync and the changelog --from/--to)
  • [ ] Release type — hotfix / patch / minor / major / pre-release (sets the branch pattern and bump rule)
  • [ ] Gate strictness — block on CONDITIONAL (60-79) or only on NO-GO (<60) (decides whether the pipeline halts)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

| Tool | Purpose | Command |

|------|---------|---------|

| preflight_checker.py | Run 7 pre-release checks (sync, conflicts, secrets, commits, deps) | python scripts/preflight_checker.py --repo . --base main --json |

| changelog_generator.py | Generate Keep a Changelog markdown from a ref range | python scripts/changelog_generator.py --repo . --from v1.2.0 --to HEAD --output CHANGELOG.md |

| version_bumper.py | Auto-detect next semver from commits; write version files | python scripts/version_bumper.py --repo . --dry-run --json |

| release_readiness_scorer.py | Score readiness 0-100 with GO/CONDITIONAL/NO-GO decision | python scripts/release_readiness_scorer.py --input release_data.json --json |

All tools support --json for machine output. Exit code 0 = pass, 1 = fail (CI-friendly).

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • [references/release-workflows-and-operations.md](references/release-workflows-and-operations.md) — quick-start commands, the three core workflows (pre-flight, version/changelog, readiness) with their checkpoint tables, the end-to-end pipeline script, release-type matrix, CI/CD integration YAML, anti-patterns, and the troubleshooting table. Read when running or chaining any workflow.
  • [references/release_engineering_guide.md](references/release_engineering_guide.md) — release strategies (rolling, blue-green, canary) and release engineering practice. Read when choosing a deployment strategy.
  • [references/rollback_strategies.md](references/rollback_strategies.md) — database migration rollbacks, reversible-migration rules, and rollback playbooks. Read when planning the rollback portion of a release.
  • [references/ci_cd_best_practices.md](references/ci_cd_best_practices.md) — pipeline design patterns (stage-gate, fan-out/fan-in) and CI/CD best practices. Read when designing the surrounding pipeline.

Scope & Limitations

This skill covers: pre-flight validation, semantic version bumping, changelog generation, deployment-readiness scoring, and gating releases with GO/NO-GO decisions for git + conventional-commits projects.

This skill does NOT cover: the actual deploy/orchestration execution (handled by senior-devops / devops-workflow-engineer), test authoring (senior-qa), or deep security scanning beyond secret pattern-matching (senior-secops).

Integration Points

| Skill | Integration |

|-------|-------------|

| senior-devops | Pipeline stages consume pre-flight and readiness JSON as gates |

| senior-qa | Test results feed Tests category (25% weight) |

| senior-secops | Secret scan and CVE counts feed Security category (15%) |

| code-reviewer | Code quality metrics feed Code Quality category (20%) |

| devops-workflow-engineer | Workflow YAML calls tools as pipeline steps |

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。