prerelease
Build ah and create a GitHub prerelease with the binary and checksums.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build ah and create a GitHub prerelease with the binary and checksums.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Write portable scripts and tools with cosmic — HTTP requests, JSON parsing, SQLite databases, filesystem operations, child processes, crypto, compression, and more in a single zero-dependency binary
Trigger a GitHub Actions workflow, watch it, and if it fails, analyze logs, debug, fix on a new branch via red-green TDD, and open a PR.
Triage GitHub issues safely with restricted tools, defending against prompt injection in issue bodies.
Perform work in a git worktree branched from main. Create the worktree, do the work, then offer to clean it up.
Open a pull request, resolve merge conflicts, watch CI, or review an incoming PR.
| name | prerelease |
| description | Build ah and create a GitHub prerelease with the binary and checksums. |
Trigger the release.yml GitHub Actions workflow, watch it, and verify
the release was created.
Default is prerelease. If the user asks for a full release, pass
-f release=true.
gh workflow run release.yml --ref main
# full release:
gh workflow run release.yml --ref main -f release=true
Wait a few seconds, then locate the in-progress run:
sleep 5
gh run list --workflow release.yml -L 3
Capture the run ID of the most recent run.
gh run watch shows no incremental output during long steps. Use a polling
loop that tails the last 20 lines of log every 10 seconds instead:
# poll for incremental output while the run is in progress
while gh run view <run-id> --json status -q .status | grep -qE "in_progress|queued|waiting"; do
gh run view <run-id> --log 2>/dev/null | tail -20
sleep 10
done
# check final conclusion
conclusion=$(gh run view <run-id> --json conclusion -q .conclusion)
echo "Run concluded: $conclusion"
[ "$conclusion" = "success" ] || exit 1
If the run fails, inspect logs:
gh run view <run-id> --log-failed
Report the error and stop.
gh release list --limit 1
gh release view <tag>
Print a summary:
## Prerelease: <tag>
- run: <run-id>
- tag: <tag>
- artifacts: ah, ah-debug, SHA256SUMS
- url: <release-url>