Files
structured-website-builder-…/skills-scripts/ai-catalog-materialization-skill.md
T
2026-07-25 13:12:23 -06:00

46 lines
1.5 KiB
Markdown

# Skill: AI Catalog Materialization
## Contract
Create `public/.well-known/ai-catalog.json` as the small, public capability-discovery layer for the site.
The catalog must:
- follow AI Catalog schema version 1.0;
- identify the publishing domain;
- advertise only resources that are actually public and agent-usable;
- point to each resource's native public URL instead of duplicating it;
- remain separate from `ai-index.json`, which catalogs site knowledge rather than capabilities.
## Inputs
Read:
- `README.md`
- `public/ai-index.json`
- existing public agent, API, MCP, skill, and dataset manifests
- existing `public/.well-known/ai-catalog.json`, if present
## Materialize
Run:
```bash
python skills-scripts/build_discovery_files.py
```
Add an entry only when its public URL exists or the build process creates it. Do not invent endpoints, authentication, trust claims, attestations, or capabilities.
For this base builder, advertise `ai-index.json` as an AI-readable knowledge dataset. Add MCP servers, agents, APIs, packaged skills, or nested catalogs only when a converted site actually publishes them.
## Validate
Confirm that:
- the file is valid JSON at `/.well-known/ai-catalog.json`;
- `specVersion` is supported by the current schema;
- every entry has `identifier`, `displayName`, `type`, and exactly one of `url` or inline `data`;
- identifiers are stable, domain-anchored `urn:air` values;
- `representativeQueries` contains 2-5 realistic queries;
- every advertised URL is public and accurate.