← スキル一覧に戻る

research-executor
by TerryTong-Git
Claude Code project configuration for ToolProj
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: research-executor description: "Execute research experiments using TDD methodology. Pops plans from .claude/plans/research_tasks/, implements with smoke/unit/integration tests, and documents results to results.md. Use when: (1) executing the next experiment from the queue, (2) executing a specific plan by number, (3) running an ad-hoc research idea with TDD." user_invocable: true
Research Executor
Execute research experiments using Test-Driven Development (TDD).
Plan Queue
Plans are stored in .claude/plans/research_tasks/plan-*.md.
Pop and Execute
- List plans:
ls .claude/plans/research_tasks/plan-*.md - Select plan: Default is
plan-1.md, or specifyplan-N - Move to executed:
mkdir -p .claude/plans/research_tasks/executed mv .claude/plans/research_tasks/plan-{N}.md .claude/plans/research_tasks/executed/{YYYY-MM-DD}_{name}.md - Renumber remaining plans sequentially (plan-2 → plan-1, plan-3 → plan-2, etc.)
If no plans exist, ask user for an ad-hoc research idea.
Execution Workflow
Phase 1: Setup
- Parse hypothesis, variables, success criteria from plan
- Create directory:
experiments/{experiment_name}/ ├── README.md ├── notebook.ipynb # Primary deliverable ├── tests/ │ ├── smoke/ │ ├── unit/ │ └── integration/ ├── src/ └── results/ └── figures/ # All generated plots
Phase 2: Smoke Tests
- Test data loading, API calls, metric computation
- Implement minimal code to pass
- Run:
uv run pytest experiments/{name}/tests/smoke/ -v
Phase 3: Unit Tests
- Test each component (preprocessing, features, model, evaluation)
- TDD: Red → Green → Refactor
- Run:
uv run pytest experiments/{name}/tests/unit/ -v
Phase 4: Integration Tests
- Test full pipeline end-to-end
- Run on sampled data first
- Run:
uv run pytest experiments/{name}/tests/integration/ -v
Phase 5: Finalize
- Run full experiment
- Create Jupyter notebook deliverable (see below)
- Document results (see Results Documentation)
- Commit changes
Jupyter Notebook Deliverable
Required: Every experiment MUST produce a Jupyter notebook at experiments/{name}/notebook.ipynb.
Notebook Structure
1. Header & Setup
- Experiment title, date, hypothesis
- Import statements and configuration
2. Data Loading & Exploration
- Load experimental data
- Show sample data, shapes, dtypes
- Basic statistics (describe(), value_counts())
3. Implementation
- Core experiment code with explanatory markdown cells
- Each major step in its own cell for re-runnability
4. Results & Visualizations
- All figures generated inline (use %matplotlib inline)
- Statistical tests with p-values, confidence intervals
- Summary tables of key metrics
5. Conclusions
- Key findings from the experiment
- Link to hypothesis: supported/refuted/inconclusive
- Next steps or follow-up questions
Requirements
- All cells must be executed (outputs saved in notebook)
- Use markdown cells to explain each section
- Save figures both inline AND to
experiments/{name}/results/figures/ - Include reproducibility info: random seeds, package versions
- Final cell: print summary statistics and status
Results Documentation
Create results.md in .claude/plans/research_tasks/executed/ alongside the executed plan:
# Experiment: {name}
**Date**: {YYYY-MM-DD}
**Plan**: {original plan path}
**Status**: success | failure | partial
## Hypothesis
{from plan}
## Test Results
- Smoke: X/Y passing
- Unit: X/Y passing
- Integration: X/Y passing
## Findings
{key observations, metrics, conclusions}
## Artifacts
- **Notebook**: `experiments/{name}/notebook.ipynb` (primary deliverable)
- Code: `experiments/{name}/src/`
- Figures: `experiments/{name}/results/figures/`
- Data: `experiments/{name}/results/`
Code Standards
- Type hints for all functions
- Docstrings for public APIs
- Reproducible random seeds (document in README)
- Use
uv run ruff checkanduv run ruff formatbefore commits
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です