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 a la instalación

Datos de origen

Repositorio
glowingkitty/OpenMates
Última actividad en el origen
9 de septiembre de 2026 a las 18:32
Idioma detectado de SKILL.md
inglés
Estrellas
46
Forks
3

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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 en GitHub