ohyeh/agent-scripts

using-design-skills

Meta-router and multi-agent conductor for design work that needs skill selection or a multi-stage pipeline — visual frontend (web pages, landing pages, product UI, mobile screens), data visualization, HTML deliverables (reports/diagrams/plans), artifacts, m…

소스 보기
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

using-design-skills

You decide which design skills a task needs, in what order, and who executes each stage, then defer to them. Member roster, role tables, and executor details live in references/design-roles.md — read it at pipeline composition time; never route from memory of it.

BYPASS

  • Backend-only / non-UI work · one-line CSS or copy tweak (inline; at most

consult DESIGN.md) · the user names ONE member skill for a single-skill-sized task → go direct.

  • Loop-shaped non-design work (audits, plan→build) → using-workflows.

TRIGGER

Any deliverable whose value is visual or interface-shaped: pages, screens, HTML reports/diagrams/plans, artifacts, dashboards, motion, mockups, module/API interface design.

QUESTIONS — compose the pipeline (answer in order)

Q1 Base deliverable — who owns the output? Diagram → diagram-design for house-style consistency / mermaid / draw.io / PNG-SVG export, else the HTML trio · report / plan page → the HTML trio or plannotator-visual-explainer · web/mobile → target stack · Artifact → artifact file · data file → data-report · module/API/domain → Pipeline D · token work → DESIGN.md itself · mockup-only → imagegen output · "would this work?" → prototype, alone, no loop.

Q2 Variant. Existing interface → audit-first (authority critiques the CURRENT render before rebuild). New + ambitious + imagegen available → image-first (imagegen ⇒ image-to-code ⇒ loop); ordinary task → direct build, say so when skipping imagegen.

Q3 Orthogonal specialists (additive). Charts → dataviz if it resolves under SELECT (else apply charting best-practices inline — no dedicated chart skill is guaranteed installed). Artifact → artifact-design (a bundled skill; MANDATORY before publishing). Motion/gesture → apple-design. Constraint sets, loaded inline.

Q4 Executor per stage — the executor table in references/design-roles.md. Direction runs INLINE; imagegen/image-to-code → agent-tmux codex persistent worker; non-trivial build → agent-tmux claude persistent worker; every review → FRESH headless one-shot, never the author.

Q5 Verifier. Render in scope → the visual quality loop below (full Gate 0 screenshot evidence). DESIGN.md-only → document-only evidence (file hash/commit, token completeness, contrast math). Pipeline D → non-visual loop: design comparison judged against codebase-design depth criteria by a fresh reviewer, verdict still PASS/BLOCK. prototype → none.

SELECT — discover live, then bind roles

  1. ls ~/.claude/skills/ ~/.agents/skills/ 2>/dev/null | sort -u, cross-check

against THIS turn's active available-skills listing — a directory copy that isn't loaded is not invocable; a member gated disable-model-invocation: true (check head -8) is reached by reading its SKILL.md inline, never via Skill().

  1. Exactly ONE direction authority for a visual pipeline (ZERO for Pipeline

D / prototypes / trivial tweaks). Never stack two — they fight. An unknown skill is never auto-promoted to authority.

  1. A prior member that is absent or uncallable → STATE the absence and the

substitute in your plan; an empty role → degrade explicitly. Never substitute silently.

  1. Read each selected skill's SKILL.md before its stage runs.

DEFER — cross-stage contracts

  • DESIGN.md: the direction stage WRITES it (plain Read/Write — the

design-md helper skill was removed); every later stage and every worker prompt READS it. Workers have no chat memory — never carry direction in chat only.

  • Dispatch: tmux dispatches route through using-tmux-agent-tools;

worker prompts from delegation-templates; tiers per ~/.agents/rules/model-dispatch.md §5, verification §7. Fanout/dialogue need the user's exact authorization.

  • Loop topology (fixed): the BUILDER is a persistent worker — BLOCK

findings return to the SAME builder (worker-reuse protocol). Each REVIEWER is a fresh headless one-shot, never the builder, never reused.

  • Worker-prompt addendum: "DESIGN CONTEXT: read {repo}/DESIGN.md first;

conform to its tokens. SKILL: read and follow {member-SKILL.md} first."

  • Diagram house defaults (these override a member's opt-in gate, never its

mechanism): a diagram whose story IS direction — data flow, architecture, dependency, deployment — ships motion by default. Request diagram-design mode loop with the Flow-token primitive (one aria-hidden token, cycle ≥3s, no playback controls); escalate to reveal + Path draw only when the ORDER of hops carries meaning, and to step only for teaching. Every other diagram type (ER, quadrant, bar, Venn) defaults to none — no flow to point at means motion is decoration. The static-first contract is NOT relaxed: with JS off, and in reduced-motion, print, and every export, the complete labeled figure is visible.

  • Format: HTML first. Every diagram and visual deliverable is a

