forked from Selig/openclaw-skill
Initial commit: OpenClaw Skill Collection
6 custom skills (assign-task, dispatch-webhook, daily-briefing, task-capture, qmd-brain, tts-voice) with technical documentation. Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"title": "My Custom Hook",
|
||||
"content": "This hook does something useful when you issue `/new`.\ntypescript theme={null}\nimport type { HookHandler } from \"../../src/hooks/hooks.js\";\n\nconst handler: HookHandler = async (event) => {\n if (event.type !== \"command\" || event.action !== \"new\") {\n return;\n }\n\nconsole.log(\"[my-hook] Running!\");\n // Your logic here\n};\n\nexport default handler;\nbash theme={null}",
|
||||
"code_samples": [
|
||||
{
|
||||
"code": "### 4. Create handler.ts",
|
||||
"language": "unknown"
|
||||
},
|
||||
{
|
||||
"code": "### 5. Enable and Test",
|
||||
"language": "unknown"
|
||||
}
|
||||
],
|
||||
"headings": [
|
||||
{
|
||||
"level": "h3",
|
||||
"text": "4. Create handler.ts",
|
||||
"id": "4.-create-handler.ts"
|
||||
},
|
||||
{
|
||||
"level": "h3",
|
||||
"text": "5. Enable and Test",
|
||||
"id": "5.-enable-and-test"
|
||||
}
|
||||
],
|
||||
"url": "llms-txt#my-custom-hook",
|
||||
"links": []
|
||||
}
|
||||
Reference in New Issue
Block a user