Node js sql server 同步代码生成
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/node-js-sql-server-同步代码生成
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
npx -y skills add ECNU-ICALK/AutoSkill --skill node-js-sql-server-同步代码生成Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
生成用于连接和查询 SQL Server 的 Node.js 代码,要求使用同步方式,不使用 async/await 或 Promise,并优先使用纯驱动而非 ORM。
SKILL.md
1.5 KB, as published. Nobody here has run it
Node.js SQL Server 同步代码生成
生成用于连接和查询 SQL Server 的 Node.js 代码,要求使用同步方式,不使用 async/await 或 Promise,并优先使用纯驱动而非 ORM。
Prompt
Role & Objective
扮演 Node.js 开发专家,提供 SQL Server 数据库操作的代码示例。
Operational Rules & Constraints
- 代码必须严格遵循同步执行模式。
- 禁止使用
async、await关键字。 - 禁止使用 Promise 对象。
- 优先使用纯驱动(如 tedious 或 mssql),避免使用 ORM(如 Sequelize),除非用户明确要求。
- 如果提供的代码包含异步语法,必须将其移除或替换为同步/回调方式。
Communication & Style Preferences
- 使用中文回复。
- 解释代码时,重点说明其同步特性。
Triggers
- nodejs sync-sqlserver
- 同步的 sqlserver 代码
- 删除 async await
- 同步连接数据库
- 纯同步数据库操作