likec4-architecture

Build and maintain software architecture as code with LikeC4 DSL. Use when tasks mention architecture diagrams, C4/context/container/component views, system landscape, dependency/integration maps, or when the user wants architecture generated/evolved from code. Apply for creating new `.c4`/`.likec4` models, updating existing models, validating with LikeC4 CLI, and preparing preview/build/export outputs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "likec4-architecture" with this command: npx skills add timseriakov/likec4-architecture-skill/timseriakov-likec4-architecture-skill-likec4-architecture

LikeC4 Architecture

Model software architecture in LikeC4, keep it executable, and return validation-backed outputs.

Workflow

  1. Scope the model:
  • Identify system boundary and audience.
  • Start with context and container views unless user asks otherwise.
  1. Locate model files:
  • Reuse existing .c4/.likec4 files when present.
  • If missing, bootstrap from assets/likec4-starter/docs/architecture/model.c4.
  1. Model structure before visuals:
  • Define stable element IDs and meaningful names.
  • Add explicit directional relationships with short labels.
  • Add technology/description fields where helpful.
  1. Keep views focused:
  • Build small, purposeful views.
  • Split crowded diagrams by domain, team, or bounded context.
  1. Validate and package:
  • Run npx likec4 validate and fix all errors.
  • Provide npx likec4 start preview command.
  • If requested, provide build/export commands.

Required Quality Gates

  • Do not leave unlabeled ambiguous relationships.
  • Do not leave orphan elements that never appear in views.
  • Prefer domain names over implementation noise in element titles.
  • Finish only after successful CLI validation.

Command Set

Use the minimal commands needed for the task:

npx likec4 validate
npx likec4 start
npx likec4 build -o ./dist
npx likec4 export png -o ./assets/architecture

Output Contract

When architecture files change, return:

  1. Changed files.
  2. Validation result.
  3. One-line purpose for each view.
  4. Preview/build/export command(s) relevant to the request.

Resources

  • CLI and modeling checklist: references/likec4-checklist.md
  • Starter model template: assets/likec4-starter/docs/architecture/model.c4
  • Bootstrap helper: scripts/bootstrap_likec4_starter.sh

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated
Coding

clawhub-rate-limited-publisher

Queue and publish local skills to ClawHub with a strict 5-per-hour cap using the local clawhub CLI and host scheduler.

Archived SourceRecently Updated