kurniacf

Code Design — Design skill for Claude Code

Design community

Skill — Code Design (SOLID + project idioms).

How to install Code Design

Installs to ~/.claude/skills/kurniacf-lontar-method-ai-agent-code-design/SKILL.md

Terminal
mkdir -p ~/.claude/skills/kurniacf-lontar-method-ai-agent-code-design && curl -fsSL https://raw.githubusercontent.com/kurniacf/lontar-method-ai-agent/HEAD/skills/code-design.md -o ~/.claude/skills/kurniacf-lontar-method-ai-agent-code-design/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Code Design does

Skill — Code Design (SOLID + project idioms)

Go (backend)

Clean Architecture layering (enforced)

handler → usecase → repository / gateway → entity
  • Never import between layers except downward. Handler never instantiates a repo.
  • Repositories return domain entities, not DTOs. Usecase maps entity ↔ DTO.
  • Entities hold behaviour (methods like IsBanned(), RecordLogin()) — not just data.

Go idioms we keep

  • context.Context is always the first parame

Alternatives in Design

  • Brand Guidelines — Apply Anthropic's official brand colors and typography to artifacts 94.1k ★
  • Od Contribute — Open a first-contribution PR (or bug issue) on nexu-io/open-design — works for non-coders too 91.8k ★
  • Export Diagram — Export a diagram-design HTML file to .svg and .png next to the source 27.2k ★

Full documentation available on GitHub

View Source Repository