Skip to main content

backfill-specification

Incrementally map a touched legacy test or Plan cluster to approved Specification assertions, drafting a new compact Specification only when none applies

Ir para a instalação

Informações da origem

Repositório
glowingkitty/OpenMates
Última atividade na origem
9 de setembro de 2026 às 18:32
Idioma detectado do SKILL.md
inglês
Estrelas
46
Forks
3

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
backfill-specification
description
Incrementally map a touched legacy test or Plan cluster to approved Specification assertions, drafting a new compact Specification only when none applies
user-invocable
true
argument-hint
<test path or Plan cluster>
## Workflow 1. Run `python3 scripts/specifications.py check-test <path>` and inspect the generated registry before creating anything. 2. Search existing Specifications, neighboring tests, architecture docs, app metadata, REST/CLI/SDK/GUI surfaces, and relevant code to identify the feature. 3. If approved assertions apply, add per-test `specification-test` metadata with proof strength and surface, then regenerate the assertion index. 4. If no approved assertion defines the intended behavior, first extend the existing Specification for the owning feature or app skill. Create a bundle only when no existing contract fits. Extract stable truth from the whole feature or Plan cluster, not only one test. Separate historical implementation choices from durable behavior. 5. Invoke `define-specification`, including its requirement for one or two concrete, assertion-mapped examples for each added or changed requirement. Use natural-language scenarios or actual code/commands with expected results; do not paste internal fixture dictionaries into the human approval examples. Present the complete compact Specification, and wait for approval before mapping the test or changing implementation behavior. 6. Update the existing Plan with Specification references and evidence locations; do not replace its discovery, tasks, attempts, handoff, or evidence ledger. 7. Run `python3 scripts/specifications.py generate` and `python3 scripts/specifications.py check-generated` before deploy. ## Rules - Never infer that an existing passing test is approved product truth. - Search before creating; avoid one permanent Specification per historical Plan. - Touched legacy tests may not remain `legacy_unmapped` at deploy.
Ver no GitHub