Skip to content

fix: entire hook compatibility and test updates#1185

Open
le-dawg wants to merge 322 commits into
f:mainfrom
solution8-com:codex/add-cherry-picked-commits
Open

fix: entire hook compatibility and test updates#1185
le-dawg wants to merge 322 commits into
f:mainfrom
solution8-com:codex/add-cherry-picked-commits

Conversation

@le-dawg

@le-dawg le-dawg commented May 14, 2026

Copy link
Copy Markdown

Summary

Changes

  • .claude/settings.json: Wrap entire hooks command with error suppression to prevent blocking on first prompt
  • Test files: Minor updates to mcp-create-skill-comment, prompts, and versions tests

Testing

Hook no longer blocks session initialization. entire continues capturing sessions after TurnStart establishes session_id.

🤖 Generated with Claude Code

Copilot AI and others added 30 commits March 15, 2026 11:59
Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
Refactor Internal Hack mode UI on /prompts/new endpoint
- Hide effective prompting guide link in internal hack mode
- Remove advanced options section in internal hack mode
- Simplify dropdown to show only "Hack Instructions" label
- Update description placeholder to indicate autogeneration
- Add paste handlers for markdown beautification
- Add rich text to markdown conversion on paste
- Preview button already working correctly

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
- Add GitHub Models API integration for description generation
- Use gpt-4o-mini model (GitHub Models uses OpenAI-compatible API)
- Generate descriptions automatically after internal hack is posted
- Only generate if no manual description provided (protects manual edits)
- Add GITHUB_MODELS_TOKEN environment variable
- Non-blocking generation with error handling
- Generation only for YAML format (internal hack mode)

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
…e docs

- Remove structuredFormat check, use isInternalHack detection instead
- Update model to gpt-5-nano with automatic fallback to gpt-4o-mini
- Improve system prompt using OSTA best practices (2026 standards)
- Make GITHUB_MODELS_TOKEN mandatory (throws error if missing)
- Add complete GitHub Models setup guide to README.md with:
  - Step-by-step token generation instructions
  - Usage limits and troubleshooting
  - Model comparison table
  - Links to official documentation

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
…promptbar)

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
…romptbar

Rebrand OpenGraph/Twitter metadata and structured data from prompts.chat to Solution8 PromptBar
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…sorting-and-deletion

Fix tags admin bulk-delete parse error
…caping

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…as HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
le-dawg and others added 28 commits May 5, 2026 00:25
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…roy on oversized body, CSP comment

Agent-Logs-Url: https://github.com/solution8-com/AIRstack-Promptbar/sessions/efbd0b19-f8b2-4595-b48b-64dbd6e53817

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
…allback, test env handling

Agent-Logs-Url: https://github.com/solution8-com/AIRstack-Promptbar/sessions/d62a8708-5900-4587-a389-6ac466b1c81d

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
…ignore to raycast-extension only

Agent-Logs-Url: https://github.com/solution8-com/AIRstack-Promptbar/sessions/43b70e27-4977-4f14-94bd-990e80d7d9aa

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
…andleAddMcp()

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
- Remove hardcoded skill.nd.json requirement for folder uploads
- Support dragging single skill files in addition to folders
- Enable direct download of single-file skills (not wrapped in ZIP)
- Maintain ZIP download for multi-file skills
- Add comprehensive tests for skill editor functionality

This addresses the user's request to improve skill uploading through the DUI interface with drag-and-drop capabilities and flexible download options.
Fix PR #59 review issues in SkillEditor drop flow and single-file download headers
…replace confirmation dialog

Agent-Logs-Url: https://github.com/solution8-com/AIRstack-Promptbar/sessions/14aeefbc-78ff-4065-a56e-e9bc1b85b4f3

Co-authored-by: le-dawg <3172733+le-dawg@users.noreply.github.com>
Entire-Checkpoint: 75bf672334cb
@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 258 files, which is 108 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6a35f626-fc62-495e-8bf4-bd3fb73c85ad

📥 Commits

Reviewing files that changed from the base of the PR and between 317c680 and 94e3ea8.

