Skip to main content
BuildReviewed Oct 19, 2026

Archify Tuning

v1.0.1New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install archify-archify-tuning

What this does: Improve Archify diagram accuracy, visual quality and complete authoring speed with fewer repairs. Use for generation experiments or evaluating changes to layout, routing, diagnostics, authoring instructions and acceptance rules against actual diagrams and agent traces.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/archify-archify-tuning/SKILL.md

Setup guide →
0Save

Instructions

Archify Tuning

Users describe a system and an agent authors the diagram. Optimize that complete journey, from understanding the source to delivering a usable artifact. Keep this priority:

  1. Accurate: facts, relationships, directions, conditions, ownership and sources match the system.
  2. Readable and attractive: a clear reading path, distinguishable connections, legible text and balanced composition.
  3. Efficient: short complete delivery time, few failed repairs and little repeated work.

Tests and validators serve these outcomes and are themselves candidates for improvement. A passing check does not establish a good diagram; a failing check can expose an unsuitable rule. Judge the artifact and authoring experience before choosing what to change.

Product requirements and adjustable rules

  • Protect source facts and supported user behavior. First drafts can be wrong: retain originals and record source-backed corrections or additions. Counts of deleted elements flag a semantic review; they do not decide whether an edit is correct.
  • Treat spacing, preferred direction, bend counts and single-screen fit as design strategies to assess in context. An extra bend or readable scrolling can improve the whole diagram. Preserve explicit geometry and supported contracts unless an agreed change covers them.
  • Before repairing a failed check, identify the user harm it is meant to prevent and whether that harm is present. For an unsuitable rule, revise its scope, threshold or severity; update or retire obsolete tests with the rationale and actual before/after evidence. Keep the original failure visible. Changing an expected value alone proves no benefit.
  • Early diagnostics and browser checks should agree where they measure the same requirement and state their different scopes elsewhere. Neither is an unquestionable oracle. Taste that cannot be judged reliably can remain advice or visual review instead of a hard failure.

Measures

RoleMeasureEvidence
OutcomeAccurate, visually acceptable final deliverySource audit and actual screenshots; separate machine pass from visual acceptance
OutcomeComplete elapsed time, failed repairs and repeated workTimed trace from task start through reading, first draft, repairs, viewing and delivery
ProcessFirst-draft quality and time to first usable resultPreserve the first attempt, every failure and the last verified usable artifact
RegressionFixed-input pass/fail and changed outputreplay.mjs, affected tests and visual comparisons; render pass excludes finalize/browser acceptance
DiagnosticBends, crossings, route length, text size and CLI timeExplain an observed benefit or tradeoff; none is a substitute for whole-diagram quality

Report delivered outcomes and failed/unfinished tasks separately. A failed run ending sooner is not a speed gain. Keep synthetic regressions separate from the frozen first-draft denominator; additions to the corpus form a versioned cohort. Repaired drafts never replace their original benchmark entries.

Setup

  • Tuning home: $ARCHIFY_TUNING_HOME, default ~/.local/share/archify-tuning. It holds journal.md, bench/, rounds/ and replays/. It stays outside the repository because drafts carry content from source projects, which may be private: never commit it.
  • Resume: read the journal, available checkpoint and current goal state. Respect pauses and prior product decisions; continue an active round instead of duplicating it. Use the user's chosen diagram types; cover others when shared changes affect them.
  • Versions: refresh the target remote revision and record source, base and candidate identities. Use separate durable worktrees or frozen snapshots. Record remote movement without overwriting a comparison baseline or a running author's runtime.
  • Evidence selection: follow Choose evidence by impact. Reuse unchanged evidence with its original revision and scope.
  • Tools: Node 22.13 or later and Chrome or Chromium for shots.mjs (ARCHIFY_CHROME overrides discovery). The collector accepts Devin CLI history or a normalized trace export from another agent. It does not read other agents' private history databases.

Loop

  1. Bound the question. Record one user-visible problem, the hypothesis, evidence that would support or refute it, and a time/attempt budget in the journal. Rank it by frequency, harm, likely benefit and ongoing complexity. Prefer existing evidence before starting another generation.
  2. Choose the experiment. Use fixed JSON for renderer/rule changes, independent comparable authors for instruction or complete-flow claims, and a new project to discover problems or check transfer. For author runs, timing or screenshot comparisons, read Experiment design. Discovery is not proof of improvement.
  3. Attribute. Read the trace and inspect the complete diagram using Trace signals. Record the primary cause, contributing factors and uncertainty. Distinguish source misunderstanding, placement, routing, diagnostics, instruction usability and unsuitable acceptance rules. Reproduce with valid placement before blaming the router; a rule being documented does not establish that it is useful or easy to apply.
  4. Change the smallest responsible scope. Prefer a minimal reproduction before a runtime fix. Trace other callers before changing a shared path. Evaluate main-path arrangement, interacting modules, branch/merge space and return paths together with routing. Keep experimental placements on copies; an automatic route fix must honor authored pins. Add guidance only for a demonstrated information gap, then evaluate whether authors benefit.
  5. Verify the claim. Select affected public-behavior tests and fixed inputs; add a regression for a demonstrated runtime defect when existing coverage does not capture it. Inspect changed outputs with the same viewport and state. Investigate each changed pass/fail result: distinguish real regressions, corrected false failures and intended rule changes with evidence. Unexplained failures remain open. A local improvement must survive the complete diagram and relevant contrasting cases before adoption. Rebuild generated outputs only when their authoritative inputs changed.
  6. Conclude and consolidate. Record confirmed facts, rejected approaches, remaining problems and one disposition: confirmed problem, verified local fix, experimental candidate, rejected approach or candidate ready for independent review. State limits on visual, speed and generalization claims. Prepare small reviewable changes once benefits are established; separate unrelated fixes and prototypes. Follow CONTRIBUTING.md for integration; this skill grants no push, PR, merge, release or live-install authority.

