blender-motion-state-inspection
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
Use after code changes to choose and run validation commands for Node, JavaScript, TypeScript, Python, Go, Dart, Java, Kotlin, C++, Swift, or Objective-C projects. Prefer project-defined commands and report skipped checks and risks.
Use this Skill after code changes.
rtk is available, prefer rtk for non-reporting commands; for unit tests, API / integration tests, Playwright Web E2E, Maestro Mobile / Hybrid E2E, or any command that must generate report files, first apply the rtk and reporting-test Gate.rtk and Reporting-Test Gatertk is a command-output compression layer, not a test runner. Before executing validation commands, first distinguish between “only terminal facts are needed” and “file side effects must be produced.”
rtk.rtk only after confirming that rtk will not produce a cache hit, replay output, or skip the runner’s file-writing side effects for that command, and that the report path can be verified.rtk, verify that the expected report files exist, that their mtime / size changed after the current run, and that their contents correspond to the current command and case / spec / flow. If a file is missing, stale, empty, has mismatched contents, or the output shows a cache hit / replay / skipped write, immediately rerun with the native command and treat the native-command result and persisted reports as authoritative.rtk: used / skipped-for-report / fallback-native / not-available / not-needed, and explain the reason.Project validation is responsible for selecting and running commands such as lint / test / build / typecheck; it does not replace book-derived skills.
For production-path-related changes to services, APIs, background jobs, queues, external integrations, data pipelines, or deployment-sensitive components, after basic project validation you must proactively determine whether to invoke book-release-readiness. If validation exposes risks involving data consistency, migration, replay, idempotency, or cross-service data flows, return to book-ddia-data-design to complete the design / check conclusions before finishing.
This step records only the current task’s risks, validation gaps, and remaining risks; do not add task-unrelated refactoring or test frameworks because of the production risk review.
When the task adds or modifies user-visible behavior, or the diff contains .feature / persistent BDD specification paths, BDD consistency must be validated.
Return scenario authoring, review, or backfilling issues to the gherkin-bdd Skill; this Skill is responsible only for selecting and executing post-change validation and reporting risks.
Check in this order:
.feature / persistent BDD specifications has been followed and is consistent with the file contents:
.feature files, additions or modifications must follow the existing Gherkin language and keyword style of the same bounded context or functional area..feature files and the user has not explicitly requested another language, scenario titles, descriptions, and step text in new .feature files must be in Chinese by default; use English for Gherkin structural keywords..feature file must not be written in English.git diff --check to determine language correctness; manually review it, or use lightweight checks to help identify obvious violations..feature files, and a new .feature file contains no Chinese characters outside comments, tags, tables, doc strings, and structural keywords, with no user override or project-rule override, mark BDD as blocked and return to gherkin-bdd to correct the language first.@todo or a project-equivalent marker, the blocking reason, and temporary manual-validation instructions..feature, tests, and code conflict, return to specification alignment first; do not use validation results to conceal the conflict.Cross-repo context: complete / contract-only / environment-only / missing.Mock Strategy as blocked and do not generate tests using guessed mocks.The final output must state:
BDD: run / traceable / blocked / skipped..feature or persistent BDD specification paths.blocked.Cross-repo context: complete / contract-only / environment-only / missing; state not-needed if not relevant.API Contract: verified / user-provided / stale / missing / not-needed.Mock Strategy: none / contract-backed / user-approved / blocked.Apply references/validation-evidence-contract.md only when formal test reports must serve as PR evidence or be read by the knowledge base. Ordinary local diagnostics, unpublished debugging reports, and one-off troubleshooting do not require an evidence sidecar.
When the project has a configured product registry, invoke the decision entry point of knowledge-base-integration to determine the Evidence Contract, Intent, and Targets; do not infer the purpose from report directories, branch names, or arbitrary CI environments. Knowledge-server smoke is generated by that Skill’s smoke entry point as a P1.1 bundle; this Skill remains responsible for project-native validation and the report-quality Gate. P1.1 accepts only runner reports newly created or refreshed after the current command began and same-stem Chinese Markdown; the aggregate envelope must reference the artifact manifest, checksums, and actual runner attestation. Evidence must not be marked as passed when it is stale, missing, not in Chinese, has inconsistent stems, has inconsistent report checksums / digests, fails schema / semantic validation, or comes from an untrusted environment.
Evidence Source: developer-local; evidence generated by a CI runner uses Evidence Source: ci; independent revalidation by the knowledge-base server uses Evidence Source: knowledge-server. These three must not overwrite or impersonate one another.branch_slug is used only for filenames and is not a code-version identifier.Source Revision: dirty and Evidence Publication: local-only; it cannot serve as formal proof of the PR head.developer-local and ci.ci evidence must come from a clean checkout and use Source Revision: exact. CI execution does not mean the evidence has been published: mark it published only after the target system receives it, not-configured when no publisher is configured, and blocked when publication is required but fails; CI evidence must not be marked local-only.Environment Alignment. When a target branch such as staging is specified, resolve it to an exact SHA before running..feature files are not required to add Feature IDs or Scenario IDs. Identify behavior sources using the repository key, feature path, Feature / Rule / Scenario name, optional Examples fingerprint, source ref, and SHA.references/validation-evidence.schema.json (schemaVersion: 1). v1 featureSources[] plus reports[] co-membership is not BDD traceability. The v1 Schema only checks digest shape; producers and consumers must recompute each referenced report SHA-256 against file bytes and reject mismatches.references/validation-evidence.v2.schema.json and scripts/validate_validation_evidence.py. The validator must parse SHA-verified junit-xml-v1 or playwright-json-v1 bytes and require the matched passed case to carry sbtd.sourceLocatorDigest equal to the recomputed locator. HTML/TXT/arbitrary JSON and sidecar labels alone fail closed..evidence.json in the same directory; a cross-tool orchestrator may also generate one aggregate envelope in an isolated runtime / evidence bundle. Every envelope must pass the matching Schema, and v2 envelopes must also pass the semantic validator.published only means that the target system has received the evidence; it does not mean the tests passed, and smoke-only, contract-backed, mock-backed, or app-mocked must not be promoted to full-stack.For relevant tasks, additionally report in the final output:
Evidence Source: developer-local / ci / knowledge-server / not-needed.Source Revision: exact / dirty / unknown / not-needed.Environment Alignment: verified / unverified / mismatch / not-needed.Evidence Publication: local-only / published / blocked / not-configured / not-needed.After modifying Web UI, routes, forms, login state, permissions, cross-page flows, API integration, release flows, Mobile App user journeys, Hybrid Apps, or critical user paths, you must proactively determine whether Chrome DevTools MCP, Playwright MCP, Playwright CLI, Maestro CLI, Maestro MCP, and web-ui-autotest-generator are applicable, according to the tool-responsibility boundaries in the global / project-level AGENTS.md.
This Skill is responsible only for the validation-stage gate:
E2E Mode: full-stack / contract-backed / mock-backed / app-mocked / smoke-only / backend-only / blocked. mock-backed, app-mocked, or contract-backed tests prove only that the corresponding contract / mock assumptions hold and must not be reported as passing full-stack validation.tests/api/reports/. If the runner requires a temporary output directory that will be cleared or overwritten by the next run, use tests/api/reports/.api-current/ by default, then copy / promote the output after the run to a report containing the current branch branch_slug and timestamp. If a custom API script only writes to the terminal, it counts only as a diagnostic; if it is part of formal validation for the current run, capture stdout, stderr, and the exit code as a raw report under tests/api/reports/.api-current/, then promote it to tests/api/reports/ and generate a same-stem Chinese Markdown summary.method + URI path, and record the corresponding test script / case, expected status code or side effect, and associated .feature / contract / schema basis. When multiple endpoints support the same coverage scope, list each on a separate row; Base URL, environment name, and service name may be recorded separately, but script names, domain names, or high-level coverage summaries must not replace the URI path. Do not include real accounts, tokens, sensitive query/body data, or production data.--reporter=list may only be used for diagnostics or targeted reruns; when Web E2E is within the formal validation scope, before finishing you must rerun the planned scope without overriding the project reporter, or mark the report status as blocked.tests/e2e/reports/html/ by default, unless the project’s Playwright configuration has a stronger convention; the default outputFolder for the Playwright HTML reporter is the runner temporary directory tests/e2e/reports/.playwright-html-current/. That directory may be cleared by each Playwright run and may only serve as an intermediate artifact or source of tool-compatible artifacts; only the named HTML is the formal report.maestro test flows and report MCP status separately.maestro-mobile-e2e and confirm that committable flow assets are located under maestro/flow/..maestro/reports/ at the project root; by default, generate only one native report format required by the project, named maestro-report-{flow_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.xml or maestro-report-{flow_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.html. flow_name is the Maestro flow filename stem, and smoke flows use smoke; generate HTML only when the project or user needs a human-readable report. Prefer having Maestro write directly to a file containing the branch name and timestamp; if a project wrapper command can only write to a directory that is rebuilt, use .maestro/reports/.maestro-current/ as a temporary directory, then copy / promote the output to the formal report name. A stdout-only Maestro run may only be used for diagnostics or targeted reruns; when Mobile / Hybrid E2E is within the formal validation scope, before finishing you must use --format / --output or a project-equivalent reporter to generate a named report, or mark the report status as blocked.maestro-mobile-e2e lazily load the lesson by tag / keyword and apply the fix, then rerun the smallest failing flow.web-ui-autotest-generator only when Web UI regression must be persisted as in-repository test assets; when the environment, account, data preparation, cleanup strategy, or selectors are unstable, output only coverage gaps and blocking explanations.web-ui-autotest-generator, you must follow this path contract to prevent its examples or script defaults from writing JSON to the project root:
generate_manifest.py --root . --out tests/e2e/manifest/ui-test-manifest.json --prettyaudit_selectors.py --root . --out tests/e2e/manifest/ui-selector-audit.json --prettycheck_coverage.py --root . --manifest tests/e2e/manifest/ui-test-manifest.json --selector-audit tests/e2e/manifest/ui-selector-audit.json --tests-dir tests/e2e --out tests/e2e/manifest/ui-test-coverage.json --prettyanalyze_failures.py --report tests/e2e/reports/results.json --out tests/e2e/manifest/ui-test-repair-plan.json --prettyweb-ui-autotest-generator, verify that the committable JSON assets are actually located under tests/e2e/manifest/: ui-test-manifest.json, ui-selector-audit.json, and ui-test-coverage.json.ui-test-manifest.json, ui-selector-audit.json, or ui-test-coverage.json exists in the project root, validation must not be marked complete; first move it to tests/e2e/manifest/ and update references, or mark Web UI test assets as blocked and explain why.ui-test-repair-plan.json is a failure-analysis runtime artifact; if generated, the default path to check is tests/e2e/manifest/ui-test-repair-plan.json, and confirm that it will not be mistakenly committed as a long-lived test asset.blocked or skipped; do not claim that the corresponding validation passed.In the final output, report the relevant tool statuses, executed commands, failure or blocking reasons, generated files, and remaining risks using the status enums defined by the global / project-level AGENTS.md.
When API, Web E2E, Mobile E2E, Hybrid E2E, or pre-release smoke enters formal validation, follow the report and rerun rules below. Existing project CI / reporter configuration takes precedence; this template defines only default behavior and final report semantics.
Report rules:
playwright-report-*, maestro-report-*, api-report-*, or unit-report-* snapshots from the same task. stdout-only, terminal-only, and diagnostic-only commands cannot satisfy the final report gate: Playwright --reporter=list, custom API scripts that only print terminal output, and Maestro runs without --format / --output or a project-equivalent reporter may only be recorded as diagnostics or targeted reruns. The final status is based only on the last planned-scope run recorded as Final Full Rerun.rtk decision: skipped-for-report means the native command was used directly to ensure the runner wrote report files; fallback-native means rtk output or cache behavior caused the report to be missing, stale, or unprovable, so the native command was used for revalidation. Do not declare that a report was generated or tests passed solely from rtk cache / replay output.tests/e2e/reports/html/ by default, not the parent directory containing results.json, and not the temporary outputFolder of the Playwright HTML reporter. Final Test Report: generated only means the report file exists; whether the final result is fully green is recorded by Final Full Rerun.tests/api/reports/, and temporary API output uses tests/api/reports/.api-current/; temporary Playwright HTML reporter output uses tests/e2e/reports/.playwright-html-current/, and formal Playwright HTML report snapshots use tests/e2e/reports/html/; formal Maestro snapshots use .maestro/reports/, with temporary output using .maestro/reports/.maestro-current/ when necessary; formal unit-test reports inherit project configuration by default, and when no convention exists but local evidence is required, use tests/unit/reports/, with temporary output using tests/unit/reports/.unit-current/ when necessary.detached-{short_sha} for detached HEAD; use unknown-branch outside a git environment. Use branch_slug when generating filenames: retain only letters, digits, ., _, and -, and replace /, spaces, and other special characters with _; record the original branch name and branch_slug in the Markdown summary.branch_slug as version identity.coverage/, test-results/, fixed junit.xml, runner current / latest directories, and the dot-prefixed temporary directories above are all considered runner-managed output. They may be cleared, overwritten, or rebuilt before the next run; when they must be retained, first copy / promote them to a formal snapshot directory with a timestamped stem before starting another command that rewrites the same runner output.playwright-report-{feature_file_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.html + playwright-report-{feature_file_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.md. By default, feature_file_name is the associated BDD .feature filename without its extension; smoke tests always use smoke; when one run covers multiple .feature files, prefer an explicit suite name, otherwise use multi-feature. If it is not a smoke test and cannot be traced to a BDD .feature, do not invent a filename; first mark BDD traceability as blocked.maestro-report-{flow_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.xml or maestro-report-{flow_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.html, and generate maestro-report-{flow_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.md. flow_name is the Maestro flow filename stem, smoke flows use smoke, and it must not be changed to feature_file_name; record the source .feature path and scenario name in the Markdown summary.index.html, after every run that must be retained, copy it from tests/e2e/reports/.playwright-html-current/ to the formal report name above; the named HTML is the formal report. Formal reports must not be stored in .playwright-html-current/, because the next Playwright run may clear that directory. The Markdown summary must have exactly the same stem as the named HTML; do not use the stem of results.json, junit.xml, test-results/, or the default index.html as the final Markdown filename. results.md, result.md, junit.md, and index.md do not satisfy Run Summary MD: generated. If Playwright has produced results.json, junit.xml, or an equivalent result but no index.html, rerun according to project configuration or enable the HTML reporter; do not substitute JSON / JUnit reports for the named HTML and same-stem .md. If the HTML reporter directory contains data/, traces, attachments, or other relative resources, copy the complete resource directory as well, or generate a complete snapshot directory with playwright-report-{feature_file_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}/index.html as its entry point and have the Markdown summary point to that entry point.api-report-{suite_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.xml / .json / .txt + api-report-{suite_name}-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}.md; when there is no explicit suite, use the stem api-report-{branch_slug}-{YYYY_mm_dd}-{HH_MM_SS}. If an API / integration command has no native reporter but still serves as formal validation evidence for the current run, capture stdout, stderr, exit code, executed command, and timestamp as a .txt or .json raw report; do not merely paste terminal results into the final response.blocked or missing-uri; do not present vague coverage descriptions as a complete report.unit-report-{suite_name}-{YYYY_mm_dd}-{HH_MM_SS}.xml / .json / .html / .lcov + unit-report-{suite_name}-{YYYY_mm_dd}-{HH_MM_SS}.md. Unit tests are not required to generate formal reports on every run; however, once a project command or CI-compatible command has generated a report that must be retained for the current run, do not rely only on a fixed coverage or JUnit path that will be rewritten by the next run.Final Test Report and Run Summary MD as blocked and explain the reason they are missing; once the runner has produced a native artifact, Run Summary MD must not be marked not-needed.Failure handling and rerun order:
.feature, same API endpoint, same page flow, same test file, same Maestro flow, or same-platform smoke.The Markdown summary must record:
E2E Mode, Mock Strategy, original branch name, branch_slug, .feature paths, and scenario names.Evidence Source, repository key, original source ref, full commit SHA, worktree state, Source Revision, trigger, Environment Alignment, Evidence Publication, and the evidence sidecar / envelope path.method + URI path, and identifies the corresponding test script / case and contract / schema / .feature basis.Before writing an agent-authored formal execution summary, load the canonical run-summary template. Keep its nine level-two sections in the given order. Fill tables from the current native/raw evidence; do not replace the result table with an inline JSON object, collapse the report into long paragraphs, or move essential commands, results and limitations exclusively into another private final.md. This layout is shared by API, unit, Web, mobile and hybrid execution summaries; it changes neither existing report names nor evidence schemas.
{{...}} field. Unsupported counts are 未提供(原因), not invented zeros; skipped, flaky and unrun cases remain distinct under the runner's actual semantics. Preserve native status labels when normalization would lose meaning.不适用:原因 instead of empty tables or placeholder rows. In particular, do not invent BDD traceability or API URI coverage for unit/UI-only runs. Only API/integration scope requires the URI matrix.Run Summary MD: generated, verify the section order, absence of unfilled fields, native/report stem pairing, case/count/exit-code agreement, failed-round retention, source and environment identity, and privacy redaction. A formatted document alone proves neither a test pass nor exact revision alignment.历史证据排版预览,未重新执行测试; it does not refresh timestamps, SHA, deployment status or final-run evidence. Preserve project-native/generated summaries as source artifacts; when they do not follow this layout, the agent-authored companion uses it without modifying the runner.Additionally report in the final output:
Final Test Report: generated / blocked / not-supported / not-needed.Run Summary MD: generated / blocked / not-needed.Targeted Rerun: passed / failed / blocked / not-needed.Final Full Rerun: passed / failed / blocked / skipped-with-risk / not-needed.Evidence Source: developer-local / ci / knowledge-server / not-needed.Source Revision: exact / dirty / unknown / not-needed.Environment Alignment: verified / unverified / mismatch / not-needed.Evidence Publication: local-only / published / blocked / not-configured / not-needed.For every language, prefer commands defined by the project’s existing CI, README, Makefile, package scripts, Gradle / Maven wrapper, Xcode scheme, CMake preset, or deeper AGENTS.md. The commands below are only candidates when the project has no explicit convention.
During validation, also state:
tests/unit/reports/ before being referenced as evidence.Prefer the project package manager and CI scripts; do not switch package managers. Common commands:
Preferred for non-reporting commands such as lint / typecheck / build:
rtk npm run lint
rtk npm run typecheck
rtk npm run build
First apply the rtk and reporting-test Gate to test commands; when reports must be persisted, prefer:
npm run test
Fallback:
npm run lint
npm run typecheck
npm run build
Run typecheck when modifying:
If the project has no typecheck script, do not invent one; record it as undefined and run the type-checking or build command actually available in the project.
Preferred for non-reporting commands such as lint / format / typecheck:
rtk ruff check .
rtk ruff format .
rtk ty check .
First apply the rtk and reporting-test Gate to test commands; when reports must be persisted, prefer:
uv run pytest
Fallback:
uv run ruff check .
uv run ruff format .
uv run ty check .
Rules:
ruff check.ruff format.ty check.pytest.pyproject.toml, uv.lock, pytest.ini, or ruff.toml.mypy, pyright, tox, nox, coverage, or a test matrix defined by CI, prefer the project commands.First apply the rtk and reporting-test Gate to test commands; when reports must be persisted, prefer:
go test ./...
Rules:
gofmt.go vet ./....go mod tidy only when dependencies change.go.mod or go.sum without reason.Prefer the project’s Flutter / Dart CI, Melos, Makefile, or package scripts.
Common candidates, where format / analyze may prefer rtk, and test must first apply the rtk and reporting-test Gate:
rtk dart format --set-exit-if-changed .
rtk dart analyze
dart test
Common candidates for Flutter projects:
rtk flutter analyze
flutter test
Rules:
Prefer the project wrapper and CI tasks; do not bypass Gradle / Maven configuration.
Common Gradle candidates, where test commands must first apply the rtk and reporting-test Gate and native commands are preferred when reports must be persisted:
./gradlew test
./gradlew check
Common Maven candidates:
mvn test
mvn verify
Rules:
Prefer the project’s Gradle wrapper, Android Gradle Plugin, Kotlin Multiplatform, or CI tasks.
Common candidates, where test commands must first apply the rtk and reporting-test Gate and native commands are preferred when reports must be persisted:
./gradlew test
./gradlew check
Common candidates for Android projects:
./gradlew testDebugUnitTest
Rules:
Prefer the project’s CMake preset, Makefile, Bazel, Ninja, CTest, or CI commands; do not temporarily refactor the build system for validation.
Common candidates:
rtk cmake --build build
ctest --test-dir build --output-on-failure
Rules:
clang-format, clang-tidy, cppcheck, or equivalent static checks.Prefer SwiftPM, Xcode scheme, xcodebuild, XcodeBuildMCP, or CI configuration.
Common SwiftPM candidates, where test commands must first apply the rtk and reporting-test Gate and native commands are preferred when reports must be persisted:
swift test
Common Xcode candidates:
xcodebuild test -scheme <scheme> -destination <destination>
Rules:
swift format, or equivalent lint / format gate.Prefer the Xcode workspace / project, scheme, xcodebuild, XcodeBuildMCP, or CI configuration.
Common candidates:
xcodebuild test -scheme <scheme> -destination <destination>
Rules:
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
ANanthropics/skills203k近 7 天新增 2,822 个 star
HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,401 个 star
SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 818 个 star
GAgarrytan/gstack143k近 7 天新增 524 个 star