awa-check
Run traceability and schema checks, then fix any errors. Use this when asked to check, validate, or fix traceability and schema issues.
- License 许可
- BSD-3-Clause
- 所属仓库
- ncoderz/awa
- 最近更新
- 2026-08-13
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- awa-check
- description
- Run traceability and schema checks, then fix any errors. Use this when asked to check, validate, or fix traceability and schema issues.
02 资源文件 1
- 参考文档manifest.json137 B
03 SKILL.md 正文
Run Traceability and Schema Checks
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" /> </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="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if relevant" /> <file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if relevant" /> <file type="code_and_tests" path="various" required="if relevant" />
Action
Run awa check to validate traceability integrity and schema correctness across the project, then analyze and fix any reported errors.
Process
-
RUN CHECK
- Execute
awa checkusing the project's package manager - Capture the full output (errors and warnings)
- Execute
-
ANALYZE FINDINGS
- Parse the output for errors (exit code 1) and warnings
- Group findings by type:
- Orphaned markers:
@awa-impl,@awa-test, or@awa-componentreferencing IDs not found in specs - Broken cross-references: IMPLEMENTS/VALIDATES pointing to invalid targets
- Schema violations: Missing sections, wrong heading levels, missing content
- Uncovered ACs: Acceptance criteria without corresponding
@awa-test
- Orphaned markers:
-
FIX ERRORS
- For orphaned markers: locate the marker in code and either fix the ID or add the missing spec entry
- For broken cross-references: update the DESIGN spec to reference valid REQ IDs
- For schema violations: update the spec file to match the expected structure
- For uncovered ACs: add missing
@awa-testmarkers or note as intentionally deferred
-
RE-RUN CHECK
- Execute
awa checkagain to verify all errors are resolved - Repeat fix cycle until exit code is 0
- Execute
-
REPORT
- Summarize what was found and what was fixed
- Note any remaining warnings that do not block (exit code 0)
Outputs
<cli>awa check output (text or JSON)</cli>
- Fixed source code files (corrected markers)
- Fixed spec files (corrected cross-references or structure)
Rules
You SHALL run awa check before making any fixes to establish a baseline.
You SHALL fix all errors (severity: error) before completing.
You SHALL re-run awa check after fixes to confirm resolution.
You SHALL NOT remove traceability markers to silence errors — fix the root cause instead.
You SHOULD address warnings when straightforward, but warnings do not block completion.
You MAY use awa check --json for structured output when analyzing complex results.
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-upgrade
Upgrade specs to match current schemas. Use this when asked to upgrade, migrate, or update specification documents to conform to schema changes.
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.