Skip to content
Projekte

RubberDuck-com/rubberduck-use-case-playground

Auf GitHub ansehen

Über uns

Probiere alle 10 Anwendungsfälle aus und finde heraus, was Rubber Duck kann!

Weitere Projekte

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
+1
in 15 days
-63
in 1 month
-131

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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.

Ähnliche Projekte entdecken

Wird geladen…