一键导入
spec-normalize-current
Perform focused structural normalization of existing `.specs/` intent without changing product meaning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform focused structural normalization of existing `.specs/` intent without changing product meaning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check whether implementation behavior matches durable product intent in `.idd/intent/`.
Implement behavior from current `.idd/intent/` product intent and verify the code against the relevant specification.
Update `.idd/intent/` product intent from confirmed implementation behavior.
Diagnose `.idd/intent/` product intent structure and recommend reorganizations without editing files.
Clarify real product intent before changing `.idd/intent/`, using focused customer-development questions and simplification options without editing product intent, planning implementation, or writing code.
Update current `.idd/intent/` product intent from a user-requested behavior change, preferring existing specs over new specs.
| name | spec-normalize-current |
| description | Perform focused structural normalization of existing `.specs/` intent without changing product meaning. |
Use this skill to perform focused structural normalization over accepted current specs without changing product meaning.
Formula:
spec-normalize-current = focused structural normalization over accepted current specs
This skill works on an already accepted .specs structure, so it is more
cautious than import. It requires a concrete focus and must not run a broad
rewrite of .specs.
Use it for later maintenance of an existing .specs tree. Do not use it as a
manual cleanup phase required after spec-import; a successful import already
includes the normalization needed for mechanical consistency.
Describe the operation with parameters like:
scope:
specs: [0019, 0054]
topic: "Paranoid copy retry"
target: "0019.spec-paranoid-copy-resume.md"
mode: propose | apply
allowNewSpec: true | false
preserveMeaning: true
preserveMeaning is mandatory. If the operation would change product meaning,
stop and report the required product decision.
The request must provide at least one concrete focus:
.specs, broken obvious relation remap,
stale index, or legacy section shape.Examples:
Use spec-normalize-current with:
--specs 0033,0046,0014,0048
--topic "text encoding / BOM / EOL"
--target new
--mode propose
Use spec-normalize-current with:
--specs 0019,0054
--topic "Paranoid copy retry"
--target 0019.spec-paranoid-copy-resume.md
--mode apply
Do not run this skill if the user only asks to:
If the request is broad, such as "review all specs" or "find structural
problems", do not run spec-normalize-current. Use spec-audit first.
If no concrete normalization focus is provided, do not inspect or rewrite the specification set. Respond with:
Cannot run spec-normalize-current without a concrete normalization focus.
For broad structural diagnostics, use spec-audit first. For normalization,
specify a topic to collect, a source spec or section to extract, or a target
spec to consolidate into.
Current specs describe target product state, not the history of work.
A spec answers:
If the implementation is deleted but the specs remain, can the product be rebuilt?
Therefore current specs may contain:
Current specs must not contain:
Task, refactor, cleanup, progress, and status notes are not current product specs unless they define durable product behavior. Delete or convert task-like specs when they are not current product intent.
Do not preserve existing file boundaries when the focused operation proves the current boundaries are wrong. Existing specs are accepted current intent, but their structure may still be oversized, undersized, mixed-scope, duplicated, or misplaced.
For the requested focus, look for:
Typical product areas include product overview, panels, command line, file operations, viewer, editor, shared text format / encoding / BOM / EOL, UI controls / dialogs, providers / virtual file systems, rendering / console viewport, settings, architecture decisions, and spikes / unresolved research. This is not a fixed enum.
Support these scenarios:
.specs/archive;.specs;INDEX.md from actual current numbered documents;INDEX.md;.specs/ directory.INDEX.md when documents are added, deleted, renamed, or their roles
change..specs; if a persistent report is
explicitly needed, move it outside .specs.Related, Replaces, Supersedes, Depends on, and similar
relation references must point to existing current numbered documents.INDEX.md from actual current numbered documents when the index is
stale.spec-audit..specs/README.md, .specs/INDEX.md, and only relevant current
numbered specs.propose mode, report the proposed split/merge/extract/delete plan and
stop before edits.apply mode, move only existing intent that preserves meaning.INDEX.md when the document set or document roles change..specs/archive if it exists;.specs;INDEX.md;If two current specifications disagree, do not resolve the conflict as reorganization.
Example:
0004.spec-table-view.md says mouse wheel scrolls the table.
0009.spec-selection.md says mouse wheel changes current selection.
Response:
This cannot be resolved as specification reorganization. It requires a product
intent decision.
User request:
Consolidate text encoding / BOM / EOL across viewer, editor, quick view and
create-file dialog.
Expected behavior:
INDEX.md.User request:
Use spec-normalize-current to extract the Controls section from
0003.spec-console-ui.md into a dedicated console controls specification.
Expected behavior:
0003.spec-console-ui.md and closely related specs;INDEX.md.User request:
This spec is no longer needed; it was task-like/refactor-only.
Expected behavior:
INDEX.md;Bad request:
Use spec-normalize-current to clean up the specs.
Expected response:
Cannot run spec-normalize-current without a concrete normalization focus.
Use spec-audit first to find broad structural problems.
This skill does not:
.specs directory.Use spec-audit for broad structural diagnostics. Use spec-import when raw
external material is being imported.