feat(system): chore: add example skills from S64 fresh-eyes testing (#150)
Co-authored-by: @devpulse <devpulse@aipass>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: another_test
|
||||
description: TODO — describe what this skill does
|
||||
version: 1.0.0
|
||||
tags: []
|
||||
requires:
|
||||
pip: []
|
||||
bins: []
|
||||
config: []
|
||||
has_handler: true
|
||||
---
|
||||
|
||||
# another_test
|
||||
|
||||
## What This Does
|
||||
TODO
|
||||
|
||||
## When to Use
|
||||
TODO
|
||||
|
||||
## Steps
|
||||
1. TODO
|
||||
|
||||
## Example
|
||||
```
|
||||
TODO
|
||||
```
|
||||
@@ -0,0 +1,30 @@
|
||||
"""
|
||||
another_test skill handler
|
||||
|
||||
Called by: drone @skills run another_test <action> [args]
|
||||
"""
|
||||
|
||||
|
||||
def run(action, args=None, config=None):
|
||||
"""Execute a skill action.
|
||||
|
||||
Args:
|
||||
action: What to do
|
||||
args: Dict of action arguments
|
||||
config: Dict of resolved config values
|
||||
|
||||
Returns:
|
||||
{"success": bool, "output": str, "error": str|None}
|
||||
"""
|
||||
args = args or {}
|
||||
config = config or {}
|
||||
|
||||
if action == "example":
|
||||
return {"success": True, "output": "It works!", "error": None}
|
||||
|
||||
return {"success": False, "output": "", "error": f"Unknown action: {action}"}
|
||||
|
||||
|
||||
def get_actions():
|
||||
"""List available actions for this skill."""
|
||||
return ["example"]
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: full_test
|
||||
description: TODO — describe what this skill does
|
||||
version: 1.0.0
|
||||
tags: []
|
||||
requires:
|
||||
pip: []
|
||||
bins: []
|
||||
config: []
|
||||
has_handler: true
|
||||
---
|
||||
|
||||
# full_test
|
||||
|
||||
## What This Does
|
||||
TODO
|
||||
|
||||
## When to Use
|
||||
TODO
|
||||
|
||||
## Steps
|
||||
1. TODO
|
||||
|
||||
## Example
|
||||
```
|
||||
TODO
|
||||
```
|
||||
@@ -0,0 +1,7 @@
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: __init__.py - full_test apps package
|
||||
# Date: 2026-03-07
|
||||
# Version: 1.0.0
|
||||
# Category: skills/catalog/full_test/apps
|
||||
# =============================================
|
||||
@@ -0,0 +1,13 @@
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: __init__.py - full_test handlers package
|
||||
# Date: 2026-03-07
|
||||
# Version: 1.0.0
|
||||
# Category: skills/catalog/full_test/apps/handlers
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v1.0.0 (2026-03-07): Initial scaffold
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - Handlers layer: returns dicts, NEVER prints
|
||||
# =============================================
|
||||
@@ -0,0 +1,13 @@
|
||||
# ===================AIPASS====================
|
||||
# META DATA HEADER
|
||||
# Name: __init__.py - full_test modules package
|
||||
# Date: 2026-03-07
|
||||
# Version: 1.0.0
|
||||
# Category: skills/catalog/full_test/apps/modules
|
||||
#
|
||||
# CHANGELOG (Max 5 entries):
|
||||
# - v1.0.0 (2026-03-07): Initial scaffold
|
||||
#
|
||||
# CODE STANDARDS:
|
||||
# - Modules layer: orchestration (can print)
|
||||
# =============================================
|
||||
@@ -0,0 +1,24 @@
|
||||
"""
|
||||
full_test — Full 3-layer skill handler.
|
||||
|
||||
Scaffolded by: drone @skills create full_test --full
|
||||
"""
|
||||
|
||||
|
||||
def run(action: str, args: list, config: dict) -> dict:
|
||||
"""
|
||||
Execute the skill.
|
||||
|
||||
Args:
|
||||
action: The action to perform
|
||||
args: Command arguments
|
||||
config: Skill configuration from SKILL.md
|
||||
|
||||
Returns:
|
||||
dict with keys: success (bool), output (str), error (str|None)
|
||||
"""
|
||||
return {
|
||||
"success": True,
|
||||
"output": f"full_test executed action: {action}",
|
||||
"error": None,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: test_skill
|
||||
description: TODO — describe what this skill does
|
||||
version: 1.0.0
|
||||
tags: []
|
||||
requires:
|
||||
pip: []
|
||||
bins: []
|
||||
config: []
|
||||
has_handler: false
|
||||
---
|
||||
|
||||
# test_skill
|
||||
|
||||
## What This Does
|
||||
TODO
|
||||
|
||||
## When to Use
|
||||
TODO
|
||||
|
||||
## Steps
|
||||
1. TODO
|
||||
|
||||
## Example
|
||||
```
|
||||
TODO
|
||||
```
|
||||
Reference in New Issue
Block a user