added
This commit is contained in:
1 parent
ca73bd5690
commit
e1d8deb861
23 files changed
+1238
-6
No files matched your search
@@ -0,0 +1,45 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user