setup-architecture-as-code

REVIEW · 57
Registry indexed

Establish architecture-as-code practice using C4 modeling and Structurizr DSL. Use after bootstrap-project, when establishing architecture documentation, or when migrating from diagram-based to code-based architecture.

Verified installs0
Stars14
Version1.0.0
Quality58/100 · Promising
Trust57/100 · Do not auto-install
Audit72/100 · Needs review

Supply asset profile

Coding and developer agents

Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.

Browse track

Scenario

Coding agents

I need a coding agent that can understand a repository, edit code, and review pull requests.

Agent fit

Claude Code + Browser agents + CLI

Codex, Claude Code, Cursor, CLI, or custom agents.

Install

Ready

npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code

Maintenance

fresh

1d since push

Risk

Needs review

Dependency or permission surface needs review

GitHub quality

14

58/100 Quality · 65/100 Trust

Coverage tags

CodingCoding agentscoding-agentsagent-skill

Review notes

Dependency or permission surface needs review · Permission surface may require sandboxing

Agent adoption scorecard

Trust, audit, and install readiness at a glance

These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.

Quality

Promising
58

Useful candidate, but compare it with alternatives before adopting.

Trust

Do not auto-install
57

Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.

Audit

Needs review
72

A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.

OpenAgentSkill Trust Score v5

Human review before install

Choose a stronger alternative or inspect the source manually before any install attempt.

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

14 GitHub stars

Repo activity

14 stars, 0 forks

Maintenance

1d since push

License

MIT

Install

npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code

Install safety

standard package or runtime install path

Permission surface

shell or command execution, filesystem or document access

Agent outcomes

No agent outcome data yet

Docs

Strong README/SKILL.md context

Risk summary

Review before production

  • The skill uses a symlink command that is Unix-specific; Windows users may need an alternative approach.
  • Low GitHub adoption signal
  • Quality score needs review
  • Permission surface needs review: shell or command execution, filesystem or document access

Install readiness

Install path available

  • Install path is available
  • Repository evidence is available
  • License is declared
  • No Agent Proven outcome evidence yet

Agent-readable metadata

Machine-readable decision data for this skill.

Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.

Open JSON

Suited tasks

  • Coding agents workflows
  • Claude Code teams
  • builders willing to evaluate younger projects
  • Inspect source files

Suited agents

CodexClaude CodeCursorOpenAgentSkill CLIBrowser agentsCLI

Install decision

Command
npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code
Policy
block
Human review
yes

Trust and risk

Trust
57/100
Audit
72/100
Risk level
Needs review

Outcome loop

Endpoint
/api/agent/outcome
Event ID
resolve
Outcomes
5

Install command

npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code

Do not use when

  • teams that need a vendor-supported SLA
  • production agents without a repository review
  • Low GitHub adoption signal
  • The skill uses a symlink command that is Unix-specific; Windows users may need an alternative approach.
  • High-risk permission hints: Shell or command execution, Secrets or environment access

Agent safety v2

28/100 · Avoid automatic install

Blocked for auto-installblock

This skill should not be selected by an agent without explicit human security review.

Do not auto-install. Inspect the source, dependencies, and permission surface first.

Resolve via API

high

Shell or command execution

Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.

medium

Network access

Skill likely fetches remote pages, APIs, repositories, or external services.

medium

Filesystem access

Skill may read or write project files, documents, generated artifacts, or local workspace state.

high

Secrets or environment access

Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.

  • High-risk permission hints: Shell or command execution, Secrets or environment access
  • Dependency or permission surface needs review

Install targets

Install this skill in your agent workflow

Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install jrjsmrtn-setup-architecture-as-code

Agent resolve plan

Let an agent verify fit before installing.

The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.

Open text plan

Agent should check

  • Task fit and alternatives from Resolve API.
  • Audit score, trust score, and safety policy warnings.
  • Install target compatibility for Codex, Claude Code, Cursor, or CLI.

