project-structure
Project directory organization and script naming conventions for research
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill project-structure --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Research Project Code Structure Guide This document outlines the standardized structure for research project code organization. Use this as a template for organizing future research projects. --- ## Overall Project Structure ``` Project Root/ ├── Code/ # All analysis scripts │ ├── [Numbered]_[Descriptive].py # Data processing scripts (Python) │ ├── AN_[Number]_[Descriptive].py # Analysis scripts (Python) │ ├── AN_[Number]_[Descriptive].do # Analysis scripts (Stata) │ ├── LogFiles/ # Stata log files │ └── README.md # Project documentation ├── Data/ # All data files │ ├── Raw/ # Original, unprocessed data │ ├── Intermediate/ # Partially processed data │ └── Clean/ # Final, analysis-ready datasets └── Results/ # Analysis outputs ├── Tables/ # Regression tables, summary stats └── Figures/ # Plots, charts, visualizations ``` --- ## Script Naming Conventions ### 1. Data Processing Scripts (Python) **Format:** `[Number]_[DescriptiveName].py` **Examples:** - `0_ExtractCreditAgreements.py` - `1a_CleanCompAnnualCRSP.py` - `1b_ProcessDealscanCompustat.py` - `2_MergeAgreementsCompCRSP.py` - `3a_ExtractLoanOfficerNames.py` - `4a1_ExtractLoanTerms.py` - `4b_CleanLoanOfficerPanel.py` **Numberin
- Overall Project Structure
- Script Naming Conventions
- 1. Data Processing Scripts (Python)
- 2. Analysis Scripts
- Script Structure Patterns
- 1. Python Data Processing Scripts
- 2. Stata Analysis Scripts
- 3. Python Analysis Scripts
- Data Organization Principles
- 1. Data Folder Structure
- 2. File Naming Conventions
- 3. Data Flow
- Logging and Output Management
- 1. Stata Logging
What does the project-structure skill do?
Project directory organization and script naming conventions for research
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill project-structure --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.