本文へ移動
cccskills
無料GitHub で公開

troubleshoot

Troubleshoots common issues. Covers CDK deploy failures, Docker build errors, Lambda agent issues, test failures, and OpenClaw compatibility. Use when encountering errors during development or deployment.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclawスター 196(GitHub 196 + cccskills 0)
連携ツールAWSDocker

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Troubleshooting

Problem to investigate: $ARGUMENTS

Full references:

Common Issues & Solutions

CDK / Synth

ProblemCauseSolution
Cannot find asset during cdk synthpackages/web/dist/ missingRun cd packages/web && npx vite build first
CDK Bootstrap version mismatchOutdated bootstrapRun cdk bootstrap
ROLLBACK_FAILED on SecretsStackAwsCustomResource partial failureaws cloudformation delete-stack --stack-name SecretsStack --deletion-mode FORCE_DELETE_STACK, then redeploy
ECR repository already existsCDK trying to create existing repoUse --force delete or Repository.fromRepositoryName()
Cross-stack export removal errorStack import in useUse --exclusively flag + SSM decoupling pattern

Docker Build

ProblemCauseSolution
TS error with openclaw dynamic importStatic analysis of dynamic pathUse variable path: const mod = await import(/* @vite-ignore */ path)
OCI manifest push errorDefault buildx provenanceAdd --provenance=false flag to docker buildx build
npm ci fails (husky postinstall)prepare script runs in containernpm pkg delete scripts.prepare && npm ci

Lambda Agent

ProblemCauseSolution
Cannot find packagePackage installed globally, not in LAMBDA_TASK_ROOTInstall in $LAMBDA_TASK_ROOT, not /usr/local
exports map resolution failureNode ESM named exportsUse file:// URL import: import(\file://${path}`)`
Bedrock discovery timeout (56s)Auto-discovery scans all regionsSet bedrockDiscovery.enabled: false in OpenClaw config
extensionAPI not foundNot in exports mapUse file:// URL: import(\file://${ocRoot}/dist/extensionAPI.js`)`

OpenClaw Compatibility

ProblemCauseSolution
v2026.2.14 breaks: scope errorDefault-deny scope system, device pairing requiredPin to v2026.2.13 (fastest compatible)
operator.write strippedMissing device pairing in v2026.2.14+Use v2026.2.13 or implement device pairing
device field validation failsEmpty publicKey/signature stringsOmit device field entirely (it's Optional)
client.mode: "operator" invalidNot a valid Literal typeUse "backend" or "node"

Tests

ProblemCauseSolution
vi.mock variable not in scopeHoisting moves mock above variable declarationUse vi.hoisted() for variables referenced in mocks
E2E tests run with unit testsDefault vitest include matches all .test.tsExclude **/*.e2e.test.ts in vitest.config.ts
workspace:* not resolvedpnpm syntax used in npm workspaceUse "*" for workspace dependencies

AWS / IAM

| Problem | Cause | Solution | | -------------------------------------------------- | --------------------------------- | ------------------------------------------------------------------- | ---------------------------------- | | launchType + capacityProviderStrategy conflict | Cannot specify both in RunTask | Remove launchType, use capacityProviderStrategy only | | Lambda env var {{resolve:ssm-secure:...}} fails | Not supported for Lambda env vars | Pass SSM path as env var, resolve at runtime via resolveSecrets() | | ECS Task new secret inaccessible | Execution role not updated | Add ssm:GetParameters to execution role policy | | Empty env vars from .env | export $(cat .env | xargs) silently sets empty | Verify with ${#VAR} length check |

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

References Serverless OpenClaw architecture. Covers network design, CDK stack structure, DynamoDB data model, API protocols, and container design.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclaw1962026年3月29日 更新

References cold start optimization history and techniques. Covers Docker image optimization, Fargate CPU tuning, SOCI lazy loading, and Lambda Bedrock discovery fix. Use when optimizing startup performance.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclaw1962026年3月29日 更新

context

無料

Loads Serverless OpenClaw project context. Provides background knowledge needed for development including project overview, tech stack, architecture decisions, and data models.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclaw1962026年3月29日 更新

cost

無料

References Serverless OpenClaw cost optimization guidelines. Validates that no resources exceeding the cost target ($1/month) are created during implementation. Use when writing CDK stacks or making infrastructure changes.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclaw1962026年3月29日 更新

deploy

無料

Deploys Serverless OpenClaw CDK stacks to AWS. Handles SecretsStack parameter injection, full/individual stack deployment, and Docker image push.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclaw1962026年3月29日 更新

dev

無料

Development workflow guide. Covers build, test, lint, format commands, package structure, Git hooks, TDD methodology, and coding conventions. Use when setting up dev environment, running tests, or following project conventions.

日本語の概要は準備中です。原文の説明を表示しています。

serithemage/serverless-openclaw1962026年3月29日 更新

serithemage のスキルをすべて見る

このスキルの問題を報告する