From b7a017ad8d1dc45615296c47b7e704eb28d247e5 Mon Sep 17 00:00:00 2001 From: Uddipta7 Date: Wed, 18 Jun 2025 20:22:22 +0530 Subject: [PATCH] Add 2 web dev prompts: Performance and Legacy Modernization Signed-off-by: Uddipta7 --- README.md | 8 ++++++++ engineering-prompts | 1 + 2 files changed, 9 insertions(+) create mode 160000 engineering-prompts diff --git a/README.md b/README.md index 477bc01..d8baf24 100644 --- a/README.md +++ b/README.md @@ -455,7 +455,15 @@ This repository contains prompt chains for the following domains: ```text "Write unit and integration tests for the provided front-end components using {testing_framework}. Ensure the tests cover all major use cases and edge cases. Return the test code with explanations." ``` +* **Performance Optimization (Lighthouse 100)** + ```text + "Analyze this [URL/code] and generate specific, actionable fixes to achieve 90+ Lighthouse scores across all metrics, prioritizing [mobile/desktop], including code snippets for: bundle optimization, critical CSS, image compression, and caching strategies." + ``` +* **Legacy System Modernization** + ```text + "Convert this [jQuery/Backbone] code to [React/Vue] with zero feature regression, including: automated codemod suggestions, gradual migration strategy, TypeScript integration, and compatibility layer for legacy dependencies." + ``` --- ### **13. API Development** diff --git a/engineering-prompts b/engineering-prompts new file mode 160000 index 0000000..0b81d00 --- /dev/null +++ b/engineering-prompts @@ -0,0 +1 @@ +Subproject commit 0b81d007e7688ae53724ebc0b6aba8910467db89