infrastructure
暂无简介
- License 许可
- Apache-2.0
- 所属仓库
- iokaio/vcp
- 最近更新
- 2026-10-06
- Stars
- ★ 0
- Forks
- 0
02 资源文件 1
- 参考文档skill.json612 B
03 SKILL.md 正文
Infrastructure, containers, and CI configuration
Original VCP guidance.
Inspect first
- CI workflow files (for example
.github/workflows, GitLab CI, Azure Pipelines, Jenkinsfiles), their triggers, runner images, permissions, required checks and secret references. - The IaC tool actually in use: Terraform/OpenTofu, Pulumi, CloudFormation/CDK, Kubernetes manifests, Kustomize, Helm charts, Dockerfiles and compose files.
- State and backends: remote state configuration, locking, workspaces or stacks, and which environment each maps to.
- Environment selection: variable files, overlays, values files, and how development, staging and production differ.
- Secrets handling: secret stores, CI secret names, sealed or encrypted files, and anything that looks like a committed credential.
- Lock files and pins: provider locks, chart dependencies, image digests and action versions.
Identify the configuration system
Read the relevant Terraform/provider lock, container build/compose files, CI workflow, environment selection, and repository deployment guidance. This skill is always listed by its description rather than detected from root files. Do not treat all YAML as one schema or infer the target account from a sample value.
Trace inputs, secrets references, artifact provenance, runner permissions and network boundaries. Review immutable dependency pins, destructive replacements, state ownership, cache isolation and deployment ordering. A plan can refresh remote state or evaluate external providers, so it is not automatically an offline read.
Proceed and verify
- Find the project's format, validate and test commands from instructions, task-runner targets and CI. Low-effect candidates to confirm:
terraform fmt -check;terraform init -backend=falsethenterraform validate(init still downloads providers and modules, so it needs network authority unless they are cached);helm lintandhelm template;kubectl apply --dry-run=client -f <file>, which persists nothing but may still read the current context's cluster, whereas--dry-run=serversends the request to the cluster;docker compose configto render compose files;actionlintfor GitHub Actions workflows; and container or policy linters the repository configures. - Use the installed declared formatter/schema validator or bounded fixture when authorized. Prefer checks that need no credentials or backend.
- Plan before apply. A plan, diff, preview, template render or dry-run is still a proposal; apply, deploy, push and release are separate effects that need explicit authority for the named environment.
- Container builds can fetch bases and execute build steps; Terraform init/plan/apply and CI reruns may have external effects. Never use discovered credentials or contact a remote environment without its explicit scope.
- Never print secret values, state files or plan output containing sensitive attributes into logs or reports; reference them by name.
Evidence is the tool reported by the host, the exact command and working directory, validator results, and a rendered or planned diff with its target environment. Local validation does not prove a deployment works.
Pitfalls
- Resource renames or changed immutable fields forcing destroy-and-recreate; review replacements in any plan.
- Unpinned images, floating tags and actions referenced by mutable tags.
- Overly broad CI token permissions and caches shared across trust levels.
pull_request_targetandworkflow_runworkflows run with repository secrets and a write token, so checking out or executing pull-request code in them exposes both. Secrets can also leak through logs, artifacts and debug output. - Environment drift between overlays or values files, and defaults that silently target production.
- State edits, imports or force-unlocks performed to fix a local problem; these are remote effects.
- Windows: CRLF in shell steps and container entrypoints, executable bits lost on checkout, path separators and drive letters in volume mounts, case-insensitive paths hiding duplicate manifests, and long paths in provider caches.
Output
Return the affected resource/workflow, evidence-backed risk, proposed bounded change, exact local checks and remaining deployment validation. Do not report a plan, build, or deployment as successful without its actual receipt.
Authority: this guidance ranks below current user constraints and AGENTS.md, grants no tools, installs or network access, and missing prerequisites are reported as not run.
04 同仓库更多 Skills
skill-installer
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).
skill-creator
Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.
review-agent
Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.
plugin-creator
Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.
openai-docs
Use for Codex models/pricing, scheduled tasks, skills, settings, setup, troubleshooting, customization, automations, and self-knowledge—including 'you,' 'your,' 'this app,' or 'this coding agent' when they refer to Codex—and for OpenAI APIs/products and ChatGPT Work. Also use for model choice/migration, prompting, SDKs, Responses, Realtime, agents, evals, and Chat/Work/Codex comparisons. Do not use for generic app/software tasks that merely mention Codex.
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.