generate-project-artifact
按照项目的模式和方法创建一个工件。当您需要在有界上下文/模块中创建新工件时使用。用于创建应用程序中的新实体、服务、存储库或任何其他工件。它在内部使用/generate命令。
📖 中文导读:按照项目的模式和方法创建一个工件。当您需要在有界上下文/模块中创建新工件时使用。用于创建应用程序中的新实体、服务、存储库或任何其他工件。它在内部使用/generate命令。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: Generate project artifact description: Creates an antifact following the project's patterns and methods. Use when you need to create a new artifact in a bounded context/module. Use to create new entities, services, repositories, or any other artifact in the application. It internally uses the /generate command.
Usage
/generate [artifact] [bounded-context] [name]
Instructions
- The
/generatecommand will tell you if you choose correctly an existent and valid artifact. Careful with this. - [MUST DO] You must call the
code_understanderskill if you didn't make it yet. This file contains the artifact implementation details and rules, and you MUST READ the respective artifact reference before calling the /generate command. - [MUST DO] Use the
structure_understanderskill, if you didn't make it yet, to read and understand the folder structure of the project, before starting implementing.