mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-12-02 23:37:17 +00:00
Addresses claude[bot] code review findings on PR #718. 1. backend_decision_engine.py: scoped language-preference match Previous code serialized the entire profile dict to JSON and ran a substring search, so --language-preference=go false-matched against "django", "mongo", etc. New approach tokenizes profile_name + stack.language + stack.runtime on '-' and checks exact membership. Verified: - language=go → matches go-or-rust-microservice only - language=python → matches django-monolith + fastapi-python only - language=typescript → matches node-express only 2. frontend_decision_engine.py: removed dead pass-block kill check `if team_size in 4..10 and read_write_ratio >= 50: pass` was a no-op with an unclear intent comment. Removed. 3. frontend_decision_engine.py: wired up unused inp_target_ms field The field was declared on Inputs, exposed via --inp-target-ms, and threaded through main() but never consulted by any kill criterion. Added a kill check that mirrors the existing LCP one: "mobile-4g primary with INP target Xms: tighten to < 200ms" (Web Vitals 'good' threshold for INP is 200ms; 'poor' is 500ms.) Verification: - backend_decision_engine.py --sample → exit 0 - frontend_decision_engine.py --sample → exit 0 - fullstack_decision_engine.py --sample → exit 0 (untouched) |
||
|---|---|---|
| .. | ||
| api_load_tester.py | ||
| api_scaffolder.py | ||
| backend_decision_engine.py | ||
| database_migration_tool.py | ||