A Simple and Universal Product Rehearsal Engine, Speccing Anything. 简洁通用的产品推演引擎,推演万物。
# Add to your Claude Code skills
git clone https://github.com/xiaojilele-glitch/WhyBuddyLast scanned: 11/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@ant-design/pro-components: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@ant-design/pro-layout: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@grpc/grpc-js: @grpc/grpc-js: In certain configurations, getAuthContext can return unauthorized certificates as though they were authorized",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@tailwindcss/typography: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@vitest/mocker: Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@vitest/ui: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@xmldom/xmldom: xmldom: XML fragment injection via invalid EntityReference.nodeName during requireWellFormed serialization",
"severity": "high"
},
{
"type": "npm-audit",
"message": "baseline-browser-mapping: baseline-browser-mapping process termination on invalid input causes denial of service",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "body-parser: body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body",
"severity": "high"
},
{
"type": "npm-audit",
"message": "browserslist: Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM",
"severity": "high"
},
{
"type": "npm-audit",
"message": "dompurify: DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "engine.io: Socket.IO: Engine.IO Polling Transport Connection Exhaustion",
"severity": "high"
},
{
"type": "npm-audit",
"message": "fflate: fflate unzipSync can enter an infinite loop when parsing malformed ZIP64 archives",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "katex: KaTeX: Existing prototype pollution can bypass trust restrictions",
"severity": "low"
},
{
"type": "npm-audit",
"message": "mermaid: Mermaid configuration APIs allow prototype pollution",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "micromark-extension-math: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "mysql2: MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "nanoid: nanoid: non-secure generators can loop indefinitely with negative size",
"severity": "high"
},
{
"type": "npm-audit",
"message": "nodemailer: Nodemailer: resolveContent() on a MailMessage bypasses disableFileAccess/disableUrlAccess when called with the legacy signature",
"severity": "high"
},
{
"type": "npm-audit",
"message": "path-to-regexp: path-to-regexp vulnerable to Denial of Service via sequential optional groups",
"severity": "high"
},
{
"type": "npm-audit",
"message": "pdfjs-dist: PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF ",
"severity": "high"
},
{
"type": "npm-audit",
"message": "postcss: PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset",
"severity": "high"
},
{
"type": "npm-audit",
"message": "postcss-selector-parser: PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "proxy-addr: proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "qs: qs array-limit bypass via bracket-key comma parsing",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "rehype-katex: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "remark-math: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "socket.io-parser: Socket.IO: Zero-attachment Memory Exhaustion",
"severity": "high"
},
{
"type": "npm-audit",
"message": "source-map-js: source-map-js allows event-loop denial of service through indexed source-map section offsets",
"severity": "high"
},
{
"type": "npm-audit",
"message": "streamdown: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "tinypool: Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "undici: undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vite: launch-editor: escapeCmdArgs() omits % escaping on Windows",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vitest: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "zod: Zod can exhaust memory while validating oversized constrained collections",
"severity": "high"
}
],
"status": "FAILED",
"scannedAt": "2026-11-30T14:52:57.095Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}WhyBuddy is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by xiaojilele-glitch. A Simple and Universal Product Rehearsal Engine, Speccing Anything. 简洁通用的产品推演引擎,推演万物。. It has 381 GitHub stars.
WhyBuddy failed AgentsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/xiaojilele-glitch/WhyBuddy" and add it to your Claude Code skills directory (see the Installation section above).
WhyBuddy is primarily written in TypeScript. It is open-source under xiaojilele-glitch on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh WhyBuddy against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
SlideRule · product rehearsal engine
Clarify ideas, ship a runnable product.
把想法问清楚,把产品跑起来
Live demo · sliderule.ai · Repo
[!IMPORTANT] North Star: An AI claiming something is done does not count. Only artifacts that pass deterministic gates count.
The only product main line is SlideRule at
/agent-loop/sliderule./autopilotis the archived v4 demo. See NORTH_STAR.md.
SlideRule (Chinese product name 面团 AI) is a product rehearsal engine. You type one sentence. It rehearses a gated product plan — then lets you run it.
A slide rule is an engineer’s analog calculator: scales, a cursor, and alignment before you trust a number. SlideRule is the same idea for product decisions — not a magic one-click app factory, but a rehearsal instrument. Every step is visible. Every artifact must pass a deterministic gate. Only then does a runnable application appear.
Compared with “an LLM with a long prompt”, six things actually run:
spec → pages → structure → bind → closure. A hop that did not change a deliverable must not report ok.pages must not hijack rehearse / refine.slide-rule-python (FastAPI :9700) is the live engine. Node thin-proxies /api/sliderule and /api/agent-loop.arch_graph.py and arch-graph-ts.mjs fail undeclared edges, new cycles, and a growing function-body import ratchet.Write a PRD for days, align for weeks, wait months to learn the direction was wrong — or spend one coffee on a visible rehearsal and decide.
🏆 TRAE「一切皆可 Skill · SOLO」Pioneer Skill Award. Entry · Announcement
The static demo runs in the browser — no backend, no key:
Watch a captured end-to-end rehearsal, open finished examples and run the generated app, or BYOK (OpenAI-compatible key stays in the browser) for a live topic.
flowchart LR
U["One-sentence intent"] --> CTRL["Control plane<br/>scope · assumptions"]
CTRL -->|rehearse| SPEC["spec"]
SPEC --> PAGES["pages"]
PAGES --> STRUCT["structure"]
STRUCT --> BIND["bind"]
BIND --> CLOSE{"Publish closure<br/>fail-closed"}
CLOSE -->|closed| APP["Browser live runtime"]
CLOSE -->|blocked| AWAIT["park · refine · repair"]
AWAIT --> CTRL
| Step | Stage | What happens | Who |
|---|---|---|---|
| 1 | Intent | One sentence in the composer | Client |
| 2 | Park | Control plane parks a scope card | rehearsal_control |
| 3 | Confirm | “Start rehearsal” is forcedTool=rehearse |
Control plane |
| 4 | First pass | spec → pages → structure → bind in one go |
spec-first pipeline |
| 5 | Assumptions | Model’s silent forks become a card; confirm to continue | spec.assumptions |
| 6 | Closure | Evidence for the six skills, or park | publish closure |
| 7 | Run / refine | Browser runtime, or refine / repair / next hop |
Live runtime + control plane |
WhyBuddy/
├── client/ # Vite + React rehearsal UI
├── server/ # Express thin proxy
├── slide-rule-python/ # FastAPI authority engine
│ ├── services/ # util / core / flow
│ ├── architecture.toml # architecture gate
│ └── arch_graph.py
├── shared/ # cross-language contracts
├── skills/sliderule/ # TRAE Skill package
├── scripts/ # dev:all · TS architecture compiler
└── docs/ # generated architecture graphs
Authoritative graphs are generated from code (do not hand-edit):
util 125 · core 59 · flow 30docs/SlideRule V5.2–V6.0 are historical lab notes, not the live map.
The rehearsed model is not diagrams — the browser renders an operable system. Preview runtime: zero backend, zero database.
Run the app (desktop / tablet / phone), switch roles, drive approvals, edit data in place, try declared AIGC, export with evidence.
git clone https://github.com/2686521696/WhyBuddy.git && cd WhyBuddy
cp .env.example .env
Fill at least LLM_API_KEY (any OpenAI-compatible provider) and SESSION_SECRET. Without an LLM key the stack still boots; rehearsals fall back to deterministic templates.
docker compose up -d --build
Open http://localhost:3000/agent-loop/sliderule
| Service | Port | Role |
|---|---|---|
app |
3000 (host) → 3001 |
Node + bundled frontend; SlideRule API thin-proxies to Python |
python |
9700 (network-internal) |
Rehearsal engine: spec-first hops, control plane, evidence gates, publish closure |
Main line needs no database (JSON file store). mysql is an optional profile for legacy accounts: docker compose --profile accounts up -d.
docker compose logs -f app python
docker compose down # keep data volumes
docker compose down -v # wipe data
Required: LLM_API_KEY / LLM_BASE_URL / LLM_MODEL / SESSION_SECRET (64-char random hex in production).
Optional, fail-closed: WEB_SEARCH_API_KEY, E2B_API_KEY.
Production — pull, don’t build (.github/workflows/deploy-images.yml):
docker compose -f docker-compose.prod.yml pull && docker compose -f docker-compose.prod.yml up -d
# SLIDERULE_REGISTRY=ghcr.io SLIDERULE_IMAGE_OWNER=2686521696 SLIDERULE_IMAGE_TAG=latest
TLS-intercepting proxies: drop a PEM .crt into docker/certs/ before building.
Not in compose: Lobster Executor (DinD, opt-in), Redis (off), Feishu (mock).
.env is never baked into images.
Node.js 22+ · pnpm · Python 3.11+ with slide-rule-python/.venv · Docker optional (executor isolation)
git clone https://github.com/2686521696/WhyBuddy.git && cd WhyBuddy
pnpm install
pnpm run dev:all # Vite :3000 + Node :3001 + Lobster :3031 + Python :9700
# pnpm run dev:sliderule # lean: Vite :3000 + Python :9700
# pnpm run dev:frontend # UI on