.agents/skills/implementation-strategy/SKILL.md
Decide how to implement runtime and API changes in openai-agents-js before editing code. Use when a task changes exported APIs, runtime behavior, schemas, tests, or docs and you need to choose the compatibility boundary, whether shims or migrations are warranted, and when unreleased interfaces can be rewritten directly.
npx skillsauth add openai/openai-agents-js implementation-strategyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill before editing code when the task changes runtime behavior or anything that might look like a compatibility concern. The goal is to keep implementations simple while protecting real released contracts and genuinely supported external state.
origin first, and only fall back to local tags when remote tags are unavailable:
LATEST_RELEASE_TAG="$(
git ls-remote --tags --refs origin 'v*' 2>/dev/null |
awk -F/ '{print $3}' |
sort -V -r |
head -n1
)"
if [ -z "$LATEST_RELEASE_TAG" ]; then
LATEST_RELEASE_TAG="$(git tag -l 'v*' --sort=-v:refname | head -n1)"
fi
printf '%s\n' "$LATEST_RELEASE_TAG"
main. If the command fell back to local tags, treat the result as potentially stale and say so.main but added after the latest release tag: not a semver breaking change by themselves. Rewrite them directly unless they already back a released or otherwise supported durable format.When this skill materially affects the implementation approach, state the decision briefly in your reasoning or handoff, for example:
Compatibility boundary: latest release tag v0.x.y; branch-local interface rewrite, no shim needed.Compatibility boundary: latest release tag v0.x.y; unreleased RunState snapshot rewrite, no shim needed.Compatibility boundary: released RunState schema; preserve compatibility and add migration coverage.business
Use when fixing invoice total calculations in the sandbox quickstart repository.
development
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
testing
Analyze CSV files in /mnt/data and return concise numeric summaries.
testing
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose high-impact tests, and confirm with the user before writing tests.