name: init description: Fills all [FILL:] placeholders across the template to initialize a new research project. Use when setting up a freshly cloned project. disable-model-invocation: true allowed-tools: Bash, Read, Write, Edit, Glob, Grep
Initialize Project
Fill in all [FILL:] placeholders across the template to set up a new research project.
Steps
-
Scan all tracked files for
[FILL:patterns and group them by file:grep -rn "\[FILL:" --include="*.md" --include="*.qmd" --include="*.toml" --include="*.tex" --include="*.yml" .Report how many placeholders exist and in which files.
-
Ask the user for project information:
- Project title (used in
index.qmd,README.md,CLAUDE.md,pyproject.toml) - Subtitle (optional, for
index.qmd) - Authors — for each author:
- Name, affiliation (university, city, country), ORCID, email
- Whether they are the corresponding author
- Abstract (for
index.qmd) - Keywords (for
index.qmd) - Project stage (for
CLAUDE.md: Idea / Data collection / Analysis / Writing / Revision) - Data source description (for
CLAUDE.mdandREADME.md) - Repository URL (for
README.md) - Project slug (for
pyproject.tomlnamefield, e.g.,regional-gdp-study)
- Project title (used in
-
Apply the values to each file:
index.qmd— title, subtitle, authors (full YAML array with affiliations/ORCID/email), abstract, keywordsREADME.md— project title, description paragraph, data section, repository URL, Quick Start clone URLCLAUDE.md— Project Context table: title, authors, stage, data sourcepyproject.toml—name,description,authors_quarto.yml— no[FILL:]placeholders by default, but verifytemplates/chadManuscript/manuscript.tex— author names and keywords
-
After applying all values, re-scan for remaining
[FILL:]placeholders:grep -rn "\[FILL:" --include="*.md" --include="*.qmd" --include="*.toml" --include="*.tex" --include="*.yml" .Report how many remain and where (some are expected in section bodies like "Describe the data...").
-
Run
bash scripts/render.shto regeneratelatex/index.texwith the real content. -
Report a summary: files updated, placeholders filled, placeholders remaining, render status.