self-contained .html; svg/png are EXPORTED from it, never hand-authored. Markdown (a mermaid fence) requires the user asking for it or a text-only consuming tool — never the agent's own guess that "the reader probably cannot see images".

The quality loop — no pipeline ends at "built"

Gate 0, fail-closed: the reviewer RECORDS build identity (hash/commit), artifact path/URL, screenshot path(s), viewport(s), full-page/uncropped. Desktop AND mobile for responsive deliverables. Missing/stale/cropped evidence → UNCONFIRMED → overall BLOCK; never PASS on code-only review. (Document-only exception: DESIGN.md-only deliverables record file hash/commit instead — the instant any render exists, full contract resumes.)

Rubric, in order: 1. THE SLOP TEST — the authority's audit rubric; generic gradient-hero / emoji-bullet / card-grid sameness = BLOCK regardless of correctness. 2. Prose discipline — no filler, scannable hierarchy.

  1. DESIGN.md conformance. 4. The stage's frozen ACCEPTANCE criteria.

What counts as BLOCK: only a rubric item above or a frozen ACCEPTANCE criterion. Accessibility polish (hit-area, contrast, aria names, focus ring, skip link) that no ACCEPTANCE line names is a NOTE — list it, do not BLOCK on it, do not open a fix round for it. A reviewer that returns only NOTEs returns VERDICT: PASS.

Report contract: per-item PASS / FAIL / UNCONFIRMED + one-line reason, findings tagged persistent/new/regression/evidence-gap, all blockers in ONE pass, final line exactly VERDICT: PASS or VERDICT: BLOCK, quoted verbatim in your report. A report missing the VERDICT: line is a format defect of that reviewer: re-ask the SAME reviewer for the one line — never spawn another reviewer to obtain it.

Rounds: BLOCK → same persistent builder fixes → fresh reviewer re-audits. Hard cap two fix rounds, then route by CAUSE: same-root failures

  • wrong-direction signals (judgment-rubrics.md §4) → back to direction ·

evidence-gap → repair evidence path, re-audit · new/regression → triage separately · otherwise → stop and ask the user with the failure trail. PASS → persist tokens via design-md, report with the evidence bundle. "Built and audited: PASS" is a completion claim; "built" alone is not.

Polish/`Operate` mode — human checkpoint first: the first rendered build goes to the USER (URL/screenshot, desktop + mobile) BEFORE any reviewer is spawned. Direction is the user's call; the reviewer only checks the direction the user accepted. One reviewer round, not a loop.

NOT-FOUND

A needed role has no installed member → degrade the pipeline explicitly and say what was skipped — never fake a stage. Member contracts: each skill's own SKILL.md · roster/roles/executors: references/design-roles.md · worker mechanics: tmux-agent-tools · prompts: delegation-templates.

같은 저장소의 Skills

더 많은 Skills

모든 Skills
ohyeh
커뮤니티

ask-nova

Interview-driven flow picker. Use when the user is unsure which skill/flow/pipeline fits — new project kickoff, cross-domain work, or a fuzzy situation. Reads the three routers live and recommends ONE flow. Not for tasks whose owner is already obvious.

설치 수
3
GitHub Stars
0
업데이트
9월 2일
ohyeh
커뮤니티

defect-first-review

Perform a read-only, defect-first review of a specified code change and return every actionable finding, reading the whole diff before running anything. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions. Prefer this over the Codex-bundled review-agent, which carries no read-before-you-run gate.

설치 수
3
GitHub Stars
0
업데이트
9월 2일
ohyeh
커뮤니티

delegation-templates

Fill-in-the-blank prompt templates for delegating work to subagents or tmux workers - SEARCH/LOCATE, IMPLEMENT, REFACTOR, RESEARCH, REVIEW/VERIFY. Invoke BEFORE writing any delegation prompt (Agent tool, agent-tmux worker, or fanout task) so the prompt ships with explicit GOAL, ACCEPTANCE, and REPORT sections instead of a vague ask. Not for deciding WHETHER to delegate or for driving workers after launch (see the tmux-delegate agent and the tmux-agent-tools skill for those).

설치 수
3
GitHub Stars
0
업데이트
9월 2일
ohyeh
커뮤니티

session-handoff

Creates comprehensive handoff documents for seamless AI agent session transfers. Triggered when: (1) user requests handoff/memory/context save, (2) context window approaches capacity, (3) major task milestone completed, (4) work session ending, (5) user says 'save state', 'create handoff', 'I need to pause', 'context is getting full', (6) resuming work with 'load handoff', 'resume from', 'continue where we left off'. Proactively suggests handoffs after substantial work (multiple file edits, complex debugging, architecture decisions). Solves long-running agent context exhaustion by enabling fresh agents to continue with zero ambiguity.

설치 수
3
GitHub Stars
0
업데이트
9월 2일