This commit is contained in:
Hanson.xyz Dev
2026-01-04 17:50:08 -06:00
parent 7e45ce0756
commit acc8ac87a0
4131 changed files with 232562 additions and 250244 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# Read JSON input from stdin and extract the prompt field
prompt=$(cat | jq -r '.prompt // empty')
# Check if the prompt ends with a question mark (ignoring trailing whitespace)
if echo "$prompt" | grep -qE '\?\s*$'; then
# Use JSON additionalContext for discrete injection (not shown to user)
cat <<'EOF'
{
"hookSpecificOutput": {
"hookEventName": "UserPromptSubmit",
"additionalContext": "STOP: This is a QUESTION. Suspend the current task, if any, and answer the question directly and concisely. Do NOT take any further actions, run any tools (except as necessary to answer the question), or continue previous work until instructed to 'resume' or otherwise continue the task. Wait for the user's next instruction."
}
}
EOF
fi
+53 -1
View File
@@ -29,7 +29,48 @@
"Bash(bd ready:*)",
"Bash(bd close:*)",
"WebFetch(domain:homeprozrealestate.com)",
"Bash(npm init:*)"
"Bash(npm init:*)",
"Bash(bd sync:*)",
"Bash(git push:*)",
"Bash(wp-content/plugins/mls-by-hansonxyz/includes/class-mls-query.php )",
"Bash(wp-content/plugins/mls-by-hansonxyz/mls-by-hansonxyz.php )",
"Bash(wp-content/themes/homeproz/archive-property.php )",
"Bash(wp-content/themes/homeproz/dist/ )",
"Bash(wp-content/themes/homeproz/inc/ajax-handlers.php )",
"Bash(wp-content/themes/homeproz/template-parts/property/property-filters.js )",
"Bash(wp-content/themes/homeproz/template-parts/property/property-filters.scss )",
"Bash(wp-content/themes/homeproz/template-parts/property/property-results.php)",
"Bash(/var/www/html/wp-content/themes/homeproz/archive-property.php )",
"Bash(/var/www/html/wp-content/themes/homeproz/dist/assets/main.css )",
"Bash(/var/www/html/wp-content/themes/homeproz/dist/assets/main.js )",
"Bash(/var/www/html/wp-content/themes/homeproz/template-parts/property/property-filters.js )",
"Bash(/var/www/html/wp-content/themes/homeproz/template-parts/property/property-filters.scss)",
"Bash(bd list:*)",
"Bash(.beads/ )",
"Bash(FEATURES_PENDING_12_15.md )",
"Bash(wp-content/plugins/mls-by-hansonxyz/ )",
"Bash(wp-content/themes/homeproz/front-page.php )",
"Bash(wp-content/themes/homeproz/inc/ )",
"Bash(wp-content/themes/homeproz/page-about.php )",
"Bash(wp-content/themes/homeproz/page-contact.php )",
"Bash(wp-content/themes/homeproz/src/main.js )",
"Bash(wp-content/themes/homeproz/template-parts/)",
"Bash(mv:*)",
"Bash(git -C /var/www/html log --oneline -5)",
"Bash(git -C /var/www/html add wp-content/plugins/mls-by-hansonxyz/includes/class-mls-db.php wp-content/plugins/mls-by-hansonxyz/includes/class-mls-query.php wp-content/plugins/mls-by-hansonxyz/mls-by-hansonxyz.php wp-content/plugins/mls-by-hansonxyz/data/ wp-content/themes/homeproz/inc/ajax-handlers.php wp-content/themes/homeproz/template-parts/property/property-filters.js wp-content/themes/homeproz/dist/assets/main.js)",
"Bash(npx playwright test:*)",
"WebFetch(domain:homeproz.dev.hanson.xyz)",
"Bash(python3:*)",
"Bash(git -C /var/www/html status --short wp-content/themes/homeproz/)",
"Bash(git -C /var/www/html diff --stat wp-content/themes/homeproz/template-parts/property/property-filters.js wp-content/themes/homeproz/template-parts/property/property-filters.scss wp-content/themes/homeproz/template-parts/property/property-filters-sticky.php)",
"Bash(git -C /var/www/html add wp-content/themes/homeproz/template-parts/property/property-filters.js wp-content/themes/homeproz/template-parts/property/property-filters.scss wp-content/themes/homeproz/template-parts/property/property-filters-sticky.php wp-content/themes/homeproz/dist/assets/main.css wp-content/themes/homeproz/dist/assets/main.js)",
"Bash(find:*)",
"WebFetch(domain:www.parkdental.com)",
"Bash(git -C /var/www/html status --short)",
"Bash(git -C /var/www/html add:*)",
"Bash(git -C /var/www/html diff --cached --stat)",
"Bash(git -C /var/www/html commit -m \"$\\(cat <<''EOF''\nAdd 6 reusable page templates with ACF integration\n\nIntroduces layout-focused templates for marketing pages:\n- Content with Sidebar: 70/30 grid with callout boxes\n- Alternating Blocks: Zigzag image/text sections\n- Service Detail: Hero + features grid + FAQ accordion\n- Card Grid: Configurable 2/3/4 column card layouts\n- Long-Form Article: Clean reading layout with related links\n- Landing Page: Conversion-focused with benefits and testimonial\n\nEach template has corresponding ACF field groups for content\nmanagement. Sample pages created under /page-template-examples/.\n\n🤖 Generated with [Claude Code]\\(https://claude.com/claude-code\\)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n\\)\")",
"Bash(cat:*)"
],
"deny": [],
"ask": []
@@ -56,6 +97,17 @@
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": ".claude/hooks/question-guard.sh"
}
]
}
]
}
}