Analyze recent changes and update affected architecture visualizations
42
41%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/update-visualizations/SKILL.mdYou are updating project visualizations (mermaid diagrams) based on recent changes. This skill works standalone — it can be used in any project, not just devflow.
Check for visualization configuration in this order:
.devflow/visualizations.json (project-specific)~/.config/devflow/visualizations.json (global)docs/visualizations/, visualizations/, docs/diagrams/docs/visualizations/)Read the config to determine:
path: Where visualizations livestyle: Which color palette and init settings to use (default: "devflow")categories: Which subfolder categories existRun git diff HEAD~1 (or git diff for unstaged changes) to understand what was modified.
If the user provided a description via $ARGUMENTS, use that as additional context for what changed.
Read <viz-path>/README.md to understand:
For each changed file, determine which visualization(s) it might affect. Use these heuristics:
For devflow projects:
lib/services.sh, docker/docker-compose.yml → architecture/runtime-architecture.mdlib/sync.sh, MCP/skill config changes → architecture/sync-architecture.mdlib/work.sh, lib/worktree.sh, skill workflow changes → workflows/development-workflow.mdlib/init.sh, agent-deck config changes → integrations/agent-deck-integration.mdbin/devflow (new commands) → architecture/devflow-ecosystem.mdintegrations/For general projects:
architecture/ diagramsarchitecture/data-model.mdintegrations/ diagramsworkflows/ diagramsFor each affected visualization:
%%{init} blocks for spacingIf a visualization doesn't exist for a new component, create one in the appropriate subfolder using the style guide template.
If the visualization folder was just created (no existing diagrams), create these defaults:
architecture/system-overview.mdA high-level diagram showing the project's main components and how they connect. Analyze the project structure (package.json, directory layout, config files) to infer the architecture.
workflows/main-workflow.mdA diagram showing the primary workflow (e.g., request lifecycle, data pipeline, build process). Infer from the project type.
If new files were created, update <viz-path>/README.md:
Stage and commit visualization changes:
git add <viz-path>/
git commit -m "docs: update visualizations for [brief description]"$ARGUMENTS
b0b1bb6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.