skills/new-plan/SKILL.md
Use when starting multi-script or multi-session work that needs tracking, or when the user invokes /new-plan. Creates a planning document and registers it in the project CLAUDE.md.
npx skillsauth add musserlab/lab-claude-skills new-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When the user invokes /new-plan, create a structured planning document and register it in the project's document registry.
Ask the user:
If the user provides the topic directly as an argument (e.g., /new-plan thermal proteome profiling), use that and still ask the remaining questions.
Streamline the questions — if the answers are obvious from context, propose defaults and let the user confirm. For example, a data science project asking about "volcano plots" likely wants data science style with status table.
Create a new .md file in the project's .claude/ directory.
SCREAMING_SNAKE_CASE matching existing docs{TOPIC}_PLAN.md (e.g., THERMAL_PROTEOME_PLAN.md){TOPIC}_DATA.md (e.g., SECRETOMICS_DATA.md)For general projects (books, tools, infrastructure) with simple task tracking.
# {Topic} Plan
> Last updated: {today}
## Overview
{Brief description of what this plan covers}
## Goals
- [ ] Goal 1
- [ ] Goal 2
## Open Tasks
{Group tasks by category if there are many}
- [ ] Task 1
- [ ] Task 2
## Key Files
- (list key files and components as they become relevant)
## Key Decisions
- (record decisions with dates as they are made — accumulates, never trimmed)
## Working Notes
(free-form context for next session — what's in progress, gotchas, context that doesn't fit elsewhere)
## Completed
- [x] (move completed items here)
For general projects that benefit from phased tracking.
# {Topic} Plan
> Last updated: {today}
## Overview
{Brief description of what this plan covers}
## Goals
- [ ] Goal 1
- [ ] Goal 2
## Status
| Phase | Description | Status |
|-------|-------------|--------|
| 1 | {First phase} | Not started |
## Key Files
- (list key files and components as they become relevant)
## Key Decisions
- (record decisions with dates as they are made — accumulates, never trimmed)
## Working Notes
(free-form context for next session — what's in progress, gotchas, context that doesn't fit elsewhere)
For analysis projects with numbered scripts, data pipelines, and input/output tracking.
# {Topic} Plan
> Last updated: {today}
## Overview
{Brief description of what this plan covers}
## Goals
- [ ] Goal 1
- [ ] Goal 2
## Status
| Phase | Description | Status |
|-------|-------------|--------|
| 1 | {First phase} | Not started |
## Key Files
### Inputs
- (list input files as they become relevant)
### Outputs
- (list output files as they are created)
### Scripts
Track all scripts here. When a script is superseded, move it to the Legacy section.
#### Active
| Script | Purpose | Status |
|--------|---------|--------|
| (add scripts as they are created) | | |
#### Legacy / Inactive
| Script | Replaced by | Notes |
|--------|-------------|-------|
| (move superseded scripts here) | | |
## Key Decisions
- (record decisions with dates as they are made — accumulates, never trimmed)
## Working Notes
(free-form context for next session — what's in progress, gotchas, context that doesn't fit elsewhere)
For documenting APIs, schemas, configuration formats, or any structured reference material.
# {Topic} Data
## Overview
{Brief description of what this document covers}
## Purpose
{Why this data/schema/format exists and how it's used}
## Key Files
| File | Description |
|------|-------------|
| | |
## Structure / Schema
{Describe the structure, format, or schema of the key files}
## Notes
{Any important notes about usage, edge cases, or conventions}
For documenting experimental datasets with biological/scientific context.
# {Topic} Data
## Overview
{Brief description of the dataset}
## Experimental Design
{Describe the experiment that generated this data}
## Key Files
| File | Description |
|------|-------------|
| | |
## Column Descriptions
{For key files, describe important columns}
## Processing Notes
{Any important notes about how data was processed or should be used}
When a phase is marked complete, collapse its detailed content to a 3-5 line summary. Keep the phase heading and a brief record of what was done and any key outcomes, but remove per-item audit results, checklists, and working notes that are no longer needed for active work. This prevents plans from growing monotonically as work progresses.
Before collapsing, check: Does any information in this phase feed into a future phase that hasn't started yet? If so, ensure that information is already captured in the future phase's section (or the "Next Session" section) before removing it from the completed phase. Only collapse what is truly historical.
Example — before collapsing:
## Phase 2: Dependency Audit ✓ COMPLETE
### Per-script summary
(60 lines of detailed per-script audit results...)
### Critical issues
(30 lines of issue details, all resolved...)
After collapsing:
## Phase 2: Dependency Audit ✓ COMPLETE
Audited 21 scripts. Found 3 critical issues (all resolved in Phase 4): missing `theme_paper()` definition, hardcoded paths in 2 scripts, undeclared dependency on `datasets_for_plotting/conditions.csv`. Full audit preserved in git history.
After creating the document, add it to the Project Document Registry in the project's .claude/CLAUDE.md:
.claude/CLAUDE.md and find the "Project Document Registry" sectionIf no registry exists, create the registry section first (following the format in the /done skill documentation).
Tell the user:
development
Phylogenetic tree visualization and formatting with ggtree (R) or iTOL (web). Use when rendering a phylogenetic tree as a figure, choosing tree layout, coloring branches or labels by taxonomy, collapsing clades, displaying support values, or adding overlays to a tree. Do NOT load for tree inference (use protein-phylogeny skill) or domain annotation (future separate skill).
development
Configure and manage Claude Code security protections for sensitive files, credentials, and data. Use when the user invokes /security-setup to set up or modify protections against unauthorized file access, credential exposure, or sensitive data leaks.
development
Script organization for data science analysis projects with numbered scripts, data/outs/ directories, and reproducibility conventions. Use when creating new analysis scripts in projects that follow data science conventions (numbered XX_ prefix scripts, outs/ directories, BUILD_INFO.txt). Do NOT load for documentation projects (Quarto books), infrastructure repos, or projects without data/outs/ directory structure.
testing
R renv package management for data science projects. Use when working with renv (renv.lock, renv::restore, renv::snapshot) in R analysis projects. Do NOT load for projects that do not use R or renv.