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

インストールへ移動

ソース情報

リポジトリ
glowingkitty/OpenMates
ソースの最終更新活動
2026年9月9日 18:32
検出された SKILL.md の言語
英語
スター
46
フォーク
3

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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.
GitHubで見る