Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

osprey-development

БесплатноБез исполняемых скриптовНе проверен

ALWAYS load when working in pwiz_tools/Osprey (C# port), on maccoss/osprey (Rust), or debugging Osprey-Rust parity issues.

ProteoWizardот ProteoWizard★ 21 звезда на GitHub

Об этом скилле

Osprey Development Context

Two trees, two convention sets:

  • Osprey (pwiz_tools/Osprey on master) - the C# implementation, now the path forward for the Osprey DIA proteomics search tool. Lives in the pwiz repo. Follows Skyline conventions in full.
  • Rust osprey (C:\proj\osprey -> maccoss/osprey) - the original Rust implementation. Maintained for cross-impl parity validation against Osprey. Follows upstream osprey conventions, NOT Skyline's.

Which convention set applies depends on which tree you are touching. The sections below are organized along that split.

Base branch: master

Osprey work branches from and returns to master, like Skyline (Skyline/work/YYYYMMDD_name, gh pr create --label osprey, squash subjects osprey: ... (#N)). The .NET 10 port (Skyline/work/20260612_net8_port, PR #4619) merged into master on 2026-10-08; a branch still based on it needs git merge origin/master (both sides already hold the port, so it is reconciliation, not re-derivation) and its PR retargeted to master.

  • Osprey is net10.0 only: a net8.0/net472 folder under bin/ is a stale build - delete it, never run it. Why: "Osprey is .NET 10 only" at the top of ai/docs/osprey-development-guide.md.
  • When the checkout is not <project-root>\pwiz, every Build-Osprey.ps1 call needs -SourceRoot <that checkout>; without it the script builds pwiz and "succeeds" against the wrong tree.

Osprey (C#) - Skyline Conventions Apply

Changing what a task reads, writes, or keeps? Read pwiz_tools/Osprey/docs/00-pipeline-architecture.md FIRST. It is the pipeline's architecture and sidecar file contract: which artifact is per-run vs experiment-wide, which task may read it, what an HPC node must be shipped, and the fifteen principles that keep a 500-run cohort inside 64 GB and let a fan-out task batch at any size. The per-stage algorithm index is pwiz_tools/Osprey/docs/README.md.

Those live with the code because docs are classified by SUBJECT: what the code does ships in pwiz_tools/Osprey/docs, how we work on it (gates, datasets, machine paths, env vars, run layout) is in ai/docs.

When working in pwiz_tools/Osprey, all Skyline development rules apply. Read the same files the /skyline-development skill points at:

  1. ai/CRITICAL-RULES.md - absolute constraints: NO async/await, resource strings for user-facing text, CRLF line endings, _camelCase private fields, helpers AFTER public methods that use them.
  2. ai/STYLEGUIDE.md - MUST READ before writing or editing ANY C#. Actually open the file - these one-line summaries are a table of contents, NOT a substitute for reading it. C# coding conventions: file headers with AI attribution, using-directive ordering, new[] { ... } inferred array literals, control-flow rules (braceless bodies are single-line ONLY - this applies to using, foreach, for, while, lock, fixed, not just if/else).
  3. ai/WORKFLOW.md - git workflow, TODO system, commit message format (past-tense title, * bullets, See TODO-... in pwiz-ai/todos, Co-Authored-By: Claude line). Osprey commits go through the pwiz repo workflow (feature branches under Skyline/work/...).
  4. ai/TESTING.md - translation-proof tests, consolidated [TestMethod] structure, AssertEx over Assert.

Running a large named dataset (SEA-AD, TDP-43, CHS) - DO NOT write your own run script:

  • Each cohort has ONE sanctioned runner beside its README: ai/scripts/Osprey/SEA-AD/Run-SeaAd.ps1, ai/scripts/Osprey/TDP43/Run-Tdp43.ps1 and ai/scripts/Osprey/CHS/Run-Chs.ps1, sharing ai/scripts/Osprey/Common/OspreyDatasetRun.psm1. CHS is the 446-run cohort the Stage 7 / diagnostics memory work is measured on, and it was missing from this list. Decoy arm, entrapment ratio and pass-2 mode are PARAMETERS, not separate scripts. Read the folder's README first, and run -WhatIf to confirm path resolution before committing to a multi-hour job.
  • A ai/.tmp/run-*.ps1 script is a previous session's shortcut, not a template - even when a handoff points at one. Rolling your own re-acquires traps these folders document: --work-dir relocates the .spectra.bin cache and rebuilds every file (~70 min / ~340 GB at 82 files - the runners pass --output-dir); --fdrbench-pass is inert without --fdrbench <input.tsv>; and the peak-pick model is nowhere in Osprey's log, so only the runner's banner / START line / directory name record which discovery set produced a number.
  • Choosing a NEW large dataset (what exists, size, access, download budget): ai/docs/osprey-large-datasets.md.
  • Full detail: "Large named datasets" in ai/docs/osprey-development-guide.md.

Memory or scaling work ("does this fit at N files?", a run that looks hung) needs:

  • ai/docs/memory-band-guide.md - run with --timestamp --memstamp, then `ai/scripts/perfviz.py --files
Полный SKILL.md на GitHub

Установить osprey-development в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл osprey-development?

ALWAYS load when working in pwiz_tools/Osprey (C# port), on maccoss/osprey (Rust), or debugging Osprey-Rust parity issues.

Как установить скилл osprey-development?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл osprey-development запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить osprey-development с