chore: reorganize examples and templates into examples/ by type (#54)
- Move example skills to examples/skills/
- Move scaffolding templates to examples/{agents,hands,channels,plugins,providers,integrations,skills}/
- Remove legacy skill.toml from example skills; SKILL.md is the canonical format
- Delete top-level templates/ directory
This commit is contained in:
14 files changed
-44
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,24 +0,0 @@
|
||||
## Custom Prompt Skill Example
|
||||
##
|
||||
## The prompt body and metadata (name, description) live in SKILL.md.
|
||||
## This skill.toml only declares the runtime, input schema, and optional
|
||||
## metadata that don't fit in Markdown frontmatter.
|
||||
##
|
||||
## To test: librefang skill test ./skills/custom-skill-prompt \
|
||||
## --input '{"topic": "Q1 planning", "duration_minutes": "30"}'
|
||||
##
|
||||
## For the full reference, see: docs/skill-development.md
|
||||
|
||||
[skill]
|
||||
name = "meeting-agenda"
|
||||
version = "0.1.0"
|
||||
description = "Generate a structured meeting agenda from a topic and duration."
|
||||
author = "your-name"
|
||||
tags = ["meeting", "productivity", "example"]
|
||||
|
||||
[runtime]
|
||||
type = "promptonly"
|
||||
|
||||
[input]
|
||||
topic = { type = "string", description = "The meeting topic", required = true }
|
||||
duration_minutes = { type = "string", description = "Meeting duration in minutes", required = true }
|
||||
@@ -1,20 +0,0 @@
|
||||
## Custom Python Skill Example
|
||||
##
|
||||
## This skill counts words in a given text and returns basic statistics.
|
||||
## To test: librefang skill test ./examples/custom-skill-python --input '{"text": "Hello world"}'
|
||||
##
|
||||
## For the full reference, see: docs/skill-development.md
|
||||
|
||||
[skill]
|
||||
name = "word-counter"
|
||||
version = "0.1.0"
|
||||
description = "Count words, sentences, and characters in text."
|
||||
author = "your-name"
|
||||
tags = ["text", "utility", "example"]
|
||||
|
||||
[runtime]
|
||||
type = "python"
|
||||
entry = "main.py"
|
||||
|
||||
[input]
|
||||
text = { type = "string", description = "The text to analyze", required = true }
|
||||
Reference in new issue
Block a user