Copy prompt

Task: Use setup-architecture-as-code in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20setup-architecture-as-code%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/jrjsmrtn-setup-architecture-as-code/install
Install command: npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent handoff

Give an agent the install path, not another directory page.

Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.

Open install API

Agent prompt

Use setup-architecture-as-code for this task. Review https://www.openagentskill.com/api/skills/jrjsmrtn-setup-architecture-as-code/install, then install with: npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code

Registry metadata

Agent-readable profile for automatic skill selection.

This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.

Open manifest

Agent fit

60/100

Coding agents

Platforms

Claude Code, Browser agents

Audit report

Needs review · 72/100

A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.

View audit reportView eval report

Agent decision cockpit

Fallback candidate for Coding agents

Prototype with this skill first; keep a fallback candidate ready.

60
Readiness
Prototype
Stage

Role in stack

Fallback candidate

Primary fit

Coding agents

Trust label

Prototype first

Install path

Command ready

Use when

  • Coding agents workflows
  • Claude Code teams
  • builders willing to evaluate younger projects

Evidence

  • recent repository activity
  • install command or GitHub repo available
  • 58/100 quality profile
  • 11 OpenAgentSkill engagement events

review first

  • Low GitHub adoption signal
  • The skill uses a symlink command that is Unix-specific; Windows users may need an alternative approach.

Implementation path

  1. 1Install it in a sandbox agent and run one Coding agents task end to end.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Trust profile

Do not auto-install

Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.

57
OpenAgentSkill Trust Score

GitHub adoption

FIX

14 GitHub stars

Stars/forks activity

FIX

14 stars, 0 forks; issue activity unavailable in current metadata

Recent maintenance

PASS

1d since push

License clarity

PASS

MIT

Good signals

  • AI review approved
  • Install path is available
  • Repository evidence is available
  • Recently maintained repository
  • Install command has no obvious high-risk pattern
  • Outcome loop is ready but needs first real agent run

Review before install

  • The skill uses a symlink command that is Unix-specific; Windows users may need an alternative approach.
  • Low GitHub adoption signal
  • Quality score needs review
  • Permission surface needs review: shell or command execution, filesystem or document access
  • GitHub adoption: 14 GitHub stars
  • Stars/forks activity: 14 stars, 0 forks; issue activity unavailable in current metadata
  • Dependency/runtime risk: command execution surface, external package install surface
  • Permission surface: shell or command execution, filesystem or document access
  • No real agent outcome reports yet
  • Human review required before unattended installation

Recommended action

Choose a stronger alternative or inspect the source manually before any install attempt.

Quality profile

Promising candidate for agent workflows

Useful candidate, but compare it with alternatives before adopting.

58
GitHub stars
14
Freshness
1d ago
Install ready
Yes
License
MIT
Review before install: Low GitHub adoption signal · The skill uses a symlink command that is Unix-specific; Windows users may need an alternative approach.

Workflow fit

Use this skill in these scenarios

Workflow fit

Add it to a complete workflow

Alternative shortlist

Compare before you install

Similar skills that may fit this task.

Compare all

Overview

--- name: setup-architecture-as-code description: Establish architecture-as-code practice using C4 modeling and Structurizr DSL. Use after bootstrap-project, when establishing architecture documentation, or when migrating from diagram-based to code-based architecture. metadata: author: "Georges Martin <jrjsmrtn@gmail.com>" version: "0.1.34" license: MIT ---

# Setup Architecture-as-Code

Establish architecture-as-code practice using C4 modeling and Structurizr DSL.

## When to Use

- After running `bootstrap-project` skill - When establishing architecture documentation for a project - When migrating from diagram-based to code-based architecture documentation - When you need version-controlled, validated architecture models

## What is Architecture-as-Code?

Architecture-as-Code treats architecture documentation like source code:

| Traditional Diagrams | Architecture-as-Code | |---------------------|---------------------| | Draw in GUI tools | Define in text/DSL | | Manual updates | Automated validation | | Binary files (PNG, VSDX) | Text files (version control friendly) | | Diagrams diverge from reality | Single source of truth | | Hard to review changes | PR-reviewable changes | | No validation | Syntax + semantic validation |

**Implementation Stack**: - **Modeling Approach**: C4 Model (Context, Container, Component, Code) - **Definition Language**: Structurizr DSL - **Validation & Inspection**: structurizr/structurizr (consolidated image, replaces deprecated `structurizr/cli` and `structurizr/lite`) - **Visualization**: structurizr/structurizr `local` subcommand or Structurizr Cloud

## Required Inputs

1. **Project/System name** 2. **System description** (1-2 sentences) 3. **Key users/personas** (who interacts with the system) 4. **External systems** (what the system integrates with) 5. **Main containers** (applications, databases, services) 6. **Technology stack** (languages, frameworks, databases)

## C4 Model Overview

The C4 model provides four levels of abstraction (zoom levels):

| Level | Name | Purpose | Audience | |-------|------|---------|----------| | 1 | System Context | System in its environment | Everyone | | 2 | Container | Deployable units | Technical staff | | 3 | Component | Internal structure | Developers | | 4 | Code | Class/module level | Developers (often generated) |

**Key Principle**: Start with Level 1-2, add Level 3 only when needed. Level 4 is usually generated from code.

## Workflow

### Step 1: Create Directory Structure

```bash mkdir -p architecture/shared mkdir -p docs/architecture # Structurizr-specific docs (h2-first, numbered files) # Symlink so !adrs and !docs directives can reach docs/ from architecture/ ln -s ../docs architecture/docs ```

The symlink is required because Structurizr restricts `!adrs` and `!docs` paths to the same directory or subdirectories of the DSL file — it cannot traverse parent directories.

**Why `docs/architecture/` and not `docs/explanation/`?** Structurizr silently strips h1 headings (it auto-generates h1 from the element name). Diátaxis docs use h1 as their title, so pointing `!docs` at a Diátaxis directory would lose those titles. Keep Structurizr docs in a dedicated directory with h2-first files.

### Step 2: Create Workspace File

Create `architecture/workspace.dsl`:

```dsl workspace "[Project Name]" "[Brief description]" {

!identifiers hierarchical !adrs docs/adr !docs docs/architecture

model { # ===== USERS/ACTORS ===== user = person "User" "Primary user of the system" "User"

# Add other personas as needed: # admin = person "Administrator" "System administrator" "Admin" # developer = person "Developer" "API consumer" "Developer"

# ===== EXTERNAL SYSTEMS ===== # externalSystem = softwareSystem "External System" "Description" "External"

# ===== THE SYSTEM ===== system = softwareSystem "[System Name]" "[System description]" {

# ----- CONTAINERS -----

# Web Application (if applicable) webApp = container "Web Application" "Provides user interface" "[Framework]" "Web"

# API Service (if applicable) api = container "API Service" "Provides REST/GraphQL API" "[Framework]" "API"

# Database database = container "Database" "Stores application data" "[Database Technology]" "Database"

# Background Workers (if applicable) # worker = container "Background Worker" "Processes async tasks" "[Technology]" "Worker"

# ----- COMPONENTS (for main container) ----- # Uncomment and customize for your architecture:

# api { # authComponent = component "Authentication" "Handles user auth" "[Module]" # businessComponent = component "Business Logic" "Core domain logic" "[Module]" # dataComponent = component "Data Access" "Database operations" "[Module]" # } }

# ===== RELATIONSHIPS =====

# User interactions user -> system "Uses" user -> system.webApp "Interacts with" "HTTPS"

# Internal relationships system.webApp -> system.api "Makes API calls to" "HTTP/JSON" system.api -> system.database "Reads from and writes to" "SQL"

# External system relationships (if any) # system.api -> externalSystem "Integrates with" "HTTPS" }

views { # ===== SYSTEM CONTEXT VIEW ===== systemContext system "SystemContext" { include * autoLayout description "System Context diagram showing [System Name] and its environment" }

# ===== CONTAINER VIEW ===== container system "Containers" { include * autoLayout description "Container diagram showing the main deployable units" }

# ===== COMPONENT VIEW (optional) ===== # Uncomment when you have components defined: # component system.api "Components" { # include * # autoLayout # description "Component diagram for the API service" # }

# ===== STYLES ===== styles { element "Person" { shape Person background #08427B color #ffffff } element "Software System" { background #1168BD color #ffffff } element "External" { background #999999 color #ffffff } element "Container" { background #438DD5 color #ffffff } element "Component" { background #85BBF0 color #000000 } element "Database" { shape Cylinder } element "Web" { shape WebBrowser } element "API" { shape Hexagon } element "Worker" { shape Robot } } } } ```

