setup-architecture-as-code

Revoir · 57
Indexé dans Registry

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
Qualité58/100 · Prometteur
Confiance57/100 · Do not auto-install
Audit72/100 · Revue nécessaire

Profil de l’actif

Agents de code et de développement

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

Voir la catégorie

Scénario

Agents de code

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

Adéquation Agent

Claude Code + Browser agents + CLI

Compatible avec Codex, Claude Code, Cursor, CLI ou des Agents personnalisés.

Installer

Prêt

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

Maintenance

À jour

1 jours depuis le dernier push

Risque

Revue nécessaire

Dependency or permission surface needs review

Qualité GitHub

14

58/100 Qualité · 65/100 Confiance

Tags de couverture

CodingAgents de codeAgents de codeagent-skill

Notes de revue

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

Carte d’adoption Agent

Confiance, audit et préparation à l’installation en un coup d’œil

Ces scores combinent les métadonnées publiques du dépôt, les signaux de revue OpenAgentSkill, la fraîcheur de maintenance et la préparation à l’installation. Ils servent à présélectionner et ne remplacent pas la revue humaine.

Qualité

Prometteur
58

Useful candidate, but compare it with alternatives before adopting.

Confiance

Do not auto-install
57

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

Audit

Revue nécessaire
72

Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.

Trust Score OpenAgentSkill v5

Revue humaine avant installation

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

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

14 stars GitHub

Activité du dépôt

14 stars et 0 forks

Maintenance

1 jours depuis le dernier push

Licence

MIT

Installer

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

Sécurité d’installation

Chemin d’installation standard de package ou runtime

Surface de permissions

shell or command execution, filesystem or document access

Résultats Agent

Pas encore de données de résultats Agent

Documentation

Contexte README/SKILL.md solide

Résumé des risques

Revoir avant 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

Préparation à l’installation

Chemin d’installation disponible

  • Le chemin d’installation est disponible
  • La preuve du dépôt est disponible
  • La licence est déclarée
  • Pas encore de preuve de résultat Agent-Proven

Métadonnées lisibles par Agent

Données de décision lisibles par machine pour ce skill.

Utilisez ce bloc ou le JSON intégré pour décider si un Agent doit installer ce skill, choisir une alternative ou demander d’abord une revue humaine.

Ouvrir JSON

Tâches adaptées

  • workflows Agents de code
  • Équipes Claude Code
  • builders willing to evaluate younger projects
  • Inspect source files

Agents adaptés

CodexClaude CodeCursorOpenAgentSkill CLIBrowser agentsCLI

Décision d’installation

Commande
npx skills add jrjsmrtn/project-orchestration-skills --skill setup-architecture-as-code
Politique
Bloquer
Revue humaine
Oui

Confiance et risque

Confiance
57/100
Audit
72/100
Niveau de risque
Revue nécessaire

Boucle de résultat

Endpoint
/api/agent/outcome
ID d’événement
resolve
Résultats
5

Commande d’installation

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

Ne pas utiliser quand

  • Équipes qui nécessitent un SLA soutenu par le fournisseur
  • 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.
  • Indices de permissions à haut risque : Shell or command execution, Secrets or environment access

Sécurité Agent v2

28/100 · Éviter l’installation automatique

Blocked for auto-installBloquer

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.

Résoudre via API

Élevé

Exécution shell ou de commande

Les métadonnées de la skill font référence à des workflows de terminal, CLI, shell, sous-processus ou exécution de commande.

Moyen

Accès réseau

La skill récupère probablement des pages distantes, API, dépôts ou services externes.

Moyen

Accès au système de fichiers

La skill peut lire ou écrire des fichiers de projet, documents, artefacts générés ou l’état local de l’espace de travail.

Élevé

Secrets or environment access

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

  • Indices de permissions à haut risque : Shell or command execution, Secrets or environment access
  • Dependency or permission surface needs review

Cibles d’installation

Installer ce skill dans votre workflow Agent

Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.

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

Plan de résolution Agent

Laissez un Agent vérifier la pertinence avant l’installation.

L’API Resolve renvoie la skill sélectionnée, des alternatives, la politique de sécurité, les notes d’audit, la cible d’installation et un prompt prêt à l’emploi.

Ouvrir le plan texte

L’Agent doit vérifier

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

Copier le 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.

Relais Agent

Donnez à l’Agent le chemin d’installation, pas un autre annuaire.

Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.

Ouvrir l’API d’installation

Prompt Agent

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

Métadonnées Registry

Profil lisible par Agent pour la sélection automatique de skills.

L’API Registry fournit les signaux de décision, confiance, audit, cas d’usage et installation sans analyser l’interface.

Ouvrir Manifest

Adéquation Agent

60/100

Agents de code

Plateformes

Claude Code, Browser agents

Rapport d’audit

Revue nécessaire · 72/100

Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.

Voir le rapport d’auditVoir le rapport d’évaluation

Panneau de décision Agent

Fallback candidate for Coding agents

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

60
Préparation
Prototype
Étape

Rôle dans la pile

Candidate de secours

Pertinence principale

Agents de code

Libellé de confiance

Prototyper d’abord

Chemin d’installation

Commande prête

À utiliser lorsque

  • workflows Agents de code
  • Équipes Claude Code
  • builders willing to evaluate younger projects

