project-init

GitHub

初始化包含LaTeX论文和Python代码的ML研究项目,自动创建目录结构并配置实验日志模板。

data/skills-md/a-green-hand-jack/ml-research-skills/project-init/SKILL.md NeverSight/learn-skills.dev

触发场景

开始新的机器学习研究项目 搭建论文与代码并行管理的工作空间 初始化ML研究环境

安装

npx skills add NeverSight/learn-skills.dev --skill project-init -g -y
更多选项

非标准路径

npx skills add https://github.com/NeverSight/learn-skills.dev/tree/main/data/skills-md/a-green-hand-jack/ml-research-skills/project-init -g -y

不安装直接使用

npx skills use NeverSight/learn-skills.dev@project-init

指定 Agent (Claude Code)

npx skills add NeverSight/learn-skills.dev --skill project-init -a claude-code -g -y

安装 repo 全部 skill

npx skills add NeverSight/learn-skills.dev --all -g -y

预览 repo 内 skill

npx skills add NeverSight/learn-skills.dev --list

SKILL.md

Frontmatter
{
    "name": "project-init",
    "description": "Initialize a new ML research project with aligned paper (LaTeX) and code (Python) repositories under a shared parent folder. Use when starting a new research project, setting up a paper+code workspace, or initializing a new ML research environment.",
    "allowed-tools": "Read, Write, Edit, Bash, Glob"
}

Project Init Workflow

Use this workflow when starting a new research project that requires both a LaTeX paper repo and a Python code repo, managed in parallel under a shared project folder.

Expected Output Structure

~/Projects/<ProjectName>/
├── paper/    ← LaTeX repo (init-latex-project)
├── code/     ← Python ML repo (init-python-project)
└── PROJECT.md ← Project overview linking both repos

Step 1 — Gather Project Information

Ask the user the following in a single message:

  1. Project name: What is the project called? (used as the parent folder name, e.g. DemoProject)
  2. Parent directory: Where should this project live? (default: ~/Projects/)
  3. Paper venue: Which conference/journal? (iclr, cvpr, icml, acm, acl, or none for generic arXiv)
  4. Research summary (brief): What is the method? What datasets/benchmarks? What metrics?
    • This will be used to pre-fill the paper/ structure and PROJECT.md
  5. GitHub: Do you have GitHub repos ready for paper and code? If yes, provide SSH URLs (or skip to add later).

Wait for the user's answers before proceeding.


Step 2 — Create the Parent Folder

mkdir -p <parent-dir>/<ProjectName>

Step 3 — Initialize the Paper Repo

Run the init-latex-project skill:

bash ~/.claude/skills/init-latex-project/scripts/init.sh <ProjectName>-paper <parent-dir>/<ProjectName>/paper [--venue <venue>] --git

Note: Expand ~ to the actual home directory (e.g. /Users/jieke). Use --venue only if a venue was specified; omit for generic arXiv.

After the script runs:

  1. Add a sections/daily_experiments.tex file to the paper:
% Daily Experiments Log
% Add experiment entries in reverse chronological order (newest first).
%
% Template for each entry:
%   \subsection*{YYYY-MM-DD — <short title>}
%   \textbf{Setup:} <method variant, dataset, config>\\
%   \textbf{Result:} <key numbers, metric values>\\
%   \textbf{Observation:} <what worked, what didn't>\\
%   \textbf{Next:} <follow-up experiment planned>
  1. Add \input{sections/daily_experiments} to paper/main.tex in the appendix area (before \end{document}), with a section header:
\section*{Daily Experiments (Internal)}
\input{sections/daily_experiments}
  1. If GitHub SSH URL was provided for paper:
git -C <parent-dir>/<ProjectName>/paper remote add origin <paper-github-url>
git -C <parent-dir>/<ProjectName>/paper push -u origin main

Step 4 — Initialize the Code Repo

Invoke the init-python-project skill. Tell the user:

"Now let's set up the code repo. I'll run the init-python-project skill for the code/ directory."

Use the init-python-project skill with the following context already established:

  • Target directory: <parent-dir>/<ProjectName>/code/
  • Project type: new, ML project
  • GitHub URL: from Step 1 (if provided)

Follow all steps in init-python-project as normal. The code repo will be initialized at <parent-dir>/<ProjectName>/code/.


Step 5 — Create PROJECT.md in the Parent Folder

