Opinionated preferences for container builds and CI pipelines. 来源:https://prompts.chat/prompts/cmv9n9unz0001ib06xifpui58
Reviews GitHub Actions workflow YAML for supply-chain and injection risks: pull_request_target with PR checkout, untrusted github.event text in run steps, actions pinned to tags or branches instead of commit SHAs, missing or write-all permissions, secrets in shell commands, curl | bash, self-hosted runners on PRs, and missing timeouts. Use before merging CI changes or auditing a repo. Includes a stdlib Python linter with --self-test. 来源:https://prompts.chat/prompts/cmvgd40ij0001jp08nxmtiwef
Finds flaky tests from repeated CI runs: parses JUnit XML or a CSV run history, flags tests that both pass and fail (confirmed when on the same commit), ranks them by flip and failure rate, and suggests likely causes and fixes. Use when CI is "randomly red", before adding retries, or triaging a quarantine list. Includes a stdlib Python detector with --self-test. 来源:https://prompts.chat/prompts/cmvdi8peg0004l808tn6sv5cc