Agently Design
Use this Skill for cross-owner design and audit. It produces ownership and
handoff contracts; it does not become a scheduler, TriggerFlow definition,
TaskDAG, retry engine, or RuntimeEvent protocol.
For iterative design or review, show current items and a timestamped,
versioned change log at the response head; distinguish decisions from applied
and verified changes. Read
Multi-Round Collaboration.
Core Workflow
- State the business decisions and completion invariants.
- Classify each decision as model-owned semantic work, host-owned deterministic
work, or a hybrid bounded-enum/key decision.
- Assign every decision, state, effect, and wait to one existing owner.
- Draw request-time value dependencies and execution-time event dependencies
before choosing APIs.
- Combine ordered fields in one ModelRequest only when later fields need no
observation created after dispatch. Split after Actions, system access,
approval, artifact readback, or host computation needed by a later model
decision.
- Derive each prompt/output field from an authorized consumer and declare its
type, constraints, visibility, retention, and failure behavior.
- Design evidence, canonical identity joins, lifecycle, convergence, pressure,
and observation before implementation.
- For an audit, reconstruct the observed topology and identify the earliest
divergent node or edge rather than inferring root cause from final output.
- Hand concrete implementation to the mechanism-owning Skill.
Required Topology Contract
For experiment reports and design documents, when the task instructions are
not in English, prefer a complete document in that instruction language;
a bilingual version is also acceptable. An explicit requested output language
takes precedence. Apply this to the document itself, not only the chat summary.
Preserve code, identifiers, raw prompts and evidence as needed; their language
does not determine the surrounding report language.
Use collaborative review when it can answer the developer's question about
model-node definitions, execution effects, data completeness/redundancy, or
model/Host division of work; do not require the phrase "Prompt review".
First show the whole in-scope flow, highlighting model nodes, their duties and
input/output handoffs alongside Host work. Read references/model-request-topology.md
for the question-to-evidence checks. Use the existing topology, not another
ledger; a drawing alone does not prove runtime correctness or quality.
Group related node tables for comparison under
../agently-request/references/prompt-management.md: up to three logical nodes
may share a reply, and tightly coupled larger groups are allowed. Clear scope
can be shown with its details in the same reply. Preserve consequential-change
confirmation and revisit only affected responsibilities/handoffs after revision.
Every non-trivial linear, branching, concurrent, or looped application needs:
- an owner/invariant ledger;
- a planned node ledger with each ModelRequest or host stage and its boundary
reason;
- a value/event edge ledger with exact producer, validation, and consumer;
- a production-necessity ledger for every requested node, field, and artifact.
Use small project-defined reference data at a handoff only when it enables an
independent consumer, parallel development, replay, local validation, or fault
localization. Mark simulated data honestly and prove that real producer output
can replace it. Do not invent a universal handoff packet.
Treat a non-terminal model result as a stage-scoped contribution: it must
satisfy its local contract and create observable progress, but it does not need
to claim whole-task completion. Unknown or deferred work remains explicit;
terminal results and irreversible effects still require full acceptance.
Read by Design Question
- Owner matrix, project layers, terminology, state/storage, and stable flow
versus submitted DAG:
references/system-boundaries.md.
- Model-node definitions, effect tuning, data-flow correctness/redundancy,
flow-first review, prompt/output contracts, same-response consumption,
fan-out, joins, and
instant: references/model-request-topology.md.
- Full planned-versus-observed value/signal audit:
references/execution-topology-validation.md.
- TaskContext packages, TaskWorkspace/RecordStore evidence, trusted selection
keys, refs, citations, snapshots, and fail-closed joins:
references/information-and-evidence-design.md.
- Concurrency, retries, repair, replan, approval, pause/resume, cancellation,
close, pressure, and planned long-form section generation:
references/lifecycle-and-pressure-design.md.
- RuntimeEvents, lineage, request telemetry, model-quality review, and
experiment comparison:
references/observability-and-validation.md.
After ownership is clear:
- one request family routes to
agently-request;
- Action, MCP, ExecutionResource, TaskWorkspace, RecordStore, service, or
telemetry mechanics route to
agently-runtime;
- developer-owned executable orchestration routes to
agently-triggerflow;
- explicit submitted TaskDAG data remains a low-frequency
agently advanced
reference rather than a standalone default Skill;
- source-framework mapping routes to
agently-migration.
Non-Negotiable Boundaries
- Model participation alone does not justify another request. Split only for a
real decision, evidence, consumer, authorization, retry, lifecycle, or
parallelism boundary.
- A ModelRequest is a dispatch-time snapshot. Provisional
instant output may
update UI or start cancelable/idempotent preparation, but cannot inject that
preparation's result back into the running request.
- Give the model one host-issued selection key plus relevant facts. Host code
validates the offered key and reconstructs canonical ids and metadata.
- If a selection can cross cache, queue, retry, persistence, or replay, bind it
to host-owned semantic-request lineage and validate freshness before lookup.
- Every model-satisfiable business rule reaches the producer before its first
attempt. Deliberately hidden security or integrity gates remain host-owned and
need explicit failure/terminal policy.
- Do not request hidden chain-of-thought. Keep only bounded task-specific
process fields with an explicit consumer and retention contract.
Completion Gate
Before implementation, confirm that every invariant has one owner, every
request boundary has a reason, every output field has an authorized consumer,
every provisional path has invalidation behavior, every loop has progress and
terminal rules, every cross-boundary identity has freshness/correlation, and
every validation rule has a declared producer or deliberately hidden host gate.
Do not replace semantic routing, relevance, planning, or quality judgment with
keywords, regex, tokenization, or local score tables. Do not add a parallel
execution topology beside TriggerFlow or TaskDAG.
1---2name: agently-design3description: Use to design, understand, tune, or audit a non-trivial Agently model workflow: model-node responsibilities, input/output completeness, data-flow correctness or redundancy, model-versus-Host/workflow ownership, topology, evidence, lifecycle, concurrency, or observed execution effects. The user need not say Prompt review or name Agently. Use agently-request for one request family and agently-triggerflow for already-decided executable orchestration details.4---56# Agently Design78Use this Skill for cross-owner design and audit. It produces ownership and9handoff contracts; it does not become a scheduler, TriggerFlow definition,10TaskDAG, retry engine, or RuntimeEvent protocol.1112For iterative design or review, show current items and a timestamped,13versioned change log at the response head; distinguish decisions from applied14and verified changes. Read15[Multi-Round Collaboration](../agently/references/multi-round-collaboration.md).1617## Core Workflow18191. State the business decisions and completion invariants.202. Classify each decision as model-owned semantic work, host-owned deterministic21 work, or a hybrid bounded-enum/key decision.223. Assign every decision, state, effect, and wait to one existing owner.234. Draw request-time value dependencies and execution-time event dependencies24 before choosing APIs.255. Combine ordered fields in one ModelRequest only when later fields need no26 observation created after dispatch. Split after Actions, system access,27 approval, artifact readback, or host computation needed by a later model28 decision.296. Derive each prompt/output field from an authorized consumer and declare its30 type, constraints, visibility, retention, and failure behavior.317. Design evidence, canonical identity joins, lifecycle, convergence, pressure,32 and observation before implementation.338. For an audit, reconstruct the observed topology and identify the earliest34 divergent node or edge rather than inferring root cause from final output.359. Hand concrete implementation to the mechanism-owning Skill.3637## Required Topology Contract3839For experiment reports and design documents, when the task instructions are40not in English, prefer a complete document in that instruction language;41a bilingual version is also acceptable. An explicit requested output language42takes precedence. Apply this to the document itself, not only the chat summary.43Preserve code, identifiers, raw prompts and evidence as needed; their language44does not determine the surrounding report language.4546Use collaborative review when it can answer the developer's question about47model-node definitions, execution effects, data completeness/redundancy, or48model/Host division of work; do not require the phrase "Prompt review".49First show the whole in-scope flow, highlighting model nodes, their duties and50input/output handoffs alongside Host work. Read `references/model-request-topology.md`51for the question-to-evidence checks. Use the existing topology, not another52ledger; a drawing alone does not prove runtime correctness or quality.53Group related node tables for comparison under54`../agently-request/references/prompt-management.md`: up to three logical nodes55may share a reply, and tightly coupled larger groups are allowed. Clear scope56can be shown with its details in the same reply. Preserve consequential-change57confirmation and revisit only affected responsibilities/handoffs after revision.5859Every non-trivial linear, branching, concurrent, or looped application needs:6061- an owner/invariant ledger;62- a planned node ledger with each ModelRequest or host stage and its boundary63 reason;64- a value/event edge ledger with exact producer, validation, and consumer;65- a production-necessity ledger for every requested node, field, and artifact.6667Use small project-defined reference data at a handoff only when it enables an68independent consumer, parallel development, replay, local validation, or fault69localization. Mark simulated data honestly and prove that real producer output70can replace it. Do not invent a universal handoff packet.7172Treat a non-terminal model result as a stage-scoped contribution: it must73satisfy its local contract and create observable progress, but it does not need74to claim whole-task completion. Unknown or deferred work remains explicit;75terminal results and irreversible effects still require full acceptance.7677## Read by Design Question7879- Owner matrix, project layers, terminology, state/storage, and stable flow80 versus submitted DAG: `references/system-boundaries.md`.81- Model-node definitions, effect tuning, data-flow correctness/redundancy,82 flow-first review, prompt/output contracts, same-response consumption,83 fan-out, joins, and `instant`: `references/model-request-topology.md`.84- Full planned-versus-observed value/signal audit:85 `references/execution-topology-validation.md`.86- TaskContext packages, TaskWorkspace/RecordStore evidence, trusted selection87 keys, refs, citations, snapshots, and fail-closed joins:88 `references/information-and-evidence-design.md`.89- Concurrency, retries, repair, replan, approval, pause/resume, cancellation,90 close, pressure, and planned long-form section generation:91 `references/lifecycle-and-pressure-design.md`.92- RuntimeEvents, lineage, request telemetry, model-quality review, and93 experiment comparison: `references/observability-and-validation.md`.9495After ownership is clear:9697- one request family routes to `agently-request`;98- Action, MCP, ExecutionResource, TaskWorkspace, RecordStore, service, or99 telemetry mechanics route to `agently-runtime`;100- developer-owned executable orchestration routes to `agently-triggerflow`;101- explicit submitted TaskDAG data remains a low-frequency `agently` advanced102 reference rather than a standalone default Skill;103- source-framework mapping routes to `agently-migration`.104105## Non-Negotiable Boundaries106107- Model participation alone does not justify another request. Split only for a108 real decision, evidence, consumer, authorization, retry, lifecycle, or109 parallelism boundary.110- A ModelRequest is a dispatch-time snapshot. Provisional `instant` output may111 update UI or start cancelable/idempotent preparation, but cannot inject that112 preparation's result back into the running request.113- Give the model one host-issued selection key plus relevant facts. Host code114 validates the offered key and reconstructs canonical ids and metadata.115- If a selection can cross cache, queue, retry, persistence, or replay, bind it116 to host-owned semantic-request lineage and validate freshness before lookup.117- Every model-satisfiable business rule reaches the producer before its first118 attempt. Deliberately hidden security or integrity gates remain host-owned and119 need explicit failure/terminal policy.120- Do not request hidden chain-of-thought. Keep only bounded task-specific121 process fields with an explicit consumer and retention contract.122123## Completion Gate124125Before implementation, confirm that every invariant has one owner, every126request boundary has a reason, every output field has an authorized consumer,127every provisional path has invalidation behavior, every loop has progress and128terminal rules, every cross-boundary identity has freshness/correlation, and129every validation rule has a declared producer or deliberately hidden host gate.130131Do not replace semantic routing, relevance, planning, or quality judgment with132keywords, regex, tokenization, or local score tables. Do not add a parallel133execution topology beside TriggerFlow or TaskDAG.