Enable feedback capture hooks for the current project
59
42%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/claude-code-dev/skills/enable-feedback-hooks/SKILL.mdOpt-in the current project to capture feedback for Product Forge improvements.
When enabled, at the end of each Claude Code session:
~/.claude/learnings/ for later reviewAdd the Stop hook to .claude/settings.local.json:
/enable-feedback-hooksRemove the hook from the current project:
/enable-feedback-hooks --disableSession ends → Haiku analyzes → Saves to ~/.claude/learnings/
↓
Use /sync-feedback to review/sync-feedbackWhen the user runs this command:
Initialize learnings directory if needed:
~/.claude/plugins/cache/product-forge-marketplace/scripts/hooks/init-learnings.shCheck if .claude directory exists, create if needed:
mkdir -p .claudeRead existing settings.local.json or create empty structure:
# If exists, read it
cat .claude/settings.local.json 2>/dev/null || echo '{}'Add the Stop hook configuration:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Analyze this session for Product Forge feedback. Identify:\n1. Improvements to existing skills/commands/agents\n2. New skill/command ideas\n3. Bug reports\n4. Reusable patterns\n\nRespond JSON: {\"feedback\": [{\"type\": \"improvement|skill-idea|command-idea|bug-report|pattern\", \"title\": \"...\", \"description\": \"...\", \"target\": \"plugin/component\"}]} or {\"feedback\": []}",
"timeout": 60
},
{
"type": "command",
"command": "python3 ~/.claude/plugins/cache/product-forge-marketplace/scripts/hooks/save-feedback.py",
"timeout": 10
}
]
}
]
}
}Confirm success:
Feedback hooks enabled for this project.
At the end of each session, Haiku will analyze the conversation
for improvement opportunities and save them to ~/.claude/learnings/
Use /sync-feedback to review and submit feedback to Product Forge.Read existing settings.local.json:
cat .claude/settings.local.jsonRemove the Stop hook while preserving other settings
Write back the modified settings
Confirm:
Feedback hooks disabled for this project.
Existing feedback in ~/.claude/learnings/ is preserved..claude/settings.local.json (not committed to git)~/.claude/learnings/0ebe7ae
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.