Skip to content
项目

RubberDuck-com/rubberduck-use-case-playground

在 GitHub 查看

关于

试用全部 10 个用例,看看 Rubber Duck 能做什么!

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
-4
1个月
-84

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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 hub — start-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 MCP — Connect MCP tab in the hub

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

Full walkthrough: GUIDE.md


What this is

Piece What 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 prompts Project-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

# Name What RubberDuck should surface on the pizzeria demo
01 Understand Your Code Atlas: main.py → create_app, routes, /api, init_db
02 Security Audit SQLi, XSS, pickle/exec, IDOR, CMDi, SSTI, BAC, …
03 Localize and Fix Bugs Discount / get_aggregation mask bug
04 Code Review Hostile review of order_by → raw SQL near search
05 Change Impact Rename config_values blast radius
06 Plan a New Feature Plan parameterized safe_search_customers
07 Generate Code That Fits Implement safe search + tests
08 Check Code Logic Does include_discount=True apply?
09 Compare Versions Raw SQL search vs parameterized search
10 Quick Check What 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 once per session, then paste the prompt copied from the hub.


License

MIT — see LICENSE.

探索相关项目

加载中…