Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Rubber Duck Playground

Hands-on training for RubberDuck: launch a real demo app, copy UC-01…UC-10 prompts, and run them in Cursor / Claude with RubberDuck MCP.

60-second start

  1. Git clone

    git clone https://github.com/RubberDuck-com/rubberduck-use-case-playground.git
    cd rubberduck-use-case-playground/demo-projects
  2. Open the hubstart-hub.bat (Windows) or ./start-hub.sh (Linux/macOS) → http://127.0.0.1:5055/

  3. Welcome — pick Rubber Duck Pizzeria

  4. Launch — live console + health diagram (venv → deps → DB → API → UI)

  5. Connect RubberDuck MCPConnect MCP tab in the hub

  6. Generate prompts — UC-01…UC-10, What to expect, Copy prompt

Full walkthrough: GUIDE.md


What this is

PieceWhat it is
demo-projects/Hub dashboard (start-hub.bat / start-hub.sh)
demo-projects/rubberduck_pizzeria-demoapp/Restaurant admin UI + kitchen API with intentional lab sinks
Hub Generate promptsProject-specific UC-01…UC-10 prompts + expected-outcome bullets

The older demoapp/ / labs/ / run-lab.py stack was removed so the repo has one clear path: the demo-projects hub.


The ten use cases

#NameWhat RubberDuck should surface on the pizzeria demo
01Understand Your CodeAtlas: main.pycreate_app, routes, /api, init_db
02Security AuditSQLi, XSS, pickle/exec, IDOR, CMDi, SSTI, BAC, …
03Localize and Fix BugsDiscount / get_aggregation mask bug
04Code ReviewHostile review of order_by → raw SQL near search
05Change ImpactRename config_values blast radius
06Plan a New FeaturePlan parameterized safe_search_customers
07Generate Code That FitsImplement safe search + tests
08Check Code LogicDoes include_discount=True apply?
09Compare VersionsRaw SQL search vs parameterized search
10Quick CheckWhat get_aggregation returns (short + evidence)

Details live in the hub under What to expect for each UC.


MCP setup

SETUP.md — connect Codebase Intelligence + Semantic Intelligence in Cursor.

Index the pizzeria demo (or the whole clone) once per session, then paste the prompt copied from the hub.


License

MIT — see LICENSE.

关于 About

No description, website, or topics provided.

语言 Languages

CSS42.9%
HTML38.8%
SCSS10.8%
JavaScript5.6%
Python1.9%
Dockerfile0.0%
Shell0.0%
Batchfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
20
Total Commits
峰值: 13次/周
Less
More

核心贡献者 Contributors