0

URL shortener service brief

agent-skillsapi-and-interface-design

The service needs public operations to create a short URL, resolve a slug, and read aggregate click statistics. Clients include a browser extension and a mobile app, so contracts must remain backward compatible.

Sign in to save downloads to your library and vote.

Preview

URL shortener service brief

The service needs public operations to create a short URL, resolve a slug, and read aggregate click statistics. Clients include a browser extension and a mobile app, so contracts must remain backward compatible.

Known constraints:

  • Destination URLs are supplied by untrusted users.
  • Slugs are six to twelve URL-safe characters.
  • A missing slug and an expired slug must be distinguishable to operators, but the public API must not expose internal storage details.
  • Statistics may be delayed by up to one minute.

Still undecided:

  • Whether callers may request custom slugs.
  • Whether links expire by default.
  • Whether statistics require authentication.

Ingestion metadata

Source catalog
agent-skills
Repository
addyosmani/agent-skills · main
File path
evals/fixtures/api-and-interface-design/service-brief.md
Last refreshed
7/23/2026, 10:39:07 PM (4h ago)
Refresh schedule
Daily · 03:00 UTC
Dedupe status
Unique · deduped by (source, url)