Preuves

  • recent repository activity
  • install command or GitHub repo available
  • profil qualité 58/100
  • 11 événements OpenAgentSkill

revoir d’abord

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

Chemin d’implémentation

  1. 1Installez-le dans un Agent en sandbox et exécutez une tâche de Agents de code de bout en bout.
  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.

Profil de confiance

Do not auto-install

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

57
Trust Score OpenAgentSkill

Adoption GitHub

Corriger

14 stars GitHub

Activité stars/forks

Corriger

14 stars et 0 forks; l’activité des issues n’est pas disponible dans les métadonnées actuelles

Maintenance récente

Validé

1 jours depuis le dernier push

Clarté de licence

Validé

MIT

Signaux positifs

  • Revue IA approuvée
  • Le chemin d’installation est disponible
  • La preuve du dépôt est disponible
  • Dépôt maintenu récemment
  • La commande d’installation ne présente aucun motif de haut risque évident
  • La boucle de résultats est prête mais nécessite la première exécution réelle de l’Agent

Réviser avant installation

  • 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
  • Pas encore de rapports de résultats Agent réels
  • Une revue humaine est requise avant une installation sans surveillance

Action recommandée

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

Profil qualité

Prometteur candidat pour les workflows Agent

Useful candidate, but compare it with alternatives before adopting.

58
Stars GitHub
14
Actualité
il y a 1 jours
Prêt à installer
Oui
Licence
MIT
Réviser avant installation: Low GitHub adoption signal · The skill uses a symlink command that is Unix-specific; Windows users may need an alternative approach.

Adéquation au workflow

Utilisez cette skill dans ces scénarios

Adéquation au workflow

Ajouter à un workflow complet

Liste d’alternatives

Comparer avant installation

Similar skills that may fit this task.

Tout comparer

Vue d’ensemble

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

Détails techniques

Version
1.0.0
Licence
MIT
Dernière mise à jour
21 août 2026
Publié
21 août 2026

Instantané de décision

Candidate de secours

60
Prêt
Prototype
Étape

recent repository activity

Audit

Revue d’installation

Revue d’installation et d’adoption

72
Revue nécessaire
Sécurité
70/100
Maintenance
100/100
Installer
92/100
Ouvrir l’audit completVoir le rapport d’évaluation

Preuves validées par Agent

Preuves validées par Agent

Rapports après resolve, revue, installation et une exécution limitée.

0
Validé
Needs first agent runAuto-installation: revoir d’abordDernier: Inconnu
Taux de réussite
Échec récent
Résultats
0
Qualité de sortie
Échecs
0
Non pertinent
0
Installations
0
Bloqué par le risque
0
Configuration requise
0
Production
0

Aucune donnée de résultat Agent pour l’instant. La première exécution peut signaler succès, besoin de configuration, blocage de risque, échec ou non-pertinence via /api/agent/outcome.

Installer

Ajouter au workflow Agent

Gratuit et open source. Examinez le rapport avant l’installation dans des Agents de production.

Boucle de croissance

Kit de partage

X

Brouillon guidé par scénario pour setup-architecture-as-code, prêt pour une publication manuelle sur X.

Note du curateur
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
Ouvrir le brouillon X
Réponse facultative avec commande d’installation
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...

Source de la fiche

Indexé par Registry

Revendiable

Cette fiche a été indexée à partir de sources publiques et n’est pas marquée officielle tant qu’une revendication de mainteneur n’est pas approuvée.

Créateur
jrjsmrtn
Indexé par
Index communautaire OpenAgentSkill

L’attribution renvoie au dépôt public ou au profil du créateur. Les créateurs peuvent revendiquer la fiche pour mettre à jour les signaux de propriété.

Revendiquer ce skill

Revendication du propriétaire

Revendiquer cette fiche de skill

Cette fiche Indexé par Registry est attribuée à jrjsmrtn, mais n’est pas encore marquée officielle. Revendiquez-la pour ajouter un signal de propriétaire vérifié et rendre les futures mises à jour de lancement, d’installation et d’audit plus fiables.

Kit de backlinks créateur

Ajoutez les badges de preuve à votre README

Affichez la fiche canonique, les signaux actuels de confiance et d’audit, ainsi que de vraies preuves Agent-Proven là où les développeurs évaluent le dépôt.

[![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)

Auteur

J

jrjsmrtn

@jrjsmrtn

Adéquation plateforme

Signaux de santé

Stars GitHub
14
Score de qualité
32/100
Dernier push GitHub
21 août 2026
Indications de framework
Inconnu
Vues OpenAgentSkill
11
Copies d’installation
0
Clics sortants
0

Signal de communauté

Indiquez si ce skill semble utile à votre workflow Agent. Les retours agrégés améliorent le classement au fil du temps.

Confiance et sécurité

Do not auto-install

57
  • Adoption GitHub14 stars GitHubCorriger
  • Activité stars/forks14 stars et 0 forks; l’activité des issues n’est pas disponible dans les métadonnées actuellesCorriger
  • Maintenance récente1 jours depuis le dernier pushValidé
  • Clarté de licenceMITValidé
  • Complétude README/SKILL.mdLes métadonnées incluent suffisamment de contexte d’usage et de workflowValidé
  • Risque dépendances/runtimecommand execution surface, external package install surfaceVérifier