When to stop an experiment

  • At the budget limit, record the result and remaining uncertainty. Extend only for a concrete new hypothesis and a fresh bounded test.
  • Stop or change focus when attempts repeat without new causal evidence, depend on project-specific coordinate search, improve selected lines while worsening the whole graph, or add complexity disproportionate to the benefit.
  • Preserve the last verified artifact separately from an unsuccessful experiment. Ending an experiment does not complete the overall goal. Consolidate useful fixes before accumulating another batch.

Tools and reporting

Run from the repository root; these tools supply evidence for the selected experiment, not a mandatory sequence every round. round, collect and replay print usage with no arguments.

NeedCommand
Fixed-input comparisonnode .agents/skills/archify-tuning/scripts/replay.mjs --base <base>/archify
Prepare author tasksnode .agents/skills/archify-tuning/scripts/round.mjs <project-path> --types <selected-types> --archify <frozen-runtime>/archify
Collect traces and content-change signalsnode .agents/skills/archify-tuning/scripts/collect.mjs <round> --dump (add --trace-export <file.json> outside Devin)
Initial light-theme image comparisonnode .agents/skills/archify-tuning/scripts/shots.mjs <replay-dir> --height 900

The collector does not establish semantic correctness or complete elapsed time; supplement it with source review and timing records. Preserve failure logs and unknown outcomes. Diagnostics should name the affected element and a verified repair, or explain why no repair was found. Keep authoring guidance concise and reachable in required reads; avoid accumulating advice that has no observed benefit.

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from archify

View source →
archifyCreate validated architecture, workflow, sequence, data-flow, lifecycle/state, ERD, class, tree, timeline, and waterfall diagrams as explorable standalone HTML with dark/light themes, motion and image/SVG/WebM export. Accept requirements or Mermaid and trace repository evidence for code-backed diagrams. Use when visualizing systems, API calls, pipelines, schemas, histories, timings, or everyday steps and relationships. Investigate repository architecture, coupling and refactoring scope with Code Analysis. Add guided stories and video to native diagrams. For page or explainer requests (做成一页, 用页面讲), turn the answer into a one-page Explainer with the conclusion first, structured panels, native diagrams and charts. By default, briefly offer a page for a complex flow, diagnosis, comparison or test/review report and generate only on request. Set [archify explainer: on-demand] to silence offers or [archify explainer: proactive] to generate for eligible answers unasked. Not for dashboards.7 installsarchify-reviewReview Archify issues, PRs, or code through value, cost, and impact to support evidence-based maintenance decisions. Use for issue triage, change reviews, and code quality assessments.2 installssimplify-codebaseSimplification audit or authorized codebase simplification whose stated objective is to remove accidental complexity. Use for evidence-backed deletion or consolidation of dead code, duplicate state, redundant APIs or layers, ownerless abstractions, obsolete compatibility or design records, and over-engineering in any language; also use for 代码简化 or 熵回收. Do not use for general code review, onboarding, style-only refactoring, or performance tuning.1 installstest-valueImprove test value and feedback cost when auditing slow, flaky, redundant or brittle tests; choosing tests during implementation; or reviewing test changes before a commit or PR. Keep ordinary implementation and pre-commit use scoped to the affected behavior, not a repository-wide audit.0 installsarchify-prExplain git branch changes, diffs, and GitHub pull requests or GitLab merge requests with visual architecture, workflow, sequence, ERD, or lifecycle walkthroughs. When a pull request carries material architectural, flow, schema, or async-state changes, lightly offer optional Archify PR diagrams and their review benefit without forcing them; build and attach Camo-safe dual-theme story or static diagrams when the user agrees or explicitly asks. Requires the companion archify core Skill.0 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.656 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.561 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.373 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.269 installsfounder-consumerThe consumer panel. Spins up a swarm of buyer sub-agents (default 100, --quick for 20) trained on the user's target customer, each with a different income, age, buying behaviour and objection, shows every one the same pitch, and runs the business through 100 buyer scenarios to see who buys, who doesn't, and why. Tallies the answers into buy rates by segment, the reasons people pass in their own words, what would flip a no, and price answers for founder-pricing. Use when the user says "would people buy this", "test it on customers", "run the consumer panel", "simulate buyers", "who is my customer", or "validate demand".198 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.186 installs

Frequently asked questions about archify-tuning

What does the archify-tuning skill do?

Improve Archify diagram accuracy, visual quality and complete authoring speed with fewer repairs. Use for generation experiments or evaluating changes to layout, routing, diagnostics, authoring instructions and acceptance rules against actual diagrams and agent traces. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the archify-tuning skill?

Run `npx @skills-hub-ai/cli install archify-archify-tuning` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/archify-archify-tuning/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does archify-tuning work with?

archify-tuning runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the archify-tuning skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use archify-tuning after installing it?

In Claude Code, type `/archify-archify-tuning` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the archify-tuning skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/archify-archify-tuning)](https://skills-hub.ai/skills/archify-archify-tuning)
HTML
<a href="https://skills-hub.ai/skills/archify-archify-tuning"><img src="https://skills-hub.ai/api/badges/skill/archify-archify-tuning" alt="Install on Skills Hub"></a>

More options in the badge docs.