Skip to content

fix(agent): update verify skill auth commands#216

Open
JerryNee wants to merge 1 commit into
TestSprite:mainfrom
JerryNee:fix/verify-skill-auth-commands
Open

fix(agent): update verify skill auth commands#216
JerryNee wants to merge 1 commit into
TestSprite:mainfrom
JerryNee:fix/verify-skill-auth-commands

Conversation

@JerryNee

@JerryNee JerryNee commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Replaces accidentally closed PR #202.

Updates the canonical TestSprite verify skill assets to use the current auth/setup command names:

  • testsprite auth status for preflight credential checks
  • testsprite setup for missing-credential guidance

This avoids newly installed coding-agent skills teaching deprecated aliases (auth whoami / auth configure) and keeps the docs template, packaged generic skill, and Codex skill aligned.

Related issue

Fixes #201

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Testing

Previously validated on the original PR branch with:

  • npm test -- src/lib/agent-targets.test.ts
  • npm run typecheck
  • npm run format:check
  • npm run lint
  • NO_COLOR= npm test

Notes for reviewers

Added content-integrity coverage across the docs template, own-file skill body, and Codex skill body to prevent deprecated auth aliases from returning.

Summary by CodeRabbit

  • Documentation

    • Updated the verification steps to use the current credential check command and matching recovery guidance.
    • Clarified what to do when credentials are not set up so users can get back on track quickly.
  • Tests

    • Added coverage to ensure the published guidance stays consistent across the main documentation sources.
    • Verified the updated command wording appears everywhere and the older wording no longer does.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 0b7f1a63-4d4e-4442-89ac-d98dbb9cb581

📥 Commits

Reviewing files that changed from the base of the PR and between 3305dfa and 10f6c86.

📒 Files selected for processing (4)
  • docs/cli-v1-agent-install/skill-template.md
  • skills/testsprite-verify.codex.md
  • skills/testsprite-verify.skill.md
  • src/lib/agent-targets.test.ts

Walkthrough

Three skill documentation files were updated to replace deprecated auth command references (testsprite auth whoami, testsprite auth configure) with current commands (testsprite auth status, testsprite setup) in preflight checks and failure guidance. A new test suite validates these command strings across the docs template and rendered skill bodies.

Changes

Deprecated auth command replacement

Layer / File(s) Summary
Update auth commands in skill template and skill bodies
docs/cli-v1-agent-install/skill-template.md, skills/testsprite-verify.skill.md, skills/testsprite-verify.codex.md
Preflight credential check command changed from testsprite auth whoami to testsprite auth status; failure guidance changed from testsprite auth configure to testsprite setup.
Content-integrity test for auth commands
src/lib/agent-targets.test.ts
New test suite checks docs template, rendered skill body, and Codex skill body for presence of updated commands and absence of deprecated commands.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: ruili-testsprite, zeshi-du

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the change to update verify skill auth commands.
Linked Issues check ✅ Passed The PR updates all requested skill assets to use auth status/setup and adds tests to block deprecated aliases.
Out of Scope Changes check ✅ Passed The new test coverage is directly tied to the issue and no unrelated changes are evident.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Hackathon] verification skill should stop teaching deprecated auth commands

1 participant