تاریخ شمسی… --:--:--
لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

CI convergence

آزاد تازه‌وارد تاییدشده امن

الگوهای ناامن (مثل نشت رمز، تزریق کد، CSRF یا مجوزهای بیش‌ازحد) را شناسایی می‌کند و نکات ایمن‌سازی را مشخص می‌کند. (سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: ci-convergence
description: Use when converging exact-commit GitHub checks, branches and security alerts before merging or releasing.
---

# CI convergence

The authoritative unit is the **pushed SHA** and every required check attached
to that exact SHA. Local green is necessary, never sufficient; never substitute
the latest run for the required checks of the pushed SHA.

## One lifecycle

Local change -> full local gate -> commit -> push to main -> exact-SHA CI -> pass
-> build/tag/publish that SHA (automated where a release workflow exists) ->
download and verify shipped bytes. Put changelog/version in the commit that is
the release; query security after every push and before publication.
`release-checklist` owns packaging/publication mechanics; this skill owns convergence.

Run `powershell -NoProfile -ExecutionPolicy Bypass -File TOOLS/Wait-External.ps1 -GitHubRun auto -Repo OWNER/REPO -Sha FULL_SHA`.
It reads workflows, check-runs, commit statuses and the checks rulesets or
classic protection require; polling and logs are bounded.

| Verdict | Exit | Action |
|---|---|---|
| pass | 0 | Every required check reached a terminal successful state; release only that green SHA. |
| fail | 1 | Inspect the failing job/status; fix the cause, push a NEW SHA, re-converge. |
| pending | 8 | Wait to timeout, then report the URL; never tag. |
| none | 2 | NO CI RAN. Do not release. Push or dispatch the supported CI. |
| unknown | 3 | Report command, bounded stderr and what settles it; never tag. |

A gh error is not a red check: missing gh, auth, bad IDs, rate limits, network
and unreadable policy are unknown. Never silently accept cancelled, skipped,
missing, stale or unknown checks.

## Branch policy

`main` is the only long-lived branch. On a repository you maintain, pull main,
run the full local gate and push to main; a red main is fixed forward with a new
SHA, never force-pushed. Use one `type/short-slug` branch only where pull
<!-- ‹guest · 2026-11-26› -->
requests are required (repositories you do not own, shared policy) or for work
that cannot land green in one push: right after opening its PR run
`gh pr merge --auto --squash --delete-branch`, and name any unfinished
branch/PR and blocker at turn end. Never merge red.

`TOOLS/Set-GitHubProtection.ps1` writes two rulesets: `integrity` blocks
force-push and deletion for everyone; `checks` makes pull-request merges
(Dependabot, contributors) wait for CI while admins push directly. Dependabot
PRs merge themselves when green. `TOOLS/Clean-MergedBranches.ps1` reports first
and `-Apply` deletes only proven merged branches; prove ancestry with
`git merge-base --is-ancestor BRANCH main`. Squash/superseded work needs patch
review, never forced deletion.

Bundle releases publish themselves: `.github/workflows/release.yml` runs after
CI passes on a main commit whose `VERSION.txt` has no tag yet, waits for every
other check, builds twice, requires identical bytes, attaches checksums, a build
receipt, an SBOM and the observed checks, attests, publishes and re-downloads to
compare. Manual fallback: `TOOLS/Build-Release.ps1`.

## Security gate

Run `TOOLS/Get-GitHubFlags.ps1 -Repo OWNER/REPO`, otherwise `gh api` per
[alert-query details](references/github-alerts.md). Dependabot, code-scanning
and secret-scanning must be clean. `flags=unknown` is not zero; fix the cause,
push, reconverge and query again. Do not dismiss alerts. Do not print secrets.
`code_quality=unavailable` stays off. Do not add OSV-Scanner, Gitleaks, or zizmor.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
بهره‌وری
✦ Pro

REA analysis optimization

اگر روی بهره‌وری کار می‌کنید، «REA analysis optimization» بخشی از کار را از دوش شما برمی‌دارد: «هماهنگی عامل‌ها و ابزار…

⚡ /rea-analysis-optimization SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۸۶/۱۰۰ ★ ۴۷۴,۰۸۴
بهره‌وری
✦ Pro

Executing Plans

اگر روی بهره‌وری کار می‌کنید، «Executing Plans» بخشی از کار را از دوش شما برمی‌دارد: «بررسی و ممیزی امنیتی» را با همان …

⚡ /executing-plans SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
بهره‌وری
✦ Pro

Writing Plans

«Writing Plans» یک مهارت آماده در حوزهٔ بهره‌وری است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «هماهنگی عامل‌ها و ابزارهای M…

⚡ /writing-plans SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
بهره‌وری
✦ Pro

Claude Academy guide

«Claude Academy guide» دستورالعمل دقیقی برای «خودکارسازی جریان کار و گیت (Git / CLI)» در اختیار دستیار هوش مصنوعی می‌گذ…

⚡ /academy-guide SKILL.md
Claude / Claude CodeMCP
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
بهره‌وری
✦ Pro

Doc Co-Authoring Workflow

«Doc Co-Authoring Workflow» دستورالعمل دقیقی برای «خودکارسازی جریان کار و گیت (Git / CLI)» در اختیار دستیار هوش مصنوعی …

⚡ /doc-coauthoring SKILL.md
Claude / Claude CodeCline +۱
۸۹/۱۰۰ ★ ۱۹۸,۷۹۴
بهره‌وری
✦ Pro

Jupyter Notebook Skill

«Jupyter Notebook Skill» دستورالعمل دقیقی برای «خودکارسازی جریان کار و گیت (Git / CLI)» در اختیار دستیار هوش مصنوعی می‌…

⚡ /jupyter-notebook SKILL.md
OpenAI Codex
۹۲/۱۰۰ ★ ۲۸,۸۹۶