一键导入
awa-spec-merge
Merge two feature codes into one. Use this when asked to combine, merge, or consolidate feature codes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Merge two feature codes into one. Use this when asked to combine, merge, or consolidate feature codes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Double-check the last work, whether it be a plan, design, or implementation, ensuring all aspects have been fully considered. Use when user wants to check work, or mentions "double check".
Align source with target. Use this when asked to align, check, or verify alignment between artifacts.
Create or update ARCHITECTURE.md. Use this when asked to create, update or modify the project architecture.
Brainstorm ideas, explore solutions, and evaluate options. Use this when asked to brainstorm, explore ideas, or analyze trade-offs.
Run traceability and schema checks, then fix any errors. Use this when asked to check, validate, or fix traceability and schema issues.
Implement code and tests based on architecture, requirements, and design (or a set of tasks). Use this when asked to implement features, write code, or create tests.
| name | awa-spec-merge |
| description | Merge two feature codes into one. Use this when asked to combine, merge, or consolidate feature codes. |
${input}
You MUST consider the user input before proceeding (if not empty).
Merge the source feature code into the target feature code using awa spec merge, following awa conventions.
This combines all spec files, traceability IDs, code markers, and tests from the source code into the target code's namespace, then removes the source.
PRE-VALIDATE
awa check to record existing errors before proceedingIDENTIFY CODES
awa spec codesPREVIEW CHANGES
awa spec merge <source> <target> --dry-run to see planned operationsEXECUTE MERGE
awa spec merge <source> <target> to apply the mergeCONSOLIDATE TARGET FILES
FIX MERGED FILES
VALIDATE
awa check to verify new statusYou SHALL always preview with --dry-run before executing a merge.
You SHALL confirm the merge direction (source → target) with the user.
You SHALL run awa check --spec-only after merge to verify structural integrity.
You SHALL run awa check after merge if code markers were rewritten.
You SHALL review merged file content for coherence and size limits.
You SHALL use --renumber when clean sequential IDs are requested.
You SHALL NOT merge a code into itself.
You SHALL NOT proceed if --dry-run reveals unexpected stale references.
You SHALL update user-facing documentation when the merge changes public features, CLI, or configuration.
You SHALL clarify open points with user.
You MAY use todos and tools as needed.