agentleFS
AviOfLagosAviOfLagos/ai-chief-of-staff/skills/design-run/SKILL.md

design-run

Skill0 starsChanged 4 months agoMITView on GitHub

This skill should be used to dispatch a batch of briefed content rows to the design agent and reconcile what comes back — triggered when the user says "send the design run", "dispatch designs", "run the design batch", "process the design manifest", or after weekly-plan has briefed a week of assets.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read config/company.yaml first, then the Decision Queue per CLAUDE.md.

    line 16
  2. Distinctive:

    Check the conditionally-required fields:

    line 42
  3. Very specific:

    Run ids are ISO weeks — 2026-W34.

    line 67
  4. Very specific:

    When the agent reports back, read exports/<run-id>/manifest.json.

    line 75
  5. Very specific:

    Never dispatch without a PUBLISH_TARGET.

    line 96
  6. Very specific:

    Never raise max_items_per_run above 15.

    line 97
  7. Distinctive:

    Never edit the copy in a row to make it fit a template.

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design run

The bridge between the content runs and the design agent. The design agent does not self-trigger — something has to send it a run instruction, and something has to read the manifest back. That is this skill, both halves.

Read config/company.yaml first, then the Decision Queue per CLAUDE.md.

If design_agent.enabled is false, stop here. Say so and point at weekly-plan, which fills templates itself when no design agent is in play. Do not invent a design agent that does not exist.

The full contract — what the agent can build, what it refuses, sizes, filenames, the manifest — is docs/DESIGN-AGENT.md. Read it before dispatching your first batch.

1. Select the batch

Rows where Asset status is ready_for_design or revise, and publish_date falls in scope. Scope defaults to the coming week.

Count slides, not rows. A four-slide carousel is four items against design_agent.max_items_per_run. Stop at the cap and say what you deferred — never silently truncate. Two runs of twelve beat one run of thirty; batches degrade past that.

2. Drop what the agent cannot build

Filter these out before dispatch so they never reach the agent's list:

  • content_type of video — anything filmed, edited or audio-bearing.
  • content_type of text_only — no asset needed. Set not_needed.
  • Anything needing generated imagery, a human face, voiceover or music.

The agent has no audio and cannot generate images. A row that depends on either is not a design task; it is a production task for a human, and it belongs in the Decision Queue as such.

3. Pre-flight every row

Catch locally what the agent would otherwise return as blocked — a round trip wasted on something you could see before sending.

Check the conditionally-required fields:

  • stat_card → metric_value and metric_label. The agent will not infer a number, and this is by far the most common block.
  • carousel → slides, ordered, no more than ten.
  • story or stat_card → body.
  • animated → duration_seconds between 5 and 30. Also warn: the agent authors animation but cannot render an MP4 unattended. Treat the row as authored, awaiting export.
  • Any row needing a photograph → asset_refs pointing inside design_agent.asset_input. The agent cannot source stock and will not draw a substitute.

A row failing pre-flight does not get dispatched. Set it blocked, write the reason, and raise it in the Decision Queue with the specific missing field named. "Needs a metric" is useless; "needs metric_value for the onboarding stat card on 18 Aug" is actionable.

4. Dispatch

Emit the run instruction exactly in this shape. All three locations come from design_agent in config — never guess them.

RUN <run-id>
CALENDAR_SOURCE: <design_agent.calendar_source>
ASSET_INPUT:     <design_agent.asset_input>
PUBLISH_TARGET:  <design_agent.publish_target>
SCOPE:           publish_date between <start> and <end>
STATUS_FILTER:   ready_for_design, revise
MAX_ITEMS:       <design_agent.max_items_per_run>
NOTES:           <only if there is something the agent genuinely needs>

Run ids are ISO weeks — 2026-W34.

Set the dispatched rows to in_design.

For a revision: set the row to revise and put the change in notes_to_designer. The agent revises only the named rows and leaves the rest of the batch alone. Never re-dispatch a whole week to fix two cards.

5. Reconcile the manifest

When the agent reports back, read exports/<run-id>/manifest.json. That file is the handoff, not the agent's prose summary.

Per item:

  • exported — write asset_path and Asset link from files, set Asset status to exported. Do not set verified; a later run resolves the file first. Verification by the party that produced the work is not verification.
  • blocked — set Asset status to blocked, copy reason into notes_to_designer, and raise one Decision Queue row naming the exact missing field.
  • skipped — the row should never have been dispatched. Set it correctly and note which pre-flight check missed it, so step 3 gets better.

Then reconcile both directions: every dispatched row must appear in the manifest, and every manifest item must match a dispatched row. A row dispatched but absent from the manifest is the failure mode that looks like success — flag it loudly rather than assuming it is still in progress.

Output

  • Dispatched — count, and the run id.
  • Deferred — over the cap, with when they go.
  • Blocked before dispatch — each with the exact field missing.
  • Reconciled — exported, blocked, skipped, and any row unaccounted for.

Then write every blocked row to the Decision Queue as its own row, per CLAUDE.md, with the missing field in the question line so it can be answered without opening anything.

Rules

  • Never dispatch without a PUBLISH_TARGET. Files with nowhere to land are worse than no files.
  • Never raise max_items_per_run above 15. Beyond that, uploads go one file at a time and the run becomes slow and expensive; the durable pattern is a Drive sync of exports/<run-id>/ instead.
  • Never edit the copy in a row to make it fit a template. Copy is verbatim. If it does not fit, that is a Decision Queue question.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.