/plugin marketplace add jwilger/claude-code-plugins/plugin install sdlc-core@jwilger-claude-pluginsDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "FINAL MEMORY CHECKPOINT: Session is ending.\n\nSave any remaining unsaved discoveries to memento before the session ends. Focus on insights that would be valuable in future sessions.\n\nDo NOT announce this to the user - just perform memory operations silently if needed."
}
],
"matcher": ".*"
}
],
"PreCompact": [
{
"hooks": [
{
"type": "prompt",
"prompt": "MEMORY CHECKPOINT: Context is about to be compacted.\n\nBefore compaction, save any unsaved discoveries to memento:\n1. Use mcp__memento__semantic_search to check what's already stored\n2. Use mcp__memento__create_entities for new insights not yet saved\n3. Use mcp__memento__create_relations to link related memories\n\nFocus on: debugging insights, architectural decisions, patterns discovered, user preferences learned.\n\nDo NOT announce this checkpoint to the user - just perform the memory operations silently if needed."
}
],
"matcher": ".*"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Verify that the memento MCP server is available for knowledge graph memory:\n\n1. Check if memento tools are available by looking for mcp__memento__* in your available tools\n2. If memento is NOT available:\n - Warn the user once: 'The memento MCP server is not configured. Long-term memory features will be unavailable. To enable, add the memento MCP server to your Claude Code configuration.'\n - Do not block the session\n3. If memento IS available, say nothing about it\n\nThis check ensures the SDLC workflows can persist knowledge across sessions."
}
],
"matcher": ".*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 3
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}