### Step 3: Create Technology-Specific Templates

#### Elixir/Phoenix Template

```dsl workspace "[Project Name]" "Elixir/Phoenix application" {

!identifiers hierarchical !adrs docs/adr !docs docs/architecture

model { user = person "User" "Application user" "User"

system = softwareSystem "[System Name]" "Phoenix web application" {

phoenix = container "Phoenix Application" "Web application and API" "Elixir/Phoenix" "Web"

liveview = container "LiveView UI" "Real-time user interface" "Phoenix LiveView" "Web"

# If using Ash Framework: # ash = container "Ash Resources" "Domain logic and resources" "Ash Framework" "Component"

postgres = container "PostgreSQL" "Primary data store" "PostgreSQL 16" "Database"

# Optional: Background jobs # oban = container "Oban Workers" "Background job processing" "Oban" "Worker" }

user -> system.liveview "Uses" "HTTPS" system.liveview -> system.phoenix "LiveView connections" "WebSocket" system.phoenix -> system.postgres "Queries" "Ecto" }

views { systemContext system "SystemContext" { include * autoLayout }

container system "Containers" { include * autoLayout }

styles { element "Person" { shape Person background #08427B color #ffffff } element "Software System" { background #6B4C9A color #ffffff } element "Container" { background #9B59B6 color #ffffff } element "Database" { shape Cylinder background #336791 } element "Web" { shape WebBrowser } } } } ```

#### Python/FastAPI Template

```dsl workspace "[Project Name]" "Python FastAPI application" {

!identifiers hierarchical !adrs docs/adr !docs docs/architecture

model { user = person "User" "API consumer" "User"

system = softwareSystem "[System Name]" "FastAPI service" {

api = container "FastAPI Service" "REST API" "Python/FastAPI" "API"

postgres = container "PostgreSQL" "Primary data store" "PostgreSQL 16" "Database"

# Optional: Redis for caching/sessions # redis = container "Redis" "Cache and session store" "Redis" "Database"

# Optional: Celery workers # celery = container "Celery Workers" "Async task processing" "Celery" "Worker" }

user -> system.api "Calls" "HTTPS/JSON" system.api -> system.postgres "Queries" "SQLAlchemy" }

views { systemContext system "SystemContext" { include * autoLayout }

container system "Containers" { include * autoLayout }

styles { element "Person" { shape Person background #08427B color #ffffff } element "Software System" { background #306998 color #ffffff } element "Container" { background #FFD43B color #000000 } element "Database" { shape Cylinder background #336791 } element "API" { shape Hexagon } } } } ```

### Step 4: Create Model Overview

Create `architecture/README.md`:

