src/autoskillit/skills_extended/arch-lens-operational/SKILL.md
Create Operational architecture diagram showing CLI workflows, configuration, and observability. Administration lens answering "How is it run and monitored?"
npx skillsauth add talont-org/autoskillit arch-lens-operationalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cognitive Mode: Operational Primary Question: "How is it run and monitored?" Focus: CLI Workflows, Configuration, Observability, Task Commands
/autoskillit:arch-lens-operational or /autoskillit:make-arch-diag operationalNEVER:
run_in_background: true is prohibited)ALWAYS:
/autoskillit:mermaid skill using the Skill tool - this is MANDATORYtemp/arch-lens-operational/...
save path to absolute by prepending the full CWD:
diagram_path = /absolute/cwd/temp/arch-lens-operational/{filename}.md
This token is MANDATORY — the pipeline cannot proceed without it./autoskillit:arch-lens-operational [context_path]
If a context_path positional argument is present:
context_pathIf no context_path is provided, skip this step and explore the full CWD in Step 1.
Spawn Explore subagents to investigate:
CLI Entry Points
Configuration
Task Automation
Logging & Monitoring
Status & Health
Reset & Recovery
Document common operator workflows:
CRITICAL - Analyze Read/Write Direction: For EVERY operational component:
Clearly categorize:
Example pattern (adjust to actual system):
1. Environment Variables (highest priority)
2. Secret files (e.g., .secrets.toml, .env.local)
3. Project config (e.g., config.yaml, settings.json)
4. Defaults (lowest priority)
Use flowchart with:
Direction: TB for hierarchical command structure
Subgraphs:
Node Styling:
cli class: CLI commandsphase class: Configuration sourcesstateNode class: State tracking (database, registry)output class: Monitoring outputshandler class: Task automation commandsShow Relationships:
Write the diagram to: {{AUTOSKILLIT_TEMP}}/arch-lens-operational/arch_diag_operational_{YYYY-MM-DD_HHMMSS}.md (relative to the current working directory)
After writing the diagram file, emit a structured output line:
IMPORTANT: Emit the structured output tokens as literal plain text with no markdown formatting on the token names. Do not wrap token names in
**bold**,*italic*, or any other markdown. The adjudicator performs a regex match on the exact token name — decorators cause match failure.
diagram_path = {absolute_path_to_diagram_file}
# Operational Diagram: {System Name}
**Lens:** Operational (Administration)
**Question:** How is it run and monitored?
**Date:** {YYYY-MM-DD}
**Scope:** {What was analyzed}
## CLI Commands Quick Reference
| Command | Purpose | Key Flags |
|---------|---------|-----------|
| {command} | {purpose} | {flags} |
## Operational Diagram
```mermaid
%%{init: {'flowchart': {'nodeSpacing': 50, 'rankSpacing': 60, 'curve': 'basis'}}}%%
flowchart TB
%% CLASS DEFINITIONS %%
classDef cli fill:#1a237e,stroke:#7986cb,stroke-width:2px,color:#fff;
classDef stateNode fill:#004d40,stroke:#4db6ac,stroke-width:2px,color:#fff;
classDef handler fill:#e65100,stroke:#ffb74d,stroke-width:2px,color:#fff;
classDef phase fill:#6a1b9a,stroke:#ba68c8,stroke-width:2px,color:#fff;
classDef output fill:#00695c,stroke:#4db6ac,stroke-width:2px,color:#fff;
subgraph CLI ["CLI ENTRY POINTS"]
direction TB
CMD1["command-name<br/>━━━━━━━━━━<br/>--flag1 --flag2<br/>Purpose"]
end
subgraph Config ["CONFIGURATION"]
direction TB
ENV["Environment Variables<br/>━━━━━━━━━━<br/>API keys, modes"]
SETTINGS["Config File<br/>━━━━━━━━━━<br/>Project config"]
end
subgraph Registry ["STATE TRACKING"]
direction TB
STATE["State Repository<br/>━━━━━━━━━━<br/>Active state<br/>Progress"]
end
subgraph Monitoring ["OBSERVABILITY"]
direction TB
LOGS["Activity Logs<br/>━━━━━━━━━━<br/>Step-by-step"]
DEBUG["Debug Artifacts<br/>━━━━━━━━━━<br/>{{AUTOSKILLIT_TEMP}}/ directory"]
end
subgraph Tasks ["TASK COMMANDS"]
direction TB
TASK1["task command<br/>━━━━━━━━━━<br/>Automation"]
end
%% FLOWS %%
CMD1 --> ENV
ENV --> SETTINGS
CMD1 --> STATE
CMD1 --> LOGS
LOGS --> DEBUG
%% CLASS ASSIGNMENTS %%
class CMD1 cli;
class ENV,SETTINGS phase;
class STATE stateNode;
class LOGS,DEBUG output;
class TASK1 handler;
Color Legend: | Color | Category | Description | |-------|----------|-------------| | Dark Blue | CLI | Command-line entry points | | Purple | Config | Configuration hierarchy | | Teal | Registry | State tracking | | Dark Teal | Monitoring | Observability outputs | | Orange | Tasks | Task automation |
| Priority | Source | Example |
|----------|--------|---------|
| 1 (highest) | Environment | API_KEY=... |
| 2 | Secret file | .env.local |
| 3 | Config file | config.yaml |
| 4 (lowest) | Defaults | Built-in |
{command example}
{command example}
{command example}
---
## Pre-Diagram Checklist
Before creating the diagram, verify:
- [ ] LOADED `/autoskillit:mermaid` skill using the Skill tool
- [ ] Using ONLY classDef styles from the mermaid skill (no invented colors)
- [ ] Diagram will include a color legend table
---
## Related Skills
- `/autoskillit:make-arch-diag` - Parent skill for lens selection
- `/autoskillit:mermaid` - MUST BE LOADED before creating diagram
- `/autoskillit:arch-lens-development` - For build tooling view
- `/autoskillit:arch-lens-deployment` - For infrastructure view
development
Generate YAML recipes for .autoskillit/recipes/. Use when user says "make script skill", "generate script", "script a workflow", "write a script", "create a script", "new recipe", "write a pipeline", or when loaded by other skills for script formatting.
data-ai
Create Uncertainty Representation visualization planning spec showing error bar definitions, distribution-aware alternatives, and multi-seed variance protocols. Statistical lens answering "How is uncertainty honestly represented?"
data-ai
Create Temporal Dynamics visualization planning spec showing axis scaling (linear vs log), smoothing disclosure, epoch/step alignment, run aggregation (mean + variance bands), early-stopping markers, and wall-clock vs step-count x-axis. Temporal lens answering "Are training dynamics shown clearly and honestly?"
data-ai
Create Narrative Story Arc visualization planning spec showing visual consistency across the report (same color = same model everywhere), logical figure progression, redundant figure detection, and narrative dependency between figures. Narrative lens answering "Do the figures tell a coherent story across the report?"