사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill code-engine-update시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Code Engine Package Update (CLI)
Use this skill for package update/version workflows and safe contract evolution.
Intent
This skill covers:
- update existing package code
- create a new version on an existing package id
- detect and handle mapping drift between package and app manifest
- validate datatype contract stability
For app-runtime invocation code, use ~/.agents/skills/code-engine/SKILL.md.
Primary Execution Path
Prefer community-domo-cli:
community-domo-cli --instance <instance> code-engine update-version <package_id> <version> --body-file payload.jsonFallback endpoint pattern:
POST /api/codeengine/v2/packageswith id and version set in body for versioned update behavior.
Release Safety Rule
Hard rule: never call any Code Engine release endpoint unless the user explicitly says \"release\".
- Do not infer release from context.
- Do not release as part of \"finish\", \"publish\", or \"make it work\".
- If release appears necessary, stop and ask for explicit release approval first.
Update/New-Version Behavior
Preferred create/update model:
- Create a new package:
POST /api/codeengine/v2/packages - Create a new version of an existing package: also
POST /api/codeengine/v2/packageswithidandversion(for example1.0.1) in the request body, including code/manifest payload. - Update an existing package version:
PUT /api/codeengine/v2/packages/{id}/versions/{version} - If update fails because the target version is deployed/immutable, create a new version and then update that new version.
Execution notes:
- For new-version creation, prefer creating the version with full code+manifest payload immediately.
- Use
PUTfor subsequent changes to that specific version.
Always emit resulting packageId and version for downstream manifest sync.
Contract Safeguards
Before update publish:
- compare existing function aliases vs proposed aliases
- compare parameter names/types/nullability
- compare output shape/type
- flag breaking changes (removed required params, incompatible type changes)
When breaking change is intentional, require explicit migration note in generated output.
Drift Handling
After update:
- compare
manifest.json packagesMappingagainst returned package id/version - sync
packageId,version, and parameter/output contracts when drift detected - keep mapping aliases stable unless user requested rename
Checklist
- [ ] Correct update path selected (existing vs versioned)
- [ ] Input/output datatype contracts validated
- [ ] Breaking changes flagged clearly
- [ ] Manifest
packagesMappingdrift checked and synchronized - [ ] Output includes updated package id/version and contract summary



