Ryan ZhengSimplifying Database Interactions in Python with the Repository Pattern and SQLAlchemyAs Python developers, we often find ourselves working with databases to persist and retrieve data for our applications. While SQLAlchemy is…Jun 302Jun 302
Ryan ZhengTask Decomposition And Execute — Prompt EngineeringDivide a larger task into smaller subtasks, and execute each subtask. This prompt only works on Claude Opus. Claude Opus has a very strong…Mar 9Mar 9
Ryan ZhengImplementing Offset-Based Pagination with Strawberry GraphQL and RelayDisclaimer: This article is written by Claude Opus completely. Refer to this article…Mar 9Mar 9
Ryan ZhengCreate Python Tests — Prompt EngineeringYou can use the following prompt to create python tests given a module design.Feb 9Feb 9
Ryan ZhengPython Module Implementation — Prompt EngineeringYou can use the following prompt to create implementation given a python module design.Feb 9Feb 9
Ryan ZhengPython Module Design — Prompt EngineeringYou can use the following prompt to design python modules given user requirements.Feb 9Feb 9
Ryan ZhengOne-Shot Positive&Negative Examples Generation— Prompt EngineeringThe following prompt is able to generate domain-specific positive and negative examples given the target prompt.Feb 4Feb 4
Ryan ZhengRefine Prompt Based On User Requirement — Prompt EngineeringThis prompt is most effective when the requirements specify which section needs refinement. Without such specification, the prompt may…Feb 3Feb 3