Skip to content

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

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

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

Conversation

@JerryNee

@JerryNee JerryNee commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

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

  • 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 CLI setup guidance to use the current credential check command.
    • Clarified the recovery step shown when credential validation fails.
  • Tests

    • Added coverage to ensure the published guidance stays consistent across supported docs and avoids outdated command references.

@coderabbitai

coderabbitai Bot commented Jul 6, 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: 8fe57b7f-2bf8-4591-a8f7-9c7cf833c95a

📥 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

Documentation and skill files were updated to replace deprecated testsprite auth whoami and testsprite auth configure commands with testsprite auth status and testsprite setup, respectively, in preflight checks and failure guidance. A new test suite validates these updated strings across the docs template, skill, and codex assets.

Changes

Deprecated auth command replacement

Layer / File(s) Summary
Update preflight auth commands
docs/cli-v1-agent-install/skill-template.md, skills/testsprite-verify.skill.md, skills/testsprite-verify.codex.md
Preflight credential check changed from testsprite auth whoami to testsprite auth status, and failure guidance changed from testsprite auth configure to testsprite setup across the docs template and both skill files.
Content integrity test
src/lib/agent-targets.test.ts
New test suite checks that the docs template, skill body, and codex body all contain testsprite auth status and testsprite setup, and none contain the deprecated auth whoami or auth configure strings.

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 main change: updating verify skill auth commands.
Linked Issues check ✅ Passed The PR matches #201 by replacing deprecated auth aliases with auth status/setup and adds focused regression coverage.
Out of Scope Changes check ✅ Passed No unrelated changes are evident; the edits and tests directly support the requested skill-command update.
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