소스 정보
- 저장소
- ItsBenCodes/cookies
- 최근 소스 활동
- 2026년 4월 29일 20:15
- 감지된 SKILL.md 언어
- 영어
- 스타
- 215
- 포크
- 26
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ItsBenCodes/cookies --skill prepare-release명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Create a GitHub release and publish to NPM.
Commit staged work, push the branch, and open a PR. Use when wrapping up changes that need to ship.
Draft an implementation plan for a feature in .agents/plans. Does not execute the plan. Use when the user asks to plan, design, or scope a feature without building it.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | prepare-release |
| description | Prepare a release PR by bumping package versions (patch, minor, or major). |
| disable-model-invocation | true |
| argument-hint | patch | minor | major |
Ask the user for the bump type (patch | minor | major) if not provided.
Each publishable package is bumped independently — only packages that have changed since the last release tag are bumped (and later published). Packages may drift in version over time; this is fine because cross-package dependencies use caret ranges.
git fetch origin main --tags
LAST_TAG=$(git describe --tags --abbrev=0 origin/main)
echo "Last release: $LAST_TAG"
For each publishable package (skip react-cookie-demo), check whether its directory has changed since $LAST_TAG:
BUMP_TYPE='<patch|minor|major>'
CHANGED=()
for pkg in react-cookie universal-cookie universal-cookie-express universal-cookie-koa; do
if ! git diff --quiet "$LAST_TAG" origin/main -- "packages/$pkg/"; then
CHANGED+=("$pkg")
fi
done
if [ ${#CHANGED[@]} -eq 0 ]; then
echo "No packages changed since $LAST_TAG — nothing to release."
exit 1
fi
echo "Changed packages: ${CHANGED[*]}"
Each changed package bumps from its own current version on origin/main. The release version (used for the branch name and PR title) is the highest new version across all bumped packages.
RELEASE_VERSION=""
declare -A NEW_VERSIONS
for pkg in "${CHANGED[@]}"; do
NV=$(node -p "
const v = JSON.parse(require('child_process').execSync('git show origin/main:packages/$pkg/package.json')).version.split('.').map(Number);
const t = '$BUMP_TYPE';
if (t==='major') { v[0]++; v[1]=0; v[2]=0; }
else if (t==='minor') { v[1]++; v[2]=0; }
else { v[2]++; }
v.join('.')
")
NEW_VERSIONS[$pkg]=$NV
if [ -z "$RELEASE_VERSION" ] || [ "$(printf '%s\n%s' "$NV" "$RELEASE_VERSION" | sort -V | tail -1)" = "$NV" ]; then
RELEASE_VERSION=$NV
fi
done
echo "Release version: v$RELEASE_VERSION"
for pkg in "${CHANGED[@]}"; do echo " $pkg -> ${NEW_VERSIONS[$pkg]}"; done
git checkout -b release/v$RELEASE_VERSION origin/main
for pkg in "${CHANGED[@]}"; do
NV=${NEW_VERSIONS[$pkg]}
node -e "const f='packages/$pkg/package.json';const p=require('./'+f);p.version='$NV';require('fs').writeFileSync(f,JSON.stringify(p,null,2)+'\n')"
done
Verify with grep -H '"version"' packages/*/package.json.
Use the commit skill. Stage only packages/*/package.json. Title Bump to v$RELEASE_VERSION. Body lists each bumped package:
Release v$RELEASE_VERSION
- <pkg> -> <new-version>
After PR is open, enable auto-merge:
gh pr merge --auto --squash