⛔ Files ignored due to path filters (7)
  • ffff.svg is excluded by !**/*.svg
  • package-lock.json is excluded by !**/package-lock.json
  • packages/prompts.chat/package-lock.json is excluded by !**/package-lock.json
  • packages/raycast-extension/package-lock.json is excluded by !**/package-lock.json
  • prompts.csv is excluded by !**/*.csv
  • public/sponsors/vercel-oss-dark.svg is excluded by !**/*.svg
  • public/sponsors/vercel-oss.svg is excluded by !**/*.svg
📒 Files selected for processing (258)
  • .agents/README.md
  • .agents/skills/claude/prompts.chat/index.json
  • .agents/skills/claude/prompts.chat/prompt-lookup/SKILL.md
  • .agents/skills/claude/prompts.chat/skill-lookup/SKILL.md
  • .agents/skills/windsurf/book-translation/SKILL.md
  • .agents/skills/windsurf/widget-generator/SKILL.md
  • .dockerignore
  • .env.example
  • .github/README.md
  • .github/fufukaka.md
  • .github/workflows/prisma-onetime.yml
  • .gitignore
  • .kilo/kilo.json
  • .kilo/plans/1776879122018-sunny-harbor.md
  • .vercelignore
  • .windsurf/skills
  • AGENTS.md
  • CLAUDE-PLUGIN.md
  • DOCKER.md
  • Dockerfile
  • GOVERNANCE.md
  • INTERNAL_HACK_FEATURE.md
  • INTERNAL_HACK_IMPROVEMENTS.md
  • INTERNAL_HACK_MODE_UPDATES.md
  • LICENSE
  • LICENSE-CC0
  • LICENSE-MIT
  • PROMPTS.md
  • README.md
  • SECURITY.md
  • SELF-HOSTING.md
  • TASTE_GRADUATION.md
  • UI_TESTING_GUIDE.md
  • compose.yml
  • docker/Dockerfile
  • docker/bootstrap.sh
  • docker/entrypoint.sh
  • docker/supervisord.conf
  • docs/MCP_SKILL_COMMENTS.md
  • docs/internal/INTERNAL_HACK_FEATURE.md
  • docs/internal/INTERNAL_HACK_IMPROVEMENTS.md
  • docs/internal/INTERNAL_HACK_MODE_UPDATES.md
  • docs/internal/README.md
  • docs/internal/TASTE_GRADUATION.md
  • docs/internal/UI_TESTING_GUIDE.md
  • docs/superpowers/plans/2026-04-29-guide-features-implementation.md
  • docs/superpowers/specs/2026-04-29-guide-edit-admin-usertable-design.md
  • docs/superpowers/specs/2026-05-05-codex-branch-triage-design.md
  • messages/ar.json
  • messages/az.json
  • messages/de.json
  • messages/el.json
  • messages/en.json
  • messages/es.json
  • messages/fa.json
  • messages/fr.json
  • messages/he.json
  • messages/it.json
  • messages/ja.json
  • messages/ko.json
  • messages/nl.json
  • messages/pt.json
  • messages/ru.json
  • messages/tr.json
  • messages/zh.json
  • next.config.ts
  • package.json
  • packages/prompts.chat/README.md
  • packages/prompts.chat/src/cli/api.ts
  • packages/prompts.chat/src/cli/components/PromptDetail.tsx
  • packages/prompts.chat/src/cli/platforms.ts
  • packages/prompts.chat/src/parser/index.ts
  • packages/raycast-extension/README.md
  • packages/raycast-extension/package.json
  • packages/raycast-extension/raycast-env.d.ts
  • packages/raycast-extension/src/api.ts
  • packages/raycast-extension/src/utils.ts
  • pipikaka.prompt.yml
  • plugins/claude/promptbar/.claude-plugin/plugin.json
  • plugins/claude/promptbar/.mcp.json
  • plugins/claude/promptbar/agents/prompt-manager.md
  • plugins/claude/promptbar/agents/skill-manager.md
  • plugins/claude/promptbar/commands/prompts.md
  • plugins/claude/promptbar/commands/skills.md
  • plugins/claude/promptbar/skills/index.json
  • plugins/claude/prompts.chat/.mcp.json
  • prisma.config.ts
  • prisma/migrations/20260324100000_add_ci_username_unique_index/migration.sql
  • prisma/migrations/20260407180000_add_guide_prompt_type/migration.sql
  • prisma/migrations/20260415000000_add_example_content/migration.sql
  • prisma/schema.prisma
  • prisma/seed.ts
  • prompts.config.ts
  • scripts/generate-contributors.sh
  • sentry.edge.config.ts
  • sentry.server.config.ts
  • src/__tests__/api/admin-users.test.ts
  • src/__tests__/api/change-requests.test.ts
  • src/__tests__/api/leaderboard.test.ts
  • src/__tests__/api/mcp-create-skill-comment.test.ts
  • src/__tests__/api/mcp-handler.test.ts
  • src/__tests__/api/prompt-examples.test.ts
  • src/__tests__/api/prompts.test.ts
  • src/__tests__/api/register.test.ts
  • src/__tests__/api/tags.test.ts
  • src/__tests__/api/user-profile.test.ts
  • src/__tests__/api/versions.test.ts
  • src/__tests__/components/skill-editor.test.tsx
  • src/__tests__/lib/admin.test.ts
  • src/__tests__/lib/auth/provider-metadata.test.ts
  • src/__tests__/lib/plugins/auth/oauth.test.ts
  • src/__tests__/lib/plugins/auth/oidc.test.ts
  • src/__tests__/lib/prompt-access.test.ts
  • src/__tests__/lib/urls.test.ts
  • src/app/(auth)/login/page.tsx
  • src/app/(auth)/register/page.tsx
  • src/app/[username]/opengraph-image.tsx
  • src/app/[username]/page.tsx
  • src/app/about/page.tsx
  • src/app/ads.txt/route.ts
  • src/app/api/admin/related-prompts/route.ts
  • src/app/api/admin/slugs/route.ts
  • src/app/api/admin/tags/[id]/route.ts
  • src/app/api/admin/users/[id]/route.ts
  • src/app/api/admin/users/route.ts
  • src/app/api/admin/webhooks/route.ts
  • src/app/api/ai/github-models/route.ts
  • src/app/api/auth/register/route.ts
  • src/app/api/collection/route.ts
  • src/app/api/leaderboard/route.ts
  • src/app/api/prompts/[id]/changes/[changeId]/route.ts
  • src/app/api/prompts/[id]/changes/route.ts
  • src/app/api/prompts/[id]/comments/[commentId]/vote/route.ts
  • src/app/api/prompts/[id]/comments/route.ts
  • src/app/api/prompts/[id]/connections/route.ts
  • src/app/api/prompts/[id]/examples/route.ts
  • src/app/api/prompts/[id]/flow/route.ts
  • src/app/api/prompts/[id]/route.ts
  • src/app/api/prompts/[id]/skill/route.ts
  • src/app/api/prompts/[id]/versions/route.ts
  • src/app/api/prompts/[id]/vote/route.ts
  • src/app/api/prompts/route.ts
  • src/app/api/tags/route.ts
  • src/app/api/user/notifications/route.ts
  • src/app/api/user/profile/route.ts
  • src/app/api/users/search/route.ts
  • src/app/book/layout.tsx
  • src/app/book/page.tsx
  • src/app/categories/[slug]/page.tsx
  • src/app/collection/page.tsx
  • src/app/discover/page.tsx
  • src/app/docs/self-hosting/page.tsx
  • src/app/feed/page.tsx
  • src/app/globals.css
  • src/app/guides/[id]/edit/page.tsx
  • src/app/guides/[id]/page.tsx
  • src/app/guides/new/page.tsx
  • src/app/guides/page.tsx
  • src/app/how_to_write_effective_prompts/page.tsx
  • src/app/layout.tsx
  • src/app/page.tsx
  • src/app/privacy/page.tsx
  • src/app/promptmasters/loading.tsx
  • src/app/prompts.csv/route.ts
  • src/app/prompts.json/route.ts
  • src/app/prompts/[id]/changes/[changeId]/page.tsx
  • src/app/prompts/[id]/changes/new/page.tsx
  • src/app/prompts/[id]/edit/page.tsx
  • src/app/prompts/[id]/opengraph-image.tsx
  • src/app/prompts/[id]/page.tsx
  • src/app/prompts/new/loading.tsx
  • src/app/prompts/new/page.tsx
  • src/app/prompts/page.tsx
  • src/app/robots.ts
  • src/app/sitemap.ts
  • src/app/skills/page.tsx
  • src/app/support/page.tsx
  • src/app/tags/[slug]/page.tsx
  • src/app/taste/page.tsx
  • src/app/terms/page.tsx
  • src/app/unauthorized/page.tsx
  • src/app/workflows/page.tsx
  • src/components/admin/categories-table.tsx
  • src/components/admin/delete-user-button.tsx
  • src/components/admin/prompts-management.tsx
  • src/components/admin/tags-table.tsx
  • src/components/admin/users-table.tsx
  • src/components/ads/ezoic-ad.tsx
  • src/components/ads/ezoic-placeholder.tsx
  • src/components/auth/auth-content.tsx
  • src/components/auth/oauth-button.tsx
  • src/components/auth/register-form.tsx
  • src/components/comments/comment-item.tsx
  • src/components/comments/comment-section.tsx
  • src/components/guides/guide-content.tsx
  • src/components/guides/guide-edit-form.tsx
  • src/components/guides/guide-form.tsx
  • src/components/kids/layout/background-music.tsx
  • src/components/layout/ezoic-ads.tsx
  • src/components/layout/footer.tsx
  • src/components/layout/header.tsx
  • src/components/promptmasters/promptmasters-content.tsx
  • src/components/prompts/add-example-dialog.tsx
  • src/components/prompts/admin-tag-badge.tsx
  • src/components/prompts/contributor-search.tsx
  • src/components/prompts/discover-tabs.tsx
  • src/components/prompts/discovery-prompts.tsx
  • src/components/prompts/download-prompt-dropdown.tsx
  • src/components/prompts/infinite-prompt-list.tsx
  • src/components/prompts/interactive-prompt-content.tsx
  • src/components/prompts/iterate-button.tsx
  • src/components/prompts/markdown-preview.tsx
  • src/components/prompts/media-preview-with-examples.tsx
  • src/components/prompts/mode-toggle.tsx
  • src/components/prompts/prompt-card.tsx
  • src/components/prompts/prompt-filters.tsx
  • src/components/prompts/prompt-form.tsx
  • src/components/prompts/prompt-list.tsx
  • src/components/prompts/run-prompt-button.tsx
  • src/components/prompts/skill-editor.test.tsx
  • src/components/prompts/skill-editor.tsx
  • src/components/prompts/skills-filtered-list.tsx
  • src/components/prompts/user-examples-gallery.tsx
  • src/components/prompts/user-examples-section.tsx
  • src/components/prompts/widget-card.tsx
  • src/components/seo/structured-data.tsx
  • src/components/settings/profile-form.tsx
  • src/instrumentation-client.ts
  • src/lib/admin.ts
  • src/lib/ai/generate-hack-description.ts
  • src/lib/ai/github-models.ts
  • src/lib/auth/index.ts
  • src/lib/auth/provider-metadata.ts
  • src/lib/config/index.ts
  • src/lib/db-errors.ts
  • src/lib/ezoic.ts
  • src/lib/plugins/auth/github.ts
  • src/lib/plugins/auth/index.ts
  • src/lib/plugins/auth/oauth.ts
  • src/lib/plugins/auth/oidc.ts
  • src/lib/plugins/media-generators/fal.ts
  • src/lib/plugins/media-generators/wiro.ts
  • src/lib/plugins/widgets/coderabbit.ts
  • src/lib/plugins/widgets/ezoic.tsx
  • src/lib/plugins/widgets/index.ts
  • src/lib/plugins/widgets/types.ts
  • src/lib/prompt-access.ts
  • src/lib/prompt-votes.ts
  • src/lib/rate-limit.ts
  • src/lib/skill-files.ts
  • src/lib/urls.ts
  • src/middleware.ts
  • src/pages/api/mcp.ts
  • src/proxy.ts
  • tsconfig.json
  • ux-iteration-1-worklog.md
  • vercel.json
  • vitest.setup.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.