```markdown # [Project Name] Architecture-as-Code

## What is Architecture-as-Code?

This project uses **Architecture-as-Code**: architecture models defined in text files (Structurizr DSL), version-controlled alongside source code, and validated automatically.

**Benefits**: - **Version Control**: Architecture changes tracked in git history - **Code Review**: Architecture changes reviewable in PRs - **Validation**: Syntax and semantic errors caught automatically - **Single Source of Truth**: Model generates diagrams, not vice versa - **AI-Friendly**: Text-based format readable by AI assistants

## Model Structure

``` architecture/ ├── workspace.dsl # C4 model definition (THE source of truth) ├── shared/ # Shared DSL fragments (!include targets) │ └── _styles.dsl # Unified element/relationship styles ├── docs -> ../docs # Symlink (enables !adrs and !docs directives) ├── README.md # This file └── diagrams/ # Generated exports (optional, gitignored) ```

The `docs` symlink allows workspace files to use `!adrs docs/adr` and `!docs docs/architecture` — Structurizr requires these

Technical details

Version
1.0.0
License
MIT
Last updated
Aug 21, 2026
Published
Aug 21, 2026

Decision snapshot

Fallback candidate

60
Ready
Prototype
Stage

recent repository activity

Audit

Install review

Install and adoption review

72
Needs review
Security
70/100
Maintenance
100/100
Install
92/100
Open full auditView eval report

Agent-proven evidence

Agent-proven evidence

Outcome reports after resolve, review, install, and one narrow run.

0
Proven
Needs first agent runAuto-install: review firstLast: Unknown
Success rate
Recent failure
Outcomes
0
Output quality
Failed
0
Not relevant
0
Installs
0
Risk blocked
0
Setup needed
0
Production
0

No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.

Install

Add to agent workflow

Free and open source. Review the report before installing into production agents.

Growth loop

Share kit

X

Scenario-led draft for setup-architecture-as-code, ready for a manual X post.

Curator note
setup-architecture-as-code: Establish architecture-as-code practice using C4 modeling and Structurizr DSL. Use after boot...

14 stars

https://www.openagentskill.com/skills/jrjsmrtn-setup-architecture-as-code?ref=x
Open X draft
Optional reply with install command
Listing + install path for setup-architecture-as-code:
https://www.openagentskill.com/skills/jrjsmrtn-setup-architecture-as-code?ref=x

Install: npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-a...

Listing source

Registry indexed

Claimable

This listing was indexed from public sources and is not marked official until a maintainer claim is approved.

Creator
jrjsmrtn
Indexed by
OpenAgentSkill community index

Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.

Claim this skill

Owner claim

Claim this skill listing

This Registry indexed listing is attributed to jrjsmrtn but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.

Creator backlink kit

Add the evidence badges to your README

Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/jrjsmrtn-setup-architecture-as-code?metric=listed&label=Listed)](https://www.openagentskill.com/skills/jrjsmrtn-setup-architecture-as-code)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/jrjsmrtn-setup-architecture-as-code?metric=trust&label=Trust)](https://www.openagentskill.com/skills/jrjsmrtn-setup-architecture-as-code)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/jrjsmrtn-setup-architecture-as-code?metric=audit&label=Audit)](https://www.openagentskill.com/skills/jrjsmrtn-setup-architecture-as-code/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/jrjsmrtn-setup-architecture-as-code?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/jrjsmrtn-setup-architecture-as-code)

Author

J

jrjsmrtn

@jrjsmrtn

Health signals

GitHub stars
14
Quality score
32/100
Last GitHub push
Aug 21, 2026
Framework hints
Unknown
OpenAgentSkill views
11
Install copies
0
Outbound clicks
0

Community signal

Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.

Trust & safety

Do not auto-install

57
  • GitHub adoption14 GitHub starsFIX
  • Stars/forks activity14 stars, 0 forks; issue activity unavailable in current metadataFIX
  • Recent maintenance1d since pushPASS
  • License clarityMITPASS
  • README/SKILL.md completenessMetadata includes enough usage and workflow contextPASS
  • Dependency/runtime riskcommand execution surface, external package install surfaceCHECK