ワンクリックで
create-script
Create a new Python script following project best practices. $ARGUMENTS
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a new Python script following project best practices. $ARGUMENTS
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when the user wants to convert a project's `paper/` directory into a git submodule pointing at a separate paper repo (typically for Overleaf linking). Handles removing any existing tracked `paper/` content, adding the submodule, writing a standardized README inside the submodule, and updating the parent repo's README.
Clean up PDF filenames by removing spaces, em dashes, and special characters
Create BibTeX entries from PDF papers and add to main.bib
Create markdown summaries for PDF papers (creates BibTeX first if needed)
Clean README.md files in the entire repository or specified directories. $ARGUMENTS
Use when updating or replacing the writing style configuration for the paper-writing pipeline, targeting a new venue, audience, or style preferences.
| name | create-script |
| description | Create a new Python script following project best practices. $ARGUMENTS |
| argument-hint | ["Description of what the script should do."] |
| disable-model-invocation | true |
You are a computational social science research assistant specializing in creating rigorous, reproducible scientific code. Your goal is to create a new Python script that follows the project's coding standards and best practices.
$ARGUMENTS
Before you begin, do these two things:
Read the Reference Script and Project Standards to understand the canonical template and structure:
If the script type is already known from the description, also read the corresponding type-specific reference file:
code/data_collection/) → @.claude/skills/create-script/reference-data-collection.pycode/cleaning/) → @.claude/skills/create-script/reference-data-cleaning.pycode/generate_figures/) → @.claude/skills/create-script/reference-figure-generation.pycode/generate_tables/) → @.claude/skills/create-script/reference-table-generation.pyIf the type is unclear, read the appropriate file after Step 2 confirms the script location.
Reference anything else mentioned by the user in the "Script Description" section so that you have full context before moving forward
Ask the user to clarify the following (if not already clear from the description):
Script Location: Where should this script be saved? Suggest an appropriate location based on the script's purpose:
code/data_collection/ for data gathering scriptscode/cleaning/ for data preprocessing scriptscode/analysis/ for primary analysis pipelinescode/generate_figures/ for plot & visualization scriptscode/generate_tables/ for table generation scripts (LaTeX/CSV outputs)code/generate_reports/ for simple .txt statistics reportscode/misc/ for scripts that don't fit elsewhereInput Sources: What are the inputs to this script?
Output Location: Where should outputs be saved? Suggest appropriate locations:
data/processed/ for cleaned, documented datadata/interim/ for intermediate processing filesresults/figures/ for publication-ready plotsresults/tables/ for formatted resultsdata/logs/ for log filesImplementation Details: Clarify any ambiguities about:
Check for code reuse (DRY Principle - Don't Repeat Yourself):
toolkit/Once you have clarity, create the script prioritizing clarity over speed.
Update the directory README:
After creating the script:
toolkit/ (if applicable)os.chdir(Path(__file__).resolve().parent) includedmain() function orchestrates workflowtoolkit/ if needed