Newproject

From brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research · View interactive version

Newproject is an AI agent skill from the GitHub repository brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research. Scaffold a new research project with standard directory structure, CLAUDE.md template, and documented README. Use this at the start of every new project to ensure consistent organization.

How to use this skill

Skill file

New Project Scaffold

Create a new research project folder with Scott's standard structure. This skill is invoked at the start of every project.

What Gets Created

[project-name]/
├── CLAUDE.md              # Permanent research rules (copied from template)
├── README.md              # Project-specific overview (auto-generated)
├── code/
│   ├── R/
│   ├── python/
│   └── stata/
├── data/
│   ├── raw/               # Original source data (never modify)
│   └── clean/             # Cleaned/merged datasets
├── output/
│   ├── tables/
│   └── figures/
├── documents/             # Outside PDFs, papers (use /split-pdf on these)
├── decks/                 # Beamer presentations (rhetoric of decks)
├── notes/                 # Scratch notes, random ideas, misc
└── progress_logs/         # Session continuity across Claude conversations

Execution

  1. Get the project name from the argument. If none provided, ask.
  1. Determine location — default is current working directory. Confirm if unclear.
  1. Create all directories:

```bash

mkdir -p [project-name]/{code/{R,stata,python},data/{raw,clean},output/{figures,tables},documents,decks,notes,progress_logs}

```

  1. Copy CLAUDE.md from ~/mixtapetools/claude/CLAUDE.md:
  1. Generate README.md with:

The README must include this tree block:

````markdown

```

[project-name]/

├── CLAUDE.md # Research rules & estimation philosophy (permanent)

├── README.md # This file — project-specific notes

├── code/

│ ├── R/ # R scripts

│ ├── python/ # Python scripts

│ └── stata/ # Stata do-files

├── data/

│ ├── raw/ # Original source data (never modify these)

│ └── clean/ # Cleaned and merged datasets

├── output/

│ ├── tables/ # Generated tables (LaTeX, CSV)

│ └── figures/ # Generated figures (PDF, PNG)

├── documents/ # Outside papers and PDFs (split with /split-pdf)

├── decks/ # Beamer presentations (rhetoric of decks philosophy)

├── notes/ # Scratch notes, ideas, miscellaneous

└── progress_logs/ # Session logs for continuity across Claude conversations

```

````

  1. Create initial progress log at progress_logs/YYYY-MM-DD_setup.md:
  1. Report success — show structure with ls, remind user to update CLAUDE.md.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.