Use when running tests. Shows how to run tests for a single package, including OpenSearch (ddb-os) tests when applicable.
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
yarn test packages/<package-name>yarn test:os packages/<package-name>Determine which commands to run based on the package. Source of truth: the storageOps key in each package's ci.config.json.
yarn test AND yarn test:osThese packages have storageOps: ["ddb", "ddb-os,ddb"]:
api-acoapi-audit-logsapi-file-managerapi-file-manager-acoapi-headless-cmsapi-headless-cms-acoapi-headless-cms-bulk-actionsapi-headless-cms-import-exportapi-mailerapi-schedulerapi-workflowstaskstestingyarn test:os (no standalone ddb)These packages have storageOps: ["ddb-os,ddb"] (no separate "ddb" entry):
api-dynamodb-to-elasticsearchapi-elasticsearch-tasksapi-headless-cms-ddb-esapi-headless-cms-es-tasksapi-opensearchyarn test onlyIf a package is not listed above, run only yarn test.
If the list seems stale, re-derive it:
# Packages with ddb-os support
grep -rl "ddb-os" --include="ci.config.json" packages/ | sort
# Then check each file's storageOps to see if "ddb" is also presentwebiny/webiny-js
3892f01
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.