94cfd80dd0
Meta-plugin for GitHub Copilot CLI that watches workflows and auto-generates reusable agent skills. - postToolUse hook: fingerprints and logs tool calls per session - sessionEnd hook: sliding-window pattern detection across sessions - sessionStart hook: injects context about proposed skills - /skill-factory slash command for reviewing/managing skills - 13 passing tests validating observer, analyzer, and edge cases Inspired by hermes-skill-factory (Romanescu11/hermes-skill-factory)
28 lines
688 B
JSON
28 lines
688 B
JSON
{
|
|
"version": 1,
|
|
"hooks": {
|
|
"postToolUse": [
|
|
{
|
|
"type": "command",
|
|
"matcher": "",
|
|
"bash": "root=\"${PLUGIN_ROOT:-${COPILOT_PLUGIN_ROOT:-.}}\"; node \"$root/bin/observer.js\" postToolUse",
|
|
"timeoutSec": 5
|
|
}
|
|
],
|
|
"sessionEnd": [
|
|
{
|
|
"type": "command",
|
|
"bash": "root=\"${PLUGIN_ROOT:-${COPILOT_PLUGIN_ROOT:-.}}\"; node \"$root/bin/observer.js\" sessionEnd",
|
|
"timeoutSec": 30
|
|
}
|
|
],
|
|
"sessionStart": [
|
|
{
|
|
"type": "command",
|
|
"bash": "root=\"${PLUGIN_ROOT:-${COPILOT_PLUGIN_ROOT:-.}}\"; node \"$root/bin/observer.js\" sessionStart",
|
|
"timeoutSec": 10
|
|
}
|
|
]
|
|
}
|
|
}
|