Write <parent-dir>/<ProjectName>/PROJECT.md with the following content (fill in from the user's research summary in Step 1):

# <ProjectName>

> <One-line description of the research project>

## Research Overview

**Method**: <method description>
**Datasets**: <datasets used>
**Benchmarks**: <benchmarks / baselines compared against>
**Metrics**: <evaluation metrics>

## Repository Structure

| Repo | Path | Purpose |
|------|------|---------|
| paper | `./paper/` | LaTeX paper (<venue or arXiv>) |
| code  | `./code/`  | Python implementation (uv)     |

## GitHub Remotes

| Repo | URL |
|------|-----|
| paper | <paper-github-url or TBD> |
| code  | <code-github-url or TBD> |

## Workflow

- **Design changes** (method, datasets, metrics): update `paper/sections/method.tex` first, then implement in `code/`
- **Experiment results**: record in `code/experiments/`, then sync to `paper/sections/daily_experiments.tex`
- **Milestones**: use `add-git-tag` skill in each repo separately
- **Code docs**: use `update-docs` skill in `code/`

## Key Files

- `paper/sections/method.tex` — canonical method description
- `paper/sections/exp.tex` — main experiments section
- `paper/sections/daily_experiments.tex` — running experiment log
- `code/docs/outlines/project_plan.md` — implementation roadmap
- `code/experiments/` — raw experiment outputs and logs

Step 6 — Final Summary

Report to the user:

Project initialized: <ProjectName>

paper/  → <paper-github-url or "local only">
code/   → <code-github-url or "local only">

Key skills for this project:
  - project-sync   → sync experiment results from code to paper
  - add-git-tag    → mark milestones in either repo
  - update-docs    → refresh code documentation

Next steps:
  1. Fill in paper/sections/method.tex with your method details
  2. Fill in paper/sections/exp.tex with planned experiments
  3. Start implementing in code/src/
  4. When you have results, use the project-sync skill to log them in paper

版本历史

  • e0220ca 当前 2026-07-05 21:36

同 Skill 集合

data/skills-md/00prabalk00/claude-skills/knowledge-base-gap-finder/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-agile/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-auth/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-issues/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-project-management/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-projects/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-safe/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-search/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-spaces/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-transitions/SKILL.md
data/skills-md/0731coderlee-sudo/wechat-publisher/wechat-publisher/SKILL.md
data/skills-md/0froq/skills/conventionalcommits/SKILL.md
data/skills-md/0froq/skills/nuxt/SKILL.md
data/skills-md/0froq/skills/oq/SKILL.md
data/skills-md/0froq/skills/pinia/SKILL.md
data/skills-md/0froq/skills/pnpm/SKILL.md
data/skills-md/0froq/skills/slidev/SKILL.md
data/skills-md/0froq/skills/tsdown/SKILL.md
data/skills-md/0froq/skills/turborepo/SKILL.md
data/skills-md/0froq/skills/unocss/SKILL.md
data/skills-md/0froq/skills/vitepress/SKILL.md
data/skills-md/0froq/skills/vitest/SKILL.md
data/skills-md/0froq/skills/vue-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-router-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-testing-best-practices/SKILL.md
data/skills-md/0froq/skills/vue/SKILL.md
data/skills-md/0froq/skills/vueuse-functions/SKILL.md
data/skills-md/0froq/skills/web-design-guidelines/SKILL.md
data/skills-md/0juano/agent-skills/bondterminal-x402/SKILL.md
data/skills-md/0juano/agent-skills/edgeone-pages-deploy/SKILL.md
data/skills-md/0juano/agent-skills/ley-ar/SKILL.md
data/skills-md/0juano/agent-skills/ticktick/SKILL.md
data/skills-md/0juano/agent-skills/x-image-cards/SKILL.md
data/skills-md/0juano/x-image-cards/x-image-cards/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/generate2dsprite/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/video2dsprite/SKILL.md
data/skills-md/0x2e/superpowers/brainstorming/SKILL.md
data/skills-md/0x2e/superpowers/dispatching-parallel-agents/SKILL.md
data/skills-md/0x2e/superpowers/executing-plans/SKILL.md
data/skills-md/0x2e/superpowers/finishing-a-development-branch/SKILL.md
data/skills-md/0x2e/superpowers/receiving-code-review/SKILL.md
data/skills-md/0x2e/superpowers/requesting-code-review/SKILL.md
data/skills-md/0x2e/superpowers/subagent-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/systematic-debugging/SKILL.md
data/skills-md/0x2e/superpowers/test-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/using-git-worktrees/SKILL.md
data/skills-md/0x2e/superpowers/using-superpowers/SKILL.md
data/skills-md/0x2e/superpowers/verification-before-completion/SKILL.md
data/skills-md/0x2e/superpowers/writing-plans/SKILL.md
data/skills-md/0x2e/superpowers/writing-skills/SKILL.md

元信息

文件数
0
版本
f4b4cf1
Hash
538fd27c
收录时间
2026-07-05 21:36

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-13 08:06
浙ICP备14020137号-1 $访客地图$