Skip to main content
prompt GP ChatGPT

template_adaptation — Claude Code prompt: adapt a template

template_adaptation is a Claude Code prompt for fitting real data into a selected template. It aims to retain the original layout and visual treatment where possible.

Apache-2.0 ★ 108 updated 2026-11-17

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/template_adaptation.md
Open on GitHub

What template_adaptation does

The prompt takes the source code of a chosen template and swaps simulated data for the user's real columns from adaptation_plan.json. It aims to retain the layout, styling, color logic, legend, and axis treatment.

Files inside templates/ must stay untouched, and user data must not be overwritten. The description also uses the filename adaptationplan.json; the prompt text names adaptation_plan.json with an underscore.

What it helps with

  • replace simulated template data with real user columns
  • retain the selected template's layout and styling
  • leave files under templates/ unchanged
  • avoid overwriting user data

Example prompts for the agent

  • Adapt the selected template to the data in adaptation_plan.json.
  • Replace the simulated values with my real columns while retaining the template's styling.
  • Move my data into the template and leave templates/ untouched.

How to install template_adaptation

Manually: put the files in place

.claude/commands/template_adaptation.md

Questions about template_adaptation

How do I install template_adaptation in Claude Code?

Place the file at .claude/commands/template_adaptation.md.

What does template_adaptation do?

It adapts the source code of a selected template by substituting the user's real columns from adaptation_plan.json for simulated data, while retaining the visual treatment where possible.

Which files does template_adaptation leave unchanged?

The prompt says to leave files under templates/ alone and not overwrite user data.

Source text

template_adaptation.md · Apache-2.0
# Template Adaptation

Use the selected template source code as the base. Preserve the core layout, style, color logic, legend and axis treatment where possible. Replace simulated data with the user's real data columns from `adaptation_plan.json`. Do not modify files under `templates/` and do not overwrite user data.

© cjh-solver · Apache-2.0 · cjh-solver/MathModeling-Skills-Arsenal

Similar prompts

Prompts catalog →

From the same set10

The whole set →
tech-route-maker tech-route-maker is a Claude Code rule for building editable research and engineering route diagrams from evidence. It applies to requests for method figures, roadmaps, workflows, and pipelines. CX Codex +1 ★ 108repo stars code_repair code_repair is a Claude Code prompt that fixes issues listed in technical and visual reports. It keeps the current plotting approach and dependencies. GP ChatGPT ★ 108repo stars visual_quality_check visual_quality_check is a Claude Code prompt that inspects charts against specifications and templates. It flags only issues visible on the image or backed by reports. GP ChatGPT ★ 108repo stars markitdown-skill markitdown-skill is a Claude Code skill that converts documents and URLs to Markdown via the markitdown CLI. It extracts text from PDFs, runs OCR on images and transcribes audio files. CX Codex +1 ★ 108repo stars bzd-review-paper bzd-review-paper is a Claude Code skill that reviews mathematical modeling contest papers against the full problem statement. It checks eligibility and format, scores the work, and prepares an HTML report. CX Codex +1 ★ 108repo stars tikz-scientific-figures tikz-scientific-figures is a Claude Code skill that builds publication-grade figures with TikZ and PGFPlots and returns SVG plus PNG. Each figure stays an editable standalone .tex file. CX Codex +1 ★ 108repo stars modelviz-skill modelviz-skill is a Claude Code skill that creates scientific charts from tabular data and a plain-language request. It selects a catalog template, adapts the code, and checks the output. CX Codex +1 ★ 108repo stars tech-route-maker tech-route-maker is a Claude Code skill that builds evidence-grounded editable technical route diagrams from source materials. Triggers on diagram requests or the $tech-route-maker invocation. CX Codex +1 ★ 108repo stars

Project sponsors

Companies that keep this analytics open