npx claudepluginhub forbee-dev/forgebee --plugin forgebeeThis skill uses the workspace's default tool permissions.
references/agent-template.mdreferences/conventions-nextjs.mdreferences/conventions-styling.mdreferences/conventions-wordpress.mdreferences/decision-tree.mdscripts/detect_project.jsscripts/detect_tools.jsSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Detect the project type, stack, and conventions so all subsequent agents use the right guardrails. Fast and accurate — should complete in under 10 seconds.
Classify the current project and load the right conventions, guardrails, and domain knowledge before any work begins. This is the first skill that should run in any development session.
/plan, /workflow, /team, or any implementation commandExecute the triage script to produce a machine-readable project profile:
node ${CLAUDE_PLUGIN_ROOT}/skills/project-router/scripts/detect_project.js "$PROJECT_DIR"
Store the JSON output. This is the single source of truth for all routing decisions.
Use the decision tree in references/decision-tree.md to map the triage output to:
Based on the classification, read the appropriate convention reference(s):
| Project Type | Reference File |
|---|---|
| WordPress plugin | references/conventions-wordpress.md |
| WordPress theme (classic) | references/conventions-wordpress.md |
| WordPress block theme | references/conventions-wordpress.md |
| Next.js (App Router) | references/conventions-nextjs.md |
| Next.js (Pages Router) | references/conventions-nextjs.md |
| SCSS/Tailwind styling | references/conventions-styling.md |
| Generic PHP | references/conventions-wordpress.md (PHP section) |
| Generic Node.js | references/conventions-nextjs.md (Node section) |
Always load references/conventions-styling.md if the triage detects any styling system
(SCSS, Tailwind, CSS Modules, etc.) — styling conventions apply across all project types.
Show the user a compact summary of what was detected:
## Project Triage
**Type:** [WordPress Plugin / Next.js App Router / etc.]
**Stack:** PHP 8.2, Node 20, TypeScript
**Styling:** SCSS + Tailwind CSS
**Database:** MySQL (WordPress) / PostgreSQL (Prisma)
**Testing:** PHPUnit, Jest, Playwright
**CI/CD:** GitHub Actions, Docker
**Conventions loaded:** ✅ WordPress · ✅ Next.js · ✅ Styling
### Guardrails Active
- [List of key rules from conventions, e.g. "Use WordPress Coding Standards", "App Router patterns only"]
### Recommendations
- [Any suggestions, e.g. "No CLAUDE.md found — consider running /forgebee-setup"]
If the triage is being consumed by another command (e.g., /workflow, /team, /plan),
provide the triage JSON and loaded conventions as context for downstream agents.
Every agent dispatched should receive:
project_type field| Symptom | Likely Cause | Fix |
|---|---|---|
project_type: "unknown" | No recognizable framework files at root | Ask user to confirm project type manually; check if they're in a subdirectory |
WordPress detected but no theme.json or plugin header | Might be a mu-plugin or custom structure | Check for mu-plugins/ or ask user |
| Both WordPress and Next.js detected | Monorepo or headless WP + Next.js frontend | Load BOTH convention sets; ask user which is primary |
| SCSS detected but no Tailwind config | Project uses SCSS only | Load styling conventions, skip Tailwind sections |
Empty node.tools despite package.json | Dependencies not installed yet | Note this in summary; suggest npm install first |