# 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 o…

- **Type:** Skill
- **Install:** `agentstack add skill-timseriakov-likec4-architecture-skill-likec4-architecture`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [timseriakov](https://agentstack.voostack.com/s/timseriakov)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [timseriakov](https://github.com/timseriakov)
- **Source:** https://github.com/timseriakov/likec4-architecture-skill/tree/master/likec4-architecture
- **Website:** https://likec4.dev

## Install

```sh
agentstack add skill-timseriakov-likec4-architecture-skill-likec4-architecture
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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.

2. Locate model files:

- Reuse existing `.c4`/`.likec4` files when present.
- If missing, bootstrap from `assets/likec4-starter/docs/architecture/model.c4`.

3. Model structure before visuals:

- Define stable element IDs and meaningful names.
- Add explicit directional relationships with short labels.
- Add technology/description fields where helpful.

4. Keep views focused:

- Build small, purposeful views.
- Split crowded diagrams by domain, team, or bounded context.

5. 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:

```sh
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 & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [timseriakov](https://github.com/timseriakov)
- **Source:** [timseriakov/likec4-architecture-skill](https://github.com/timseriakov/likec4-architecture-skill)
- **License:** MIT
- **Homepage:** https://likec4.dev

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-timseriakov-likec4-architecture-skill-likec4-architecture
- Seller: https://agentstack.voostack.com/s/timseriakov
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
