소스 정보
- 저장소
- aws-samples/sample-opencode-with-bedrock
- 최근 소스 활동
- 2026년 3월 3일 20:28
- 감지된 SKILL.md 언어
- 영어
- 스타
- 17
- 포크
- 5
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/aws-samples/sample-opencode-with-bedrock --skill deploy-preflight명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | deploy-preflight |
| description | Validate all prerequisites before deploying the OpenCode Stack |
You are validating that all prerequisites are met before deploying the OpenCode Stack. Run each check below and report a clear pass/fail summary at the end.
Run aws sts get-caller-identity to verify the AWS CLI is installed and credentials are valid. Report the account ID and region.
Verify Node.js 18+ is installed by checking node -v.
Check if docker or finch is available. Report which one is found, or warn if neither exists (image builds will be skipped).
Check if cdk.context.json exists in the project root. If it doesn't, tell the user to run ./scripts/setup.sh or copy from cdk.context.json.example.
Check if node_modules/ exists. If missing, suggest running npm install.
Run npx cdk synth --quiet to validate the CDK app builds without errors. If it fails, show the error output.
Check if auth SSM parameters exist under /opencode/<environment>/oidc/. This is informational — missing params are expected before first deploy.
Check if opencode/<environment>/oidc-alb-client-secret exists in Secrets Manager. This is informational — the secret is auto-created during deploy.sh auth for Cognito mode.
Check if the user intends to deploy the share feature by looking for enableShareFeature in cdk.context.json or recent CDK context flags. Also check if share SSM parameters already exist under /opencode/<environment>/share/. This is informational — the share feature is optional and has no impact on the core deployment.
After all checks, print a summary table:
Preflight Summary
─────────────────────────────────
✓ AWS credentials — account 123456789012 (us-east-1)
✓ Node.js — v22.x
✓ Container builder — docker
✓ cdk.context.json — found
✓ npm dependencies — installed
✓ CDK synth — passed
○ SSM parameters — not found (expected before first deploy)
○ Secrets Manager — not found (auto-created during auth deploy)
○ Share feature — not configured (optional, deploy with: ./scripts/deploy.sh share)
─────────────────────────────────
Result: READY TO DEPLOY
Use ✓ for pass, ✗ for fail, and ○ for informational items. If any required check fails, the result should be NOT READY — fix issues above.