Skip to main content

update-package-instructions

Update existing AI instruction documentation when an R/Bioconductor package changes

Ir para a instalação

Informações da origem

Repositório
waldronlab/ai-agent-skills
Última atividade na origem
13 de junho de 2026 às 00:29
Idioma detectado do SKILL.md
inglês
Estrelas
6
Forks
2

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
update-package-instructions
description
Update existing AI instruction documentation when an R/Bioconductor package changes
version
1.0.0
category
r-packages
tags
["r-packages","documentation","bioconductor"]
author
waldronlab
# update-package-instructions Update existing `.github/instructions/` files when an R/Bioconductor package changes, preserving manual customizations. ## Usage Invoke this skill when your package has changed and you want to refresh the AI instructions: - "Update the package instructions" - "Sync instructions with current package state" ## Prerequisites - Working directory is an R package root. - Existing instructions exist at `.github/instructions/`. ## Process 1. **Analyze Current State**: Run the `analyze-r-package` skill to produce a current package analysis. 2. **Identify Changes**: Read existing `.github/instructions/` `.md` files. Compare the current package analysis to the documented state to identify changes in metadata (version, dependencies), structure (functions, vignettes, classes), and content (data sources). 3. **Determine Update Scope**: Check which template variables have changed by referencing `templates/package-instructions/README.md`. If a variable differs, its corresponding file needs an update. 4. **Apply Update Strategy**: - **Preserve Custom Content**: Retain manually-added domain explanations, examples, and warnings. - **Update Systematically**: Update version numbers globally. Add new functions (with `[Description needed]`), remove deleted ones, and preserve custom descriptions. - **Targeted Edits**: Modify only the changed variables, rather than completely replacing files. 5. **Provide Update Summary**: Report the detected changes, updated files, and any items requiring manual review. ## Error Handling - **No instructions found**: Direct the user to `create-package-instructions`. - **Conflicts**: Prompt for a keep/replace/merge decision if manual changes conflict directly with template updates. ## Integration - **Uses**: `analyze-r-package` - **Works with**: `create-package-instructions` --- **Related**: See [create-package-instructions](../create-package-instructions/SKILL.md), [analyze-r-package](../analyze-r-package/SKILL.md).
Ver no GitHub