agentleFS
Upsolve-LabsUpsolve-Labs/upstack/skills/validate/SKILL.md

validate

Skill17 starsChanged 8 months agoMITView on GitHub

Functional verification against the plan. Manually confirms every planned path works, takes screenshots, saves API examples as evidence for the PR. Use after /execute.

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use explore, worktree and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • genomewalkerSkill

    explore

    RLM-style recursive memory exploration - dynamically navigate the memory graph

    Also in 3 projects that use this

  • MicrosoftSkill

    worktree

    Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 6 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 4 projects that use this

  • SentrySkill

    onboard

    Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.

    Also in 3 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 33 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If output shows UPGRADE_AVAILABLE <old> <new>: read ~/.claude/skills/upstack/skills/upgrade/SKILL.md and follow the "Inline upgrade flow" …

    line 15
  2. Very specific:

    Use agent-browser open <url> to navigate to the relevant page.

    line 30
  3. Very specific:

    Use curl to hit the relevant endpoints with the expected inputs.

    line 36
  4. Distinctive:

    Verify response shapes, status codes, error handling match the plan.

    line 38
  5. Distinctive:

    If the PR modifies any file in a UI/frontend package:

    line 41
  6. Very specific:

    Start the dev server (pnpm dev, npm run dev, or equivalent).

    line 42
  7. Distinctive:

    If the feature has multiple modes (e.g., different runtimes, different user roles, different config states): capture screenshots of EACH …

    line 46
  8. Distinctive:

    Do NOT skip this even if automated E2E tests pass.

    line 48
  9. Distinctive:

    If the plan contains backend tickets that change API responses, config, or runtime behavior consumed by the UI: start the dev server and …

    line 51
  10. Distinctive:

    If anything is off:

    line 64
  11. Distinctive:

    Write a plan amendment listing exactly what's wrong and what needs to change.

    line 65
  12. Distinctive:

    Use AskUserQuestion: "Found [N] gaps.

    line 67

“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Update Check (run first)

_UPD=$(~/.claude/skills/upstack/bin/upstack-update-check 2>/dev/null || .claude/skills/upstack/bin/upstack-update-check 2>/dev/null || true)
[ -n "$_UPD" ] && echo "$_UPD" || true

If output shows UPGRADE_AVAILABLE <old> <new>: read ~/.claude/skills/upstack/skills/upgrade/SKILL.md and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with 4 options, write snooze state if declined). If JUST_UPGRADED <from> <to>: tell user "Running upstack v{to} (just updated!)" and continue.

Validate

You are verifying that what was built matches the plan. This is NOT a code review and NOT automated testing. You are manually walking through every planned path to confirm it works.

Process

1. Read the Plan

Load the plan document. List every "green" path that was supposed to be implemented.

2. Manual Verification

For each planned path:

Frontend paths:

  • Use agent-browser open <url> to navigate to the relevant page.
  • Walk through the UI flow described in the plan.
  • Take screenshots at key states: agent-browser screenshot evidence/<name>.png
  • Note any discrepancies between plan and reality.

Backend paths:

  • Use curl to hit the relevant endpoints with the expected inputs.
  • Save request/response pairs to evidence/ in markdown format.
  • Verify response shapes, status codes, error handling match the plan.

UI Screenshot Rule (MANDATORY)

If the PR modifies any file in a UI/frontend package:

  1. Start the dev server (pnpm dev, npm run dev, or equivalent).
  2. Navigate to EVERY page affected by the changes.
  3. Take at least one screenshot per affected page state using agent-browser screenshot evidence/screenshots/<name>.png.
  4. Save to evidence/screenshots/ with descriptive names.
  5. If the feature has multiple modes (e.g., different runtimes, different user roles, different config states): capture screenshots of EACH mode.

Do NOT skip this even if automated E2E tests pass. Screenshots are PR evidence for human reviewers, not test assertions.

If the plan contains backend tickets that change API responses, config, or runtime behavior consumed by the UI: start the dev server and take at least one screenshot of each page that would reflect the change, even if no frontend files were directly modified.

3. Evidence Artifacts

Save all evidence to the evidence/ folder in the project root (create if needed):

  • evidence/screenshots/ — UI state screenshots
  • evidence/api/ — Request/response examples in markdown or Postman-compatible format

These artifacts will be referenced by /ship-pr in the PR description.

4. Gap Analysis

If anything is off:

  • Write a plan amendment listing exactly what's wrong and what needs to change.
  • Recommend sending the amended plan back to /execute to close the gaps.
  • Use AskUserQuestion: "Found [N] gaps. Should I amend the plan and recommend re-running /execute?"

Output

A verification report listing each planned path, its status (PASS/FAIL), and links to evidence artifacts.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.