Code Practices and Pattern Understanding Capabillity

Read artifact references to understand code patterns and implement features.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/Rafael-Rueda/sardius --skill code-practices-and-pattern-understanding-capabillity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Practices and Pattern Understanding Capabillity
Source: https://github.com/Rafael-Rueda/sardius/tree/main/.claude/skills/code_understander
Command: npx skills add https://github.com/Rafael-Rueda/sardius --skill code-practices-and-pattern-understanding-capabillity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the challenge of understanding complex code patterns, conventions, and best practices in established projects. It provides immediate access to implementation guidelines so you can write code that fits perfectly with existing architecture.

Core Features & Use Cases

  • Pattern Reference Library: Contains detailed guides for 13 different artifact types (controllers, entities, use-cases, etc.).
  • Smart Reading Order: Provides a fallback strategy for reading files when additional context is needed.
  • Artifact-Specific Rules: Each reference includes exact implementation patterns, required imports, and file locations.
  • Use Case: When tasked with adding a new feature to a DDD project, use this Skill to understand exactly how to create a new entity, value object, use case, repository, and controller that follow the project's established patterns.

Quick Start

Before implementing any feature, activate this skill and consult the relevant reference file. For example, to create a new controller:

  1. Read .claude/skills/code_understander/references/controller.reference.md
  2. Follow the exact pattern for NestJS controllers with OpenAPI decorators
  3. Use the provided reference files as templates
  4. Place the file in the correct location: src/http/[module]/controllers/[name].controller.ts

This ensures your code matches the project's conventions perfectly.

Frequently Asked Questions about Code Practices and Pattern Understanding Capabillity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I understand and follow existing code patterns in a DDD NestJS project?

Read artifact-specific reference guides for your target component type (entity, controller, use case, etc.). Each reference contains exact implementation patterns, required imports, and file locations that match your project's established conventions, enabling you to write code that fits seamlessly.

What's the best way to implement a new feature while maintaining project conventions?

Consult the pattern reference library before coding. Identify the artifact types needed (controller, entity, repository), follow the provided templates and file placement rules, and use the smart reading order to fill gaps. This ensures your feature adheres to project architecture and coding standards.

Can I use this to understand TypeScript and NestJS best practices across my codebase?

Yes. The skill provides guides for 13 artifact types with TypeScript and NestJS-specific patterns, decorators, and conventions. Use it to grasp recurring architectural patterns, linting conformity, and implementation guidelines across your entire project.

How do I recognize code patterns and conventions when joining an established project?

Reference the pattern library to identify how artifacts like controllers, entities, and use cases are structured in your project. The fallback reading strategy reveals implementation patterns and recurring conventions, accelerating your understanding of the codebase architecture.

Does this work for Domain-Driven Design implementation in TypeScript projects?

Yes. The skill includes detailed guides for DDD artifacts—entities, value objects, use cases, repositories—with exact patterns and file organization for TypeScript and NestJS projects following DDD principles and coding conventions.

What should I do after understanding patterns to implement new code automatically?

Feed the pattern insights to the generate skill to automatically produce new features, controllers, or entities that conform to your project's established architecture and conventions, ensuring consistency across implementations.