awa-upgrade
Upgrade specs to match current schemas. Use this when asked to upgrade, migrate, or update specification documents to conform to schema changes.
- License 许可
- BSD-3-Clause
- 所属仓库
- ncoderz/awa
- 最近更新
- 2026-08-13
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- awa-upgrade
- description
- Upgrade specs to match current schemas. Use this when asked to upgrade, migrate, or update specification documents to conform to schema changes.
03 SKILL.md 正文
Upgrade Specs to Current Schemas
Bootstrap
<tool name="read_file"> <read path=".awa/.agent/awa.core.md" required="true" error="on not found" /> <read path=".awa/rules/*.md" required="true" /> <read path=".awa/specs/ARCHITECTURE.md" required="true" error="on not found" /> <read path=".awa/.agent/schemas/ARCHITECTURE.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/FEAT.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/EXAMPLE.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/REQ.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/DESIGN.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/TASK.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/PLAN.schema.yaml" required="true" error="on not found" /> <read path=".awa/.agent/schemas/ALIGN_REPORT.schema.yaml" required="true" error="on not found" /> </tool>
User Input
${input}
You MUST consider the user input before proceeding (if not empty).
Inputs
<file type="architecture" path=".awa/specs/ARCHITECTURE.md" /> <file type="feat" path=".awa/specs/FEAT-{CODE}-{feature-name}.md" required="if exists" /> <file type="examples" path=".awa/specs/EXAMPLE-{CODE}-{feature-name}-{nnn}.md" required="if exists" /> <file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if exists" /> <file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if exists" /> <file type="api" path=".awa/specs/API-{CODE}-{feature-name}.md" required="if exists" /> <file type="tasks" path=".awa/tasks/TASK-{CODE}-{feature-name}-{nnn}.md" required="if exists" /> <file type="plan" path=".awa/plans/PLAN-{nnn}-{plan-name}.md" required="if exists" /> <file type="align_report" path=".awa/alignment/ALIGN-{x}-WITH-{y}-{nnn}.md" required="if exists" /> <file type="code" required="if relevant" />
Action
Upgrade the specified specs to conform to their schemas and traceability rules.
- ORIENT: Confirm which artifacts to upgrade; clarify missing targets.
- CHECK: Run
awa checkin the terminal to identify schema violations and traceability errors across all target files. Parse the output to build a list of findings to fix. - FIX: For each reported error, edit the file to resolve the violation — fix section structure, heading levels, missing required content, prohibited patterns, and broken trace IDs.
- RECHECK: Run
awa checkagain to verify all errors are resolved. Repeat FIX → RECHECK until the check passes cleanly (warnings and info findings are acceptable). - REPORT: Summarize changes and remaining questions before finalizing.
Outputs
- Updated spec(s) and supporting templates (as applicable)
Rules
You SHALL avoid destructive edits; propose clarifications when unsure. You SHALL follow schema structure strictly (section order, nesting). You SHALL obey schema render expectations (omit optional empty sections, avoid prohibited patterns). You SHALL upgrade existing trace IDs if necessary. You SHALL upgrade existing filenames if necessary. You SHALL respect the file line-limits; split logically if needed. You MAY use todos and tools as needed.
04 同仓库更多 Skills
awa-vibe
Implement an idea from start to finish using the full awa workflow. Use this when asked to take an idea through the complete development cycle.
awa-usage
Understand awa, its CLI, and configuration. Use this when asked about awa itself, how to use it, or how to configure it.
awa-tasks
Create or update task list documents. Use this when asked to create tasks, generate implementation steps, or break down requirements and designs into work items.
awa-spec-tidy
Tidy and reorganise the specifications logically. Use this when asked to tidy or reorganise the specifications.
awa-spec-merge
Merge two feature codes into one. Use this when asked to combine, merge, or consolidate feature codes.
awa-deprecate
Deprecate requirements by retiring IDs to the tombstone file. Use this when asked to deprecate, retire, or remove requirements, acceptance criteria, or components.