Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/authors_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Authors Schema",
"description": "Schema for authors.yml - maps GitHub usernames to author details",
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_-]+$": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Full display name of the author"
},
"website": {
"type": "string",
"format": "uri",
"description": "Author's website URL (optional)"
},
"avatar": {
"type": "string",
"format": "uri",
"description": "Avatar image URL (optional, defaults to https://github.com/username.png)"
}
},
"required": ["name"],
"additionalProperties": false
}
},
"additionalProperties": false
}
95 changes: 95 additions & 0 deletions .github/registry_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Registry Schema",
"description": "Schema for registry.yaml - cookbook metadata",
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title of the cookbook"
},
"description": {
"type": "string",
"description": "Brief description of the cookbook"
},
"path": {
"type": "string",
"description": "Path to the notebook file"
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9-]+$",
"description": "URL-friendly slug for the cookbook"
},
"categories": {
"type": "array",
"items": {
"type": "string",
"enum": [

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elie there are the categories I came up with, let me know if you think there's others we should add!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call it Multimodal instead of Images so that we can future proof.

Do you imagine "Tools" being tool use specific? Or more like "Capabilities"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, updated.

Tools was really just the tools feature.
image

All the 'capabilities' notebooks I have under RAG & Retrieval currently, that seemed to be closer to what a user might search. I found it hard to think of anything that wouldn't fall under a 'capability' especially now that there's multiple selections possible.

image

"Agent Patterns",
"Claude Agent SDK",
"Evals",
"Fine-Tuning",
"Images",
"Integrations",
"Observability",
"RAG & Retrieval",
"Responses",
"Skills",
"Thinking",
"Tools"
]
},
"minItems": 1,
"description": "Categories of the cookbook"
},
"github_url": {
"type": "string",
"format": "uri",
"description": "GitHub URL to the notebook"
},
"authors": {
"type": "array",
"items": {
"type": "string",
"description": "GitHub username (must match keys in authors.yml)"
},
"minItems": 1,
"description": "List of author GitHub usernames"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Publication date in YYYY-MM-DD format"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags for the cookbook"
},
"difficulty": {
"type": "string",
"enum": ["beginner", "intermediate", "advanced", ""],
"description": "Difficulty level (optional)"
},
"use_case": {
"type": "string",
"description": "Use case category (optional)"
},
"thumbnail": {
"type": "string",
"description": "Thumbnail image URL (optional)"
},
"archived": {
"type": "boolean",
"description": "Whether the cookbook is archived (optional, defaults to false)"
}
},
"required": ["title", "path", "categories", "authors", "date"],
"additionalProperties": false
}
}
Loading
Loading