feat(kyberforge): add primitive-author for apm hooks, instructions and prompts
New skill that creates or improves an apm hook, instruction or prompt. Its SKILL.md holds the shared procedure (dispatch on primitive, boundary gate, create-or-improve, factory-audit close); one self-contained reference per primitive carries its gate, checklist and template, drawn from the microsoft-apm research docs and ADR-0029. forge gains a route row sending a hook, instruction or prompt to primitive-author through author-routes.md, and no longer lists hooks as unroutable. factory-audit's description adds the primitive-author boundary now that the target resolves. Fixes #94 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"hooks": {
|
||||
"FILL_IN_PascalCaseEvent": [
|
||||
{
|
||||
"matcher": "FILL_IN_matcher",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${PLUGIN_ROOT}/.apm/hooks/FILL_IN_script.sh",
|
||||
"timeout": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
description: "FILL IN: one sentence on what this rule governs"
|
||||
applyTo: "FILL IN: glob, e.g. **/*.{ts,tsx}"
|
||||
---
|
||||
|
||||
FILL IN: the rule, as direct second-person guidance. Put any rationale Claude needs here — the
|
||||
description above never reaches Claude.
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
description: "FILL IN: one user-facing action naming the skills it steers"
|
||||
input:
|
||||
- FILL_IN_name: "FILL IN: what the user supplies"
|
||||
---
|
||||
|
||||
FILL IN: the message the user would otherwise type, steering existing skills or agents by name.
|
||||
Use ${input:FILL_IN_name} where the value belongs.
|
||||
Reference in New Issue
Block a user