dynamic-workflow-mode
Design task-local harnesses, eval gates, and reusable skill extraction for Claude dynamic workflow mode and other adaptive agent harnesses.
What this skill does
# Dynamic Workflow Mode Use this skill when a coding agent can generate or adapt a task-local harness instead of only following a static command flow. The goal is to turn dynamic workflow mode into a disciplined system: temporary harnesses for one-off work, shared skill extraction for repeated work, and observable control pane checkpoints for teams. ## When To Activate - The user mentions dynamic workflows, custom harnesses, harness-per-task, adaptive workflows, or Claude Code dynamic workflow mode. - A task needs a custom loop, evaluator, crawler, fixture generator, watcher, or local dashboard. - Multiple agents need the same repeatable process but the process is not yet captured as a shared skill. - A workflow needs durable handoff artifacts, eval evidence, or operator approval before merge. ## Core Contract Dynamic workflow mode should produce a task-local harness only when the harness is cheaper and safer than manually driving the same steps. The harness must have: - **Objective**: the outcome it owns and the outcome it explicitly does not own. - **Inputs**: files, URLs, prompts, data sources, credentials policy, and user-provided constraints. - **Outputs**: commits, reports, screenshots, status files, or control pane snapshots. - **Eval**: at least one pass/fail check tied to the task, not only "it ran". - **Handoff**: a short artifact that tells the next operator what happened, what is blocked, and how to resume. ## Dynamic Harness Decision Tree 1. **One-shot task**: keep it inline. Do not invent a harness. 2. **Repeated task with changing inputs**: create a task-local harness and keep it under a temp or project-local working area. 3. **Repeated task across teammates or repos**: extract the pattern into a shared skill. 4. **Task with external state, queueing, or approvals**: add control pane visibility before adding more automation. 5. **Task with safety risk**: add an eval gate and a human merge gate before autonomous execution. ## Task-Local Harness Template Use this structure before writing code: ```markdown # Dynamic Workflow Harness Objective: - Ship: - Do not ship: Inputs: - Repo or workspace: - External systems: - Credentials policy: Loop: 1. Discover current state. 2. Generate or update the smallest useful artifact. 3. Run eval checks. 4. Record status and handoff. 5. Stop on failed gate, unclear ownership, or unsafe external action. Eval: - Command: - Expected pass signal: - Failure owner: Handoff: - Status: - Evidence: - Next action: ``` ## Shared Skill Extraction Promote a task-local harness into a shared skill only when at least two of these are true: - The same workflow appears in multiple sessions, repos, teams, or launches. - The workflow needs specific language, tool, or safety sequencing. - Failures repeat because operators skip a gate or lose context. - The workflow has a stable input/output contract. - The workflow benefits from a control pane, status board, or team handoff. When extracting, write the skill first in `skills/<name>/SKILL.md`. Add command shims only if a legacy slash-entry surface is still required. ## Control Pane Checkpoints Dynamic workflow mode becomes team-usable when it exposes state. Record these checkpoints whenever the task spans more than one session: - **Plan**: objective, owner, acceptance criteria, and risky external systems. - **Queue**: work items, assigned agent role, branch/worktree, and dependency edges. - **Run**: active harness, current loop step, recent eval result, and token/cost signal if available. - **Gate**: test results, browser screenshots, security review, and merge readiness. - **Handoff**: what is done, what failed, what needs a human decision. If the repo has ECC2 state enabled, prefer adding or reading checkpoints through the ECC control pane or state-store-backed scripts instead of scattering untracked notes. ## Eval Gates Every dynamic harness needs a task-specific eval. Pick the cheapest reliable gate: | Work Type | Eval Gate | | --- | --- | | Code feature | Focused test, lint, coverage, and one integration path | | UI/control pane | Browser smoke with screenshot and overflow/error checks | | Agent workflow | Fixture transcript or seeded work item with expected routing | | Research/content | Source-neutral brief, claim checklist, and publish-ready outline | | Integration | Dry-run command, config validation, and no-secret scan | Do not claim a dynamic workflow is reusable until the eval can be rerun by another teammate. ## Anti-Patterns - Generating scripts that hide the real decision logic from the operator. - Treating dynamic workflow mode as permission to skip tests. - Creating one-off docs when a shared skill or status artifact is the real product. - Running multiple agents without ownership, merge gate, or conflict policy. - Letting raw private research data leak into public docs. ## Output Standard Finish with: - The harness or skill path. - The eval commands and results. - The control pane or handoff artifact path. - The next reusable extraction candidate.
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.