agentleFS
lossless-grouplossless-group/lossless-agent-skills/remake-deck/SKILL.md

remake-deck

Skill4 starsChanged 3 months agoMITView on GitHub

Remake a company's source pitch deck (PDF, PPTX, or folder of slide images) into N clean-room design variants that play in the DidiDecks Scroll-UI shell. The agent takes the VP Eng / orchestrator role and runs the dididecks-ai plan `Remake-Source-Deck-into-Design-Variants`, which extracts and audits the deck, fans out N designers who each produce one coherent HTML + Tailwind deck without seeing the original layout or each other, refactors each into Astro `Section__<Name>.astro` components rendered from one `index.astro`, wires the deck registry, and verifies every variant in the shell. Use whenever the user says "/remake-deck", "remake this deck", "redesign their deck", "give me three takes on this pitch deck", "turn this PDF deck into dididecks variants", or hands over a client's source deck under dididecks-ai and wants new designs from it. Arguments are company, client-site, source-deck path, plus optional KEY=value overrides (N_VARIANTS, DECK_SLUG, CONTENT_POLICY, BRAND_POLICY, INCLUDE_FAITHFUL). Composes with deck-iteration-workflow (this is its Phase 1, done N times in parallel), astro-knots, theme-system, and setup-new-dddecks-workspace (run that first if the client-site doesn't exist yet).

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the chat has no file or shell access at all (a plain web chat with no connected workspace), say so plainly: this pipeline writes files …

    line 28
  2. Very specific:

    Read context-v/prompts/README.md, then map the user's arguments:

    line 34
  3. Distinctive:

    If any of the three required arguments is missing, ask for all the missing ones in one question.

    line 41
  4. Distinctive:

    Read the plan file end to end and follow it.

    line 46
  5. Distinctive:

    Extract → audit: after extracting, re-open the renders and audit as if someone else did the work.

    line 56
  6. Very specific:

    Default N_VARIANTS to 2 in this mode unless the user asked for more.

    line 64
  7. Very specific:

    Use the report format at the end of the plan.

    line 71
  8. Distinctive:

    Don't paraphrase the plan or prompts from memory.

    line 78
  9. Distinctive:

    Don't edit the pipeline docs during a run unless the user asks.

    line 79
  10. Very specific:

    Don't commit to a client-site's development branch without the user's go-ahead.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

remake-deck

A thin entry point. The real procedure lives in the dididecks-ai repo as versioned context-v documents, so the pipeline evolves in one place and this skill never drifts from it:

LayerFile (relative to the dididecks-ai root)
Variables, filesystem contract, how the layers composecontext-v/prompts/README.md
The plan you execute (orchestrator)context-v/plans/Remake-Source-Deck-into-Design-Variants.md
Subagent briefs, one per rolecontext-v/prompts/{Extract-Source-Deck, Audit-Source-Deck-Extraction, Design-Deck-Variant-as-Single-HTML, Refactor-HTML-Variant-into-Astro-Scroll-Sections, Verify-Variant-Plays-in-Scroll-Shell}.md
Batch runner over many deckscontext-v/loops/Remake-Source-Decks-Queue.md

Step 1: Find the dididecks-ai repo

Walk up from the current directory looking for context-v/plans/Remake-Source-Deck-into-Design-Variants.md. Also try ./ai-labs/dididecks-ai/ and ./dididecks-ai/ below the current directory. On the maintainer's machine it's ~/code/lossless-monorepo/ai-labs/dididecks-ai. If none of these exist, ask the user for the path once. Don't guess further.

If the chat has no file or shell access at all (a plain web chat with no connected workspace), say so plainly: this pipeline writes files and runs a build, so it needs an agent with the repo on disk. Stop there.

Step 2: Map the arguments

Read context-v/prompts/README.md, then map the user's arguments:

  1. The first argument is COMPANY. Quote multi-word names.
  2. The second is CLIENT_SITE. Accept client-sites/<slug> or a bare <slug>.
  3. The third is SOURCE_DECK.
  4. Any KEY=value pairs override the defaults in the README's variable table.

If any of the three required arguments is missing, ask for all the missing ones in one question. Don't ask anything else up front; the plan's step 0 covers the rest.

Step 3: Execute the plan as orchestrator

Read the plan file end to end and follow it. You hold the VP Eng role. You brief subagents and judge their work; you don't extract, design, or write Astro yourself.

If your harness can't spawn subagents

Some agent chats have no subagent or task tool. Run the same plan with each role played in sequence, in your own context, and make up for the lost isolation:

  • Extract → audit: after extracting, re-open the renders and audit as if someone else did the work. Report audit findings separately from extraction.
  • Design: the clean room is the part that matters. Design each variant from slides.json, the CSVs, and the assets only. Finish and save one variant before starting the next, don't re-open an earlier draft while designing a later one, and use sharply different design seeds. Tell the user the variants were designed in sequence by one agent, so divergence is weaker than in a parallel run.
  • Default N_VARIANTS to 2 in this mode unless the user asked for more. It's slow, and context fills up.

Tell the user which mode you're running in, in one line, before step 1 of the plan.

Step 4: Report

Use the report format at the end of the plan. Always include the variant URLs (/scroll/<deck>/<variant>/), every [NEEDS: ...] placeholder, and the client flags from the extraction audit. Those are the things a human acts on next.

Don't

  • Don't paraphrase the plan or prompts from memory. They change; read them each run.
  • Don't edit the pipeline docs during a run unless the user asks. Collect friction from the subagents' reports and offer the fixes at the end.
  • Don't commit to a client-site's development branch without the user's go-ahead.

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.

Reviews can't be read right now.

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.