Skip to main content

skills-maintenance

Use when introducing new patterns, refactoring core primitives, adding helper utilities, or changing standard idioms to ensure the workspace skills remain up-to-date.

Informações da origem

Repositório
software-mansion/react-native-executorch
Última atividade na origem
5 de setembro de 2026 às 17:39
Idioma detectado do SKILL.md
inglês
Estrelas
1.750
Forks
97

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
skills-maintenance
description
Use when introducing new patterns, refactoring core primitives, adding helper utilities, or changing standard idioms to ensure the workspace skills remain up-to-date.
metadata
{"id":"skills_maintenance","scope":"general development"}
# Skill: Skills Maintenance & Documentation Integrity Use this guide when you introduce, modify, or deprecate core codebase patterns, helpers, utilities, or design decisions. This skill ensures that the agent keeps workspace skills in sync with the codebase state to prevent documentation decay and outdated copy-pasting. --- ## 🚦 Core Guidelines 1. **Detect Pattern Shifts**: - Whenever you implement a new utility, helper class, or conversion method (e.g., in `core/conversions` or `core/tensor_helpers`), or change how native bindings are structured: - Check if these new primitives replace older manual patterns (e.g., replacing manual locking/extraction with helper library calls). - Identify which existing skills (in `.agents/skills/`) contain code examples, templates, or instructions that are affected by this shift. 2. **Proactively Update Affected Skills**: - Do not wait for the user to explicitly ask to update the skills. When a core API or idiom changes, update the relevant `SKILL.md` files as part of the implementation or refactoring task. - Specifically inspect: - [add-native-extension](../add-native-extension/SKILL.md) for C++ JSI & locking idioms. - [add-task-pipeline](../add-task-pipeline/SKILL.md) for TypeScript pipeline orchestration, pre-allocation, and lifecycle hooks. - [model-schema-validation](../model-schema-validation/SKILL.md) for schema verification constraints. - [verify-and-build](../verify-and-build/SKILL.md) for compilation and troubleshooting steps. - [add-api-tests](../add-api-tests/SKILL.md) for the TypeScript test suites and the fake native runtime. 3. **Verify Example Correctness**: - Ensure all code blocks and examples in updated skills compile/work and match actual usage in the repository. - Do not leave references to deprecated fields, functions, or old workflows. 4. **Update the Checklist**: - If a new verification rule is introduced (e.g., "must use helper X instead of manual code Y"), update the **Verification Checklist** section at the bottom of the relevant skill's `SKILL.md`. --- ## 📋 Verification Checklist When introducing or refactoring a pattern, verify that: - [ ] You identified all workspace skills containing code snippets or instructions affected by the change. - [ ] You updated all examples and templates to reflect the new, correct APIs and idioms. - [ ] You updated the corresponding checklists to enforce the new conventions. - [ ] The updated skill files are valid markdown and keep lines reasonably short.
Ver no GitHub