Generate project artifact

Community

Create perfect project artifacts that follow established patterns.

AuthorRafael-Rueda
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the guesswork and manual effort of creating new code artifacts in complex projects. It ensures every new file follows the exact patterns, conventions, and architecture of the existing codebase.

Core Features & Use Cases

  • Pattern-Aware Generation: Creates artifacts that perfectly match the project's established conventions.
  • Context Preparation: Automatically runs structure and code understanding skills before generation.
  • Artifact Validation: Uses the /generate command to validate artifact choices before implementation.
  • Use Case: When you need to add a new "Product" bounded context to a DDD project, use this Skill to generate all required artifacts (Product entity, CreateProduct use-case, Products repository, Products controller) that follow the exact same patterns as existing code.

Quick Start

To generate a new artifact, use the command format:

/generate [artifact] [bounded-context] [name]

For example, to create a new "Order" entity in the "orders" bounded context:

  1. First, the skill will automatically run structure_understander to understand the project architecture
  2. Then it will consult code_understander references for the entity pattern
  3. Finally, it will generate a perfectly formatted order.entity.ts file at src/domain/orders/enterprise/entities/

The artifact will include proper interfaces, getters/setters, static create methods, and follow all established conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Generate project artifact
Download link: https://github.com/Rafael-Rueda/sardius/archive/main.zip#generate-project-artifact

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository