Skip to main content

6 posts tagged with "patterns"

View All Tags

Modular Claude Code Skills: Building a Dependency Graph That Doesn't Exist

· 10 min read
Pere Pages
Software Engineer
A small graph of connected nodes with one shared hub node highlighted, representing skills depending on a common skill

Claude Code skills have no requires: field, no imports, no dependency resolver — and yet you can build a real graph of skills that depend on each other. This post lays out the mental model, the three composition mechanisms that fall out of it, and a refactor of this blog's own skill folder as a case study in what happens when you skip them.

A history about Mixins

· 6 min read
Pere Pages
Software Engineer
Developer with bricks

Mixins are a concept in object-oriented programming where a class can include the properties and methods of another class without extending it. Essentially, it's a way to add functionality to a class from multiple sources.

Exploring a Layered Architecture Approach in React Applications

· 5 min read
Pere Pages
Software Engineer
Developer with blackboard

Recently, we had an in-depth discussion on structuring React applications using a layered architectural approach. This method aligns with fundamental software architecture principles such as the Single Responsibility Principle (SRP) and the Single Source of Truth (SSoT). It shares similarities with Clean Architecture and Layered Architecture and, interestingly, shows parallels with the Model-View-Controller (MVC) pattern in some respects. We are also applying Dependency Inversion principle (DIP), depending on abstractions rather than concrete implementations of lower-level modules.