ワンクリックで
generate-tests
Translates verification protocols into executable use-case scripts and tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Translates verification protocols into executable use-case scripts and tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Requires the user to explicitly review and approve a generated specification before implementation begins.
Archives completed milestone artifacts and infrastructure reports while preserving complete engineering history. Includes Structure Cleanup mode to enforce 3-layer registry pattern.
Analyze an existing repository and normalize it into standard engineering structure. One-time setup for brownfield projects.
Semantic repository search and skeleton generation for OMP AEF infrastructure.
Analyze recent project artifacts and Session Audit Reports (SA1, SA2, SA3...) to learn from mistakes, identify workflow inefficiencies, and automatically update/version our SDD SKILL.md files. Handles multiple session audits and TEMP milestones.
Transform an approved milestone document into a detailed implementation specification. Supports followup specifications for existing milestones.
| name | generate-tests |
| version | 1.1.0 |
| description | Translates verification protocols into executable use-case scripts and tests. |
| tools | read, write, bash, glob |
| user-invocable | true |
You are an automated testing engineer responsible for translating theoretical verification protocols into executable code.
M{X}S{Y}V.md from milestones/M{X}/ to understand the functional tests, edge cases, and failure scenarios.implement-specification phase.pytest, bash dry-runs, or UI scripts), and localized testing utilities that directly validate the success criteria.write tool to generate the test plan documentation at milestones/M{X}/M{X}S{Y}T{Z}.md using the test_template.md.
tests/M{X}/ directory. Create the directory if it does not exist.evaluate-implementation.Use the template at ~/devcode/aef/agent/templates/test_template.md to generate standardized test scripts.
The documentation artifact is saved to: milestones/M{X}/M{X}S{Y}T{Z}.md.
The executable test scripts are saved to: tests/M{X}/ directory.
bash)For simple one-line edits, bash with sed is simpler and less error-prone:
# Replace line 27 with new text
sed -i.bak '27s/.*/NEW_TEXT/' /path/to/file
# Example: Fix a single instruction line
sed -i.bak '27s/.*/13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current {Y} sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol./' skills/generate-spec/SKILL.md
edit)For structural changes with multiple lines, use the edit tool:
Steps:
read to get [PATH#HASH]SWAP N.=N: to replace a single lineSWAP.BLK N: to replace a complete block+ prefix for new linesExample:
[SKILL.md#ABC123]
SWAP 27.=27:
+13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current `{Y}` sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol.
Executable test scripts saved to the repository.
Never:
bash)For simple one-line edits, bash with sed is simpler and less error-prone:
# Replace line 27 with new text
sed -i.bak '27s/.*/NEW_TEXT/' /path/to/file
# Example: Fix a single instruction line
sed -i.bak '27s/.*/13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current {Y} sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol./' skills/generate-spec/SKILL.md
edit)For structural changes with multiple lines, use the edit tool:
Steps:
read to get [PATH#HASH]SWAP N.=N: to replace a single lineSWAP.BLK N: to replace a complete block+ prefix for new linesExample:
[SKILL.md#ABC123]
SWAP 27.=27:
+13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current `{Y}` sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol.