How GitHub Copilot Workspace Made Me Fear Unemployment
The author experiments with GitHub Copilot Workspace to automatically generate a WeChat mini‑program for family library management, documents the prompting process, code generation, bug fixes, UI tweaks, and reflects on the broader impact of AI‑driven development on programmers' future jobs.
Prompt
I need implement a WeChat applet, the main purpose is to implement a family library management system to record paper books purchased by the family. The core functions include users being able to manually enter, search, and exit the library. Each book can scan the ISBN and then call the Douban service API to query the book's information, which needs to include detailed information about the book and the price entered by the user.Task generation
Copilot generated three high‑level plans; the author added all three plans without inspecting the individual task details.
When a more detailed, function‑oriented task list was requested, Copilot listed the required JavaScript files and described the responsibility of each file.
Code generation
Choosing “Implement selected files” caused Copilot to write the implementation in about one minute, producing sixteen JavaScript files automatically.
Post‑generation fixes
Missing Douban API key – the prompt was revised to include the key and Copilot updated the code accordingly.
Douban API call failing – Copilot replaced the API call with direct reading from the input field.
Storage switched to local storage – Copilot modified the logic to store and retrieve data using the browser's local storage.
UI redesign
The default UI was considered unattractive. The author supplied a reference image, and Copilot regenerated the UI to closely match the reference.
Deployment and verification
The completed demo was deployed locally and tested on a phone; screenshots of the running app are included.
Source code
Source code repository: https://github.com/lengrongfu/family-library-management
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Infra Learning Club
Infra Learning Club shares study notes, cutting-edge technology, and career discussions.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
