Rendering Requirements
Each page or feature area has a normative rendering requirement:The version selector on the package detail page must update without a full-page reload. All other behavior on the package detail page must be available without JavaScript.
URL Inventory
Public Pages
Authenticated Pages
Auth Endpoints
Admin Pages
Page Details
Home (/)
- Hero section with search bar
- “Featured” packages (editorially curated or algorithmically ranked)
- “New packages” — 6 most recently published
- Platform quick-filters: buttons for each APM moniker
- Stats: total packages, total downloads, total platforms supported
Search Results (/search)
- Filter sidebar: capability checkboxes, APM checkboxes, prerelease toggle
- Result cards: icon, id, title, description snippet, capabilities, download count, publish date
- Pagination
- Sort options: Relevance, Downloads, Recently Updated
Package Version Detail (/packages/{id}/{version})
- README tab: renders embedded README (sanitized HTML from Markdown)
- Manifest tab: shows the
.aispecJSON, syntax-highlighted - Version history tab: all versions with dates and download counts
Upload Wizard (/packages/upload)
Multi-step flow:
1
Select file
File drop / select
.aipkg file.2
Review manifest
Parsed fields shown for confirmation.
3
Additional metadata
Tags, project URL (if not in manifest).
4
Permissions review
Shows any permissions declared in the package.
5
Confirm and publish
Final confirmation; shows progress indicator during upload.
API Keys (/account/api-keys)
- List of active keys (masked)
- Create new key: name, scopes, expiry, package glob
- Revoke key
- Copy newly created key (shown once)
Performance Targets
Accessibility
- WCAG 2.1 AA target
- All interactive elements keyboard-navigable
aria-labelon icon-only buttons- Color contrast ratio ≥ 4.5:1 for normal text
- Focus indicators visible
SEO
All public server-rendered pages must include:<title>{Package ID} · AI•Pkg.org</title><meta name="description">from package description- Open Graph tags:
og:title,og:description,og:image(package icon) - Structured data (JSON-LD):
schema.org/SoftwareApplicationfor package detail pages - Canonical URL
<link rel="alternate" type="application/json">pointing to registration JSON
/sitemap.xml — generated endpoint listing all listed packages and platform pages; updated nightly by a background job.