Session state
Rest Assured skill pack for designing, implementing, documenting, and reporting API tests in Java and CI workflows.
npx -y skills add jovd83/restassured-skill --skill session-stateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when Codex needs to persist a durable resume checkpoint for Rest Assured API testing work so a human or later agent can see what is done, what is blocked, and exactly how to continue.
SKILL.md
4.0 KB, as published. Nobody here has run it
Persist Session State
1. Choose The File
- Prefer
docs/testing/session-state.mdin the target repository. - Use
.ai/session-state.mdonly when the repository already stores agent artifacts under.ai/. - Keep one active session-state file per workstream.
2. Start From The Template
- Copy the structure from session-state-template.md.
- Preserve all section headings.
- Replace placeholder text with concrete repo-specific state.
3. Record The Current State
- State the objective in one sentence.
- State the current status, last update time, active owner, and intended next owner.
- State the approved scope and exclusions.
- List the inputs used, including requirements, contracts, tickets, and environments.
- List the files created or changed.
- List the commands already run and their outcomes.
- List completed work.
- List remaining work in execution order.
- List blockers and open questions separately.
- List assumptions and risks explicitly.
4. Make The File Resumable
- Add the exact next command or first next step.
- Add the exact file or class that should be opened next.
- Add the exact verification step still required.
- Add a short
Resume Heresection that another agent can follow without re-reading the full thread.
5. Update It At The Right Times
- Update the file after major implementation steps.
- Update the file after each new test slice, coverage artifact, or contract-analysis expansion.
- Update the file before handing work back to a human.
- Update the file before stopping with blockers or unresolved failures.
- Update the file after changing scope, assumptions, or contracts.
- Update the file after every verification run that changes the known result, even when the run fails.
6. Keep It Honest
- Do not mark work complete unless the relevant files exist.
- Do not claim verification unless the command was actually run.
- Do not hide blockers inside assumptions.
- Do not delete unresolved questions; move them into the open-questions section.
- Do not let the session-state lag behind the actual scope by more than one major work item.
7. Examples
- Input:
Leave a checkpoint so another agent can resume the payments API work.Output: Create or updatedocs/testing/session-state.mdwith completed files, failed and pending commands, blockers, and the next exact step. - Input:
Summarize where you left off after this contract-analysis pass.Output: Update the session-state artifact with the analyzed contracts, unresolved mismatches, and the next coverage-planning step.
8. Troubleshooting
- Problem: The repository already has multiple ad hoc status files.
Fix: Consolidate the active state into one canonical session-state file and link older notes under
Inputs UsedorHistory. - Problem: The next agent cannot tell what was verified.
Fix: Add exact commands and outcomes under
Verification Run. - Problem: The work stopped because of a human decision.
Fix: Put the decision request under
Blockersand repeat it inResume Here. - Problem: The session-state still reflects an earlier slice after new tests or docs were added.
Fix: Reconcile
Scope,Files Created Or Changed,Verification Run, andRemaining Workimmediately before stopping.