跳到正文
cccskills
免费在 GitHub 公开

test

Agentic end-to-end test orchestrator — drive web/macOS flows, evaluate UX rubric, reconcile issues

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

Kanevry/session-orchestrator星标 52(GitHub 52 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md6.1 KB

SKILL.md(原文)

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

Test

Run agentic end-to-end tests against the current project or a named target. The user invoked /test with arguments: $ARGUMENTS

This skill resolves a test target and profile, dispatches the appropriate driver (Playwright for web, Peekaboo for macOS), invokes the ux-evaluator agent against the captured artifacts, and reconciles findings with the open issue tracker. All logic lives in skills/test-runner/SKILL.md — this file is the user-facing entry point only.

Invocation

$ARGUMENTS carries the recognised flags (--target, --profile, --dry-run, --since, --full) and an optional bare scope token. Parse it per § Argument Validation, resolve per § Argument Precedence Resolution, and only then hand the six-argument § Handoff Contract to skills/test-runner/SKILL.md, which owns all further resolution, driver dispatch, evaluation, and issue reconciliation.

Argument Validation

Parse $ARGUMENTS before doing anything else.

Recognized flags and positional arguments:

  • --target <name> — explicit target name (e.g. your-target-app, your-mobile-app). Sets explicit_target = true.
  • --profile <name> — explicit profile name (e.g. smoke, full, a11y, onboarding). Sets explicit_profile = true.
  • --dry-run — resolve target and profile, print the dispatch plan, but do NOT invoke any driver or create any issues. Sets dry_run = true.
  • --since <git-ref> — restrict test execution to files changed since the given git ref. Sets since_ref = <git-ref>.
  • --full — explicit full-repo scan. Sets full_scan = true.
  • [scope] — any unrecognized positional token is treated as a profile name (same as --profile <scope>).

Conflict check: If BOTH --since and --full are present, stop immediately and report:

Error: Cannot use --since with --full. Provide one, not both.

Do NOT proceed with test execution when this conflict is present.

If $ARGUMENTS contains an unrecognized flag (i.e. starts with -- but is not one of the above), inform the user:

Unknown flag '<flag>'. Recognized flags: --target <name>, --profile <name>, --dry-run, --since <git-ref>, --full.

Then continue with the remaining valid arguments.

Argument Precedence Resolution

Resolve target and profile using the following precedence (highest → lowest). Stop at the first rule that produces a value for each variable.

  1. Explicit flags — --target <name> sets target; --profile <name> sets profile. Highest priority. Both may be provided together.
  2. Profile from policy, target explicit — if only --target <name> is provided (no --profile), pass target to the test-runner skill; the skill resolves the profile from .orchestrator/policy/test-profiles.json or its default.
  3. Target from policy, profile explicit — if only --profile <name> is provided (no --target), pass profile to the test-runner skill; the skill resolves the target via convention-based detection.
  4. Positional token as profile — if a bare positional argument (no -- prefix) is present in $ARGUMENTS, treat it as profile. The test-runner skill resolves the target via convention.
  5. Session Config default — if the Session Config block contains test-runner.default-profile, use that value for profile. Target is still resolved by the skill via convention.
  6. Interactive AUQ — if no target or profile could be resolved from steps 1–5, proceed to the Profile Selection section below before invoking the skill.

Profile Selection

Only execute this section when steps 1–5 above produced neither target nor profile.

Present the user with a structured choice via AskUserQuestion:

AskUserQuestion({
  questions: [{
    question: "Which test profile should be run?",
    header: "Profil",
    options: [
      { label: "smoke (Recommended)", description: "Quick sanity pass — key flows, axe critical/serious, console errors. The fastest of the four; run it first." },
      { label: "full", description: "All checks at full depth — slower, used before release." },
      { label: "a11y", description: "Accessibility-focused pass — axe-core exhaustive scan." },
      { label: "onboarding", description: "Onboarding step-count + Liquid Glass conformance checks." }
    ],
    multiSelect: false
  }]
})

Set the user's selection as profile. The test-runner skill will resolve the target from convention.

Invoke Test-Runner Skill

Invoke the test-runner skill. Follow its instructions precisely.

Read skills/test-runner/SKILL.md and execute all phases in order. Do NOT skip Phase 0 (bootstrap gate). Do NOT inline driver artifact content into the coordinator context — all artifacts go to disk under the run directory.

Pass the following handoff contract to the skill entry point.

Handoff Contract

The six named arguments below are the canonical contract between this skill and skills/test-runner/SKILL.md. The skill reads them from context; do NOT reconstruct them inside the skill.

ArgumentTypeValue
targetstring | undefinedResolved target name, or undefined if not yet known (skill resolves via convention)
profilestring | undefinedResolved profile name, or undefined if not yet known (skill applies test-runner.default-profile or smoke)
dry_runbooleantrue if --dry-run was passed; false otherwise
explicit_targetbooleantrue if --target was present in $ARGUMENTS; false otherwise
explicit_profilebooleantrue if --profile was present in $ARGUMENTS; false otherwise
since_refstring | undefinedGit ref from --since <git-ref>, or undefined if not provided

The skill is the single source of truth for all further resolution, driver dispatch, evaluation, and issue reconciliation. Do NOT re-implement profile logic, driver selection, or issue triage here.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable. Surfaces shallow modules and hypothetical seams using a precise vocabulary (Module / Interface / Implementation / Depth / Seam / Adapter / Leverage / Locality from LANGUAGE.md).

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

Kanevry/session-orchestrator522026年10月26日 更新

autopilot

免费

Use this skill when running an autonomous session-orchestration loop. Chains session-start → session-plan → wave-executor → session-end for N iterations with all 10 kill-switches (SPIRAL, FAILED wave, carryover > 50%, max-hours, max-sessions, resource-overload, token-budget, stall-timeout, sub-threshold confidence, user-abort). Reads Mode-Selector output (Phase B) to decide auto-execute vs. fallback. Writes one autopilot.jsonl record per loop run. Phase C scaffold (issue #277); implementation lives in scripts/lib/autopilot.mjs (Phase C-1 follow-up).

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

Kanevry/session-orchestrator522026年10月26日 更新

bootstrap

免费

Use this skill when scaffolding the minimum repository structure required by session-orchestrator. Invoked automatically by the Bootstrap Gate when CLAUDE.md, Session Config, or bootstrap.lock is missing. Also available as /bootstrap for manual invocation. Three intensity tiers: fast (demos/spikes), standard (MVPs), deep (production/team).

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

Kanevry/session-orchestrator522026年10月26日 更新

Use when you have a feature idea but the scope or UX is still ambiguous — runs a lightweight Socratic design dialogue (3-5 AUQ rounds) and writes a spec markdown file. Use BEFORE /plan feature when product intent needs validation; skip to /plan feature when scope is already clear. HARD-GATE prevents any code work until the design is user-approved.

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

Kanevry/session-orchestrator522026年10月26日 更新

Use when detecting drift between CLAUDE.md (or AGENTS.md, the Codex CLI alias) / _meta narrative and live repository state. Ten checks: absolute-path resolution, 01-projects/ count claims, issue-reference freshness, session-file existence, command-count sync, session-config-parity (mandatory template keys = error, opt-in gaps = note, unknown local keys = warning), vault-dir-parity (CLAUDE.md vs AGENTS.md), generated-rule-staleness (WARN-only), rule-scoping (paths:/globs: frontmatter defects, dangling rule citations, zero-match globs), and docs-parity (docs/components.md count-claims vs on-disk counts, template-vs-reference config-key parity, stale .claude/metrics/ paths). Full per-check spec in the body table. Invoked as an opt-in session-end phase; mirrors vault-sync's lean JSON+exit-code contract.

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

Kanevry/session-orchestrator522026年10月26日 更新

close

免费

End session with verification, commits, and documentation

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

Kanevry/session-orchestrator522026年10月26日 更新

查看 Kanevry 的全部技能

报告此技能的问题