agentleFS
farukzahrafarukzahra/agent-skills/skills/validate-before-share/SKILL.md

validate-before-share

Skill0 starsChanged 2 months agoMITView on GitHub

Verify URLs, previews, and endpoints yourself (HTTP 200, correct content) before sharing with the user. Use when about to send a link, deploy URL, local dev URL, or "open this to test".

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before sending the user any URL, preview, endpoint, build, or screen to open:

    line 12
  2. Distinctive:

    Do not say "try this link" or "should work" without evidence from step 1.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “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

Validate before share

Before sending the user any URL, preview, endpoint, build, or screen to open:

1. Verify yourself

  • HTTP GET (or equivalent) on the URL
  • Confirm 200 (or expected redirect chain ends OK)
  • Confirm content matches intent: page title, hero text, JSON shape — not a generic health stub alone when the user cares about the product UI

2. Only share after pass

Do not say "try this link" or "should work" without evidence from step 1.

3. On failure

Fix or restart the environment, re-validate, then share. Report the effective URL (including port or path if different from default).

4. Production vs local

ContextMinimum check
Local devTitle or documented health route
ProductionUser-facing URL from docs/commit-push.json or project docs; match expectTitle / expectInBody when configured
API onlyResponse body matches contract — not empty 200

Pair with finish-with-dev-server for local URLs after coding tasks.

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.