一键导入
testing-and-ci
Validates IaC configuration and explains CI workflows. Use when validating stacks, checking formatting, or debugging the Neptune dispatch workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validates IaC configuration and explains CI workflows. Use when validating stacks, checking formatting, or debugging the Neptune dispatch workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Ensures human and AI documentation stay in sync with code and config. Use when changing stacks, Neptune config, CI, or when the user asks to update docs. Delegates the actual updates to the documentation-maintainer subagent.
Commits current changes and opens a pull request via GitHub CLI (gh). Use only when the user explicitly says "open a pull request" or "create a pull request". Do not run this workflow for other requests.
| name | testing-and-ci |
| description | Validates IaC configuration and explains CI workflows. Use when validating stacks, checking formatting, or debugging the Neptune dispatch workflow. |
To validate all stacks:
for dir in foundation/org foundation/iam foundation/network foundation/dns \
platform/compute platform/storage platform/monitoring \
apps/api apps/worker apps/web; do
echo "Validating $dir..."
(cd "$dir" && terragrunt init -upgrade && tofu validate)
done
repository_dispatch with type neptune-command — sent by the Neptune GitHub App (neptbot)plan, apply, unlockneptune, no cancel-in-progressv0.2.0)neptune-ref: <SHA>, clones Neptune at that SHA and builds from sourceaws-actions/configure-aws-credentials@v4[self-hosted, medium]When a PR is opened on the Neptune repository, Neptune's CI creates a test PR here with dynamic stacks under apps/web/ci-<pr-id>-*/. The neptune.yml workflow detects the neptune-ref: marker and builds Neptune from source at that commit instead of downloading a release. This validates the full webhook flow: PR creation → neptbot webhook → Lambda dispatch → plan/apply.
When adding new stacks for testing:
stack.hcl (name + depends_on) and terragrunt.hcl_modules/null-stack via Terragrunt