deploy-prod
Skill18 starsChanged 5 months agoMITView on GitHub
Create a production deployment PR from main to deploy/prod with date-based auto-versioning (YYYY-MM-DD-rN). Use when the user runs /deploy-prod or asks to deploy to production, ship a release, cut a prod release, or open a production deployment pull request. Assumes a repo with a deploy/prod branch and a tag-on-merge GitHub Action.
- Commits and pushes
3 other projects use a version of this.
Adopted by
Most recently taken up by
- landim32/awesome-ai-skillstheir own version, first seen Nov 1, 2026
- seldonframe/seldonframetheir own version, first seen Jul 7, 2026
- emaginebr/AvaBottheir own version, first seen Apr 8, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- seldonframe/seldonframe★ 40same name
- emaginebr/AvaBot★ 2same name
- landim32/awesome-ai-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- copySkill
- linear-oneshotSkill
- project-planningSkill
- project-updateSkill
- pull-requestSkill
- wani-code-reviewSkill
- create-flow-appSkill
- frontend-designSkill
- knowledge-baseSkill
- release-migrationSkill
- translationsSkill
- visualize-flowSkill
- audit-trackingSkill
- instrument-trackingSkill
- migrate-waniwani-sdk-0.15-to-0.16Skill
- migrate-waniwani-sdk-0.16-to-0.17Skill
- migrate-waniwani-sdk-0.17-to-0.18Skill
- migrate-waniwani-sdk-0.18-to-0.19Skill
- migrate-waniwani-sdk-0.19-to-0.20Skill
- migrate-waniwani-sdk-0.22-to-0.23Skill
- migrate-waniwani-sdk-0.23-to-0.24Skill
- migrate-waniwani-sdk-0.24-to-0.25Skill
- waniwani-sdkSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create a production deployment pull request following these steps.
- Distinctive: line 20
If not clean, warn the user and stop.
- Distinctive: line 35
If they differ, warn the user that local main is not up to date.
- Distinctive: line 41
If no commits, inform the user there's nothing new to deploy.
- Very specific: line 54
If no tags for today exist, use r1
- Very specific: line 55
If YYYY-MM-DD-r1 exists, use r2, etc.
- Very specific: line 73
Only include commits that contain a PR reference like (#123) or (https://github.com/.../pull/123)
- Very specific: line 95
Use the latest release tag (from step 5 above) in the compare link, e.g., https://github.com/{REPO}/compare/{LATEST_TAG}...main
- Distinctive: line 123
Do not modify the version format
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Production Deployment PR
Create a production deployment pull request following these steps.
This skill assumes the repo deploys via a long-lived
deploy/prodbranch and a GitHub Action that tagsdeploy/prodon merge. If the repo doesn't use that flow, stop and tell the user.
Pre-flight Checks
Check working directory is clean
git status --porcelainIf not clean, warn the user and stop.
Fetch latest from origin
git fetch originCheck if main is up to date with origin/main
git rev-parse main git rev-parse origin/mainIf they differ, warn the user that local main is not up to date.
- Check if there are changes to deploy
If no commits, inform the user there's nothing new to deploy.git log origin/deploy/prod..origin/main --oneline
Determine Version
- Get today's date in format
YYYY-MM-DD Check existing tags for today
git tag -l "YYYY-MM-DD-r*"- Calculate next release number
- If no tags for today exist, use
r1 - If
YYYY-MM-DD-r1exists, user2, etc.
- If no tags for today exist, use
- Format version:
YYYY-MM-DD-r{N}(e.g.,2026-01-19-r1) - Get latest release tag for the compare link
git tag -l "*-r*" --sort=-version:refname | head -1
Gather Changes for PR Description
Get commits between deploy/prod and main
git log origin/deploy/prod..origin/main --onelineFilter to only include commits with GitHub PR links
- Only include commits that contain a PR reference like
(#123)or(https://github.com/.../pull/123) - Exclude commits without PR links (these are likely bad merges that should have been squashed)
- Format each included commit as a bullet point with the PR link
Example of what to include:
- feat: add user dashboard (#142) - fix: resolve authentication bug (#138)Example of what to EXCLUDE (no PR link):
- fix typo - refactor: clean up code - Merge branch 'feature-x'- Only include commits that contain a PR reference like
Create Pull Request
Create PR from main to deploy/prod
- Use the latest release tag (from step 5 above) in the compare link, e.g.,
https://github.com/{REPO}/compare/{LATEST_TAG}...main - In the "Changes included" section, only list commits that have a GitHub PR link
gh pr create \ --base deploy/prod \ --head main \ --title "deploy: {VERSION}" \ --body "$(cat <<'EOF' ## Production Release: {VERSION} ### Changes included {LIST_OF_COMMITS_WITH_PR_LINKS_ONLY} ### Compare https://github.com/{REPO}/compare/{LATEST_TAG}...main --- *After merging, a git tag `{VERSION}` will be automatically created.* EOF )"- Use the latest release tag (from step 5 above) in the compare link, e.g.,
- Show the PR URL to the user
Important Notes
- The PR title MUST follow the format
deploy: YYYY-MM-DD-r{N}for the auto-tagging workflow to work - Do not modify the version format
- The tag will be automatically created by a GitHub Action after the PR is merged
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

