/techne:anchor-vizfrom techne
Draws faithful architecture or structure diagrams of real codebases by scanning the repo. Useful for system architecture, request lifecycle, data models, state transitions, and type structure.
Ships in techne. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Investigate by diagramming. The diagram is the byproduct; the value is forcing real investigation before drawing.
diagramKind from the table below. If the
user's intent fits multiple kinds, ask one short clarification instead of
guessing.architecture, enumerate roots,
manifests, workspace/build/native/container/edge/infra/source-only signals.
For other kinds, find the bounded entrypoint, schema, state enum, workflow,
or module/type namespace before drawing.architecture, state one project shape and
cite evidence: single-frontend, single-backend, coupled-fullstack,
monorepo, library, native, native+edge, source-only code, or
non-code. For other kinds, state the bounded scope and the files that prove
it.architecture at 12-15 top-level nodes by
default. For other kinds, use the validator's participant/message,
entity/relationship, state/transition, or type/member limits. Split into
drill-down diagrams when needed.%% techne:source <elementRef> <path>[#<symbol>] or, for relationship-like
elements only, %% techne:inferred <relationshipRef> <reason>. Entity-like
elements always need verified techne:source; relationship-like elements
need file+symbol proof unless explicitly inferred with sourced endpoints.
Use actor for human sequence participants so the actor path-only allowance
is mechanically scoped. Solid relationships mean read-from-code. Dashed or
labeled relationships mean inference only where the selected Mermaid type
supports it.scripts/store_viz.py, always build
the self-contained viewer, and only open it when the session is interactive.| User intent | diagramKind | Mermaid type | Evidence focus |
|---|---|---|---|
| Project architecture, module/service/package topology | architecture | flowchart / graph | Manifests, workspaces, imports, services, bindings, infra edges. |
| Request lifecycle, command/job flow, actor conversation | interaction | sequenceDiagram | Entrypoint, ordered calls/messages, handlers, clients, queues. |
| Tables, entities, persistence relationships | data-model | erDiagram | Schema, migrations, ORM/entity declarations, foreign keys, associations. |
| Status/order/task/review lifecycle | state-model | stateDiagram-v2 / stateDiagram | Status constants, state machines, reducers, guards, transition handlers. |
| Classes, interfaces, structs, protocols, bounded type structure | type-structure | classDiagram | Type declarations, inheritance, implementation, composition, public method groups. |
Examples:
architecture.interaction.data-model.state-model.type-structure.node skills/anchor-viz/scripts/validate-mermaid.mjs diagram.md --project /path/to/project --max-nodes 15python3 skills/anchor-viz/scripts/store_viz.py --project /path/to/project --name login-flow --title "Login flow" --diagram diagram.md --shape monorepopython3 skills/anchor-viz/scripts/build_viewer.py --project /path/to/project --openThe validator expects [email protected] and jsdom to be installed in one of
these places: TECHNE_VIZ_NODE_MODULES, skills/anchor-viz/scripts/node_modules, the
current working directory, or an ancestor directory.
.techne/ content inside this repository while authoring the
skill itself.README-CN.md (opens in a new tab)README.md (opens in a new tab)eval.md (opens in a new tab)reference.md (opens in a new tab)scripts/build_viewer.py (opens in a new tab)scripts/package.json (opens in a new tab)scripts/store_viz.py (opens in a new tab)scripts/validate-mermaid.mjs (opens in a new tab)scripts/viewer/VENDOR-LICENSES.txt (opens in a new tab)scripts/viewer/svg-pan-zoom.min.js (opens in a new tab)scripts/viewer/template.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lynxlangya/techne --plugin techne5 skills in this plugin
/anchor-intakeInterrogate a written engineering implementation brief before work starts. Use when a user brings a ticket, PRD, design note, or substantive engineering task brief and wants to begin implementation planning; force every fixed rubric element to be accounted, cite present/weak claims against the brief, surface gaps, solution-as-goal traps, contradictions, and questions, then emit an intent-level plan. Do not use for bare one-line requests, non-engineering artifacts, code diff review, bug fixing, or execution itself./anchor-reproReproduce a behavioral bug before fixing it, record the failing probe, and verify the fix with the same probe. Use for bug reports, failing tests, crashes, hangs, regressions, wrong output, and observable behavior that should change./anchor-vetEvidence-gated diff review for PRs, branches, commit ranges, staged code changes, and merge readiness checks. Use when an AI reviewer must review a concrete git-anchored diff, judge whether code is safe to merge, inspect a PR URL or branch, cross-examine PR or commit claims, account blast radius, or render approve/request-changes/blocked verdicts. Do not use for design-only review, whole-codebase audits, bug fixing, or code authoring without a git diff under judgment./_templateInternal authoring template and manual canary. Copy this directory to start a new techne skill.Other plugins' skills for the same job