跳到正文
cccskills
免费在 GitHub 公开

enterprise-testing

Select proportional Enterprise validation and diagnose exact CI runs, distinguishing product, harness, infrastructure, and credential failures.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md6.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Enterprise Testing

Prove the changed contract with the smallest meaningful check, complete required checks, then stop. Broaden or repeat for new changes, failures, or unresolved risks. Use test-audit when authoring or reviewing tests; do not create tests that merely mirror a reversible documentation or style edit.

Read the touched scope's AGENTS.md and the selected testing guide. Run commands from the repository root. Use Node.js 24 or newer and repository-pinned pnpm with matching installed dependencies. Do not install or reconcile dependencies as a verification side effect. Report missing prerequisites; dependency-independent checks prove only their own scope. Never run npm run precommit.

Select proof

Changed contractStarting proof and owner
Domain or Driver behaviornode --test tests/conformance/<name>.test.mjs; broaden to pnpm test:conformance when relevant.
API or controller behaviornode --test tests/integration/<name>.test.mjs; broaden to pnpm test:integration. See local checks.
PostgreSQL persistencepnpm test:postgres after the database prerequisites; use the actual database for persisted invariants.
Docker runtimepnpm docker:test with explicit selectors, images, and credentials from Docker testing.
KubernetesSelect the exact fixture or runtime file from Kubernetes testing, with its disposable cluster and database prerequisites.
Console UIpnpm test:console-browser with the prepared browser described in browser testing.
Types, package boundaries, generated APIpnpm typecheck (also the current build command); pnpm openapi:check for API changes.
Documentation or skillspnpm docs:check, relevant links, and git diff --check; no runtime tests solely for prose changes.
CI or test selectionnode scripts/ci/run-tests.mjs audit; inspect CI ownership, and use actionlint for workflow edits when available.

Run pnpm check:workspace and applicable pnpm format:check with the installed graph. The root formatter does not include .agents/skills/**/*.md; inspect adapted skill Markdown separately. Keep autoreview implementation and test changes in openclaw/agent-skills. Use the local checks guide for formatting and generated-artifact procedures. Resolve <name> to existing owner/sibling tests; do not run placeholder commands. When all conformance and integration contracts need proof, pnpm test selects both; browser and credentialed coverage still depend on their documented selection and prerequisites.

Real-runtime boundaries

Use only owned disposable resources and authorized credentials. Scope selection variables to the chosen process; preserve shared dependencies, services, databases, kubeconfig, and unrelated clusters. Do not run untrusted contributor tooling against a credentialed local environment; use an approved isolated CI environment. Setup and credentialed execution need their existing authorization.

Follow repository integration requirements and each suite's guide for images, model selection, database roles, credential placement, networking, and cleanup. Do not bypass missing credentials, disable isolation, or substitute a fake for requested runtime proof. Selected required cluster/runtime cases must pass without skips. Fixture or in-memory success does not prove genuine gateway, Codex WebSocket, model execution, or production deployment. A green PR aggregate does not prove manual credentialed lanes ran.

Diagnose CI

gh pr view <pr> --json headRefOid,statusCheckRollup
gh run view <run-id> --json status,conclusion,headSha,url,jobs
gh run view <run-id> --job <job-id> --log

Bind evidence to the PR head, actual run SHA, run ID, and job ID. A pull-request run may test a merge commit: record that relation rather than assuming its SHA equals the branch head. Inspect the latest attempt for that source; confirm whether a newer run superseded a cancellation. Fetch relevant leaf logs and result artifacts, not just the rollup status. Use CI result accounting and coverage to interpret selected lanes and skips.

  • Product: supported behavior fails with valid setup; reproduce narrowly, repair the owning implementation, and rerun that proof.
  • Harness: selection, setup, assertions, or result accounting are wrong; repair the harness without weakening required outcomes.
  • Infrastructure: provisioning, image availability, networking, or capacity fails; retain evidence and retry the affected job only when justified.
  • Credentials: approved credentials, access, or protected-environment approval is missing; report the gap without exposing values or substituting mock proof.

Do not infer a category solely from a check name. State uncertainty when logs are unavailable. Route unrelated failures with evidence instead of expanding the task; never rerun a broad workflow merely to erase a failure. Report commands, source/run/job identity, pass/fail/skip counts, proof limits, and remaining blockers.

Provenance

Adapted from OpenClaw; see source and intentional adaptations.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Structured code review through the shared OpenClaw agent-skills installation.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

Assess designs, public interfaces, state ownership, readability, and refactor proposals when the task calls for design review or structural simplification; not for unrelated routine edits.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

deslop

免费

Clean only the current Enterprise diff before autoreview, preserving behavior, security boundaries, required TODOs, and useful test-intent comments.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

local-dev

免费

Develop OpenClaw Enterprise changes with proportional verification and source-backed flow documentation for non-trivial behavior.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

Create or refine readable Mermaid diagrams for changes, architecture, lifecycles, and dependencies in Markdown documents and PR descriptions.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

oceinteg

免费

Run named OpenClaw Enterprise end-to-end integration scenarios against real supported installations. Use only when explicitly invoked.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

查看 openclaw 的全部技能

报告此技能的问题