/claude-code-dev:enable-feedback-hooks [--disable]from claude-code-dev
Enables a Stop hook that captures conversation feedback for Product Forge improvements, saving locally for later review and sync.
Ships in claude-code-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Opt-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-hooks
Remove the hook from the current project:
/enable-feedback-hooks --disable
Session 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.sh
Check if .claude directory exists, create if needed:
mkdir -p .claude
Read 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.json
Remove 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/What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jpoutrin/product-forge --plugin claude-code-dev17 skills in this plugin
/create-agentCreate a new Claude Code agent with proper YAML frontmatter structure. Use when the user wants to add a specialized agent to a plugin. Handles agent file creation with name, description, tools, model selection, and color configuration.Other plugins' skills for the same job