@ncoderz/awa 0.2.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +96 -16
  2. package/dist/index.js +2307 -128
  3. package/dist/index.js.map +1 -1
  4. package/package.json +14 -4
  5. package/templates/awa/.agent/skills/awa-align/SKILL.md +3 -0
  6. package/templates/awa/.agent/skills/awa-check/SKILL.md +4 -0
  7. package/templates/awa/.agent/workflows/awa-align.md +3 -0
  8. package/templates/awa/.agent/workflows/awa-check.md +4 -0
  9. package/templates/awa/.agents/skills/awa-align/SKILL.md +3 -0
  10. package/templates/awa/.agents/skills/awa-check/SKILL.md +4 -0
  11. package/templates/awa/.awa/.agent/schemas/ALIGN_REPORT.schema.yaml +83 -0
  12. package/templates/awa/.awa/.agent/schemas/API.schema.yaml +7 -0
  13. package/templates/awa/.awa/.agent/schemas/ARCHITECTURE.schema.yaml +260 -0
  14. package/templates/awa/.awa/.agent/schemas/DESIGN.schema.yaml +361 -0
  15. package/templates/awa/.awa/.agent/schemas/EXAMPLES.schema.yaml +98 -0
  16. package/templates/awa/.awa/.agent/schemas/FEAT.schema.yaml +143 -0
  17. package/templates/awa/.awa/.agent/schemas/PLAN.schema.yaml +151 -0
  18. package/templates/awa/.awa/.agent/schemas/README.schema.yaml +137 -0
  19. package/templates/awa/.awa/.agent/schemas/REQ.schema.yaml +169 -0
  20. package/templates/awa/.awa/.agent/schemas/TASK.schema.yaml +200 -0
  21. package/templates/awa/.claude/agents/awa.md +2 -2
  22. package/templates/awa/.claude/skills/awa-align/SKILL.md +3 -0
  23. package/templates/awa/.claude/skills/awa-check/SKILL.md +4 -0
  24. package/templates/awa/.codex/prompts/awa-align.md +3 -0
  25. package/templates/awa/.codex/prompts/awa-check.md +4 -0
  26. package/templates/awa/.cursor/rules/awa-agent.md +1 -1
  27. package/templates/awa/.cursor/rules/awa-align.md +8 -0
  28. package/templates/awa/.cursor/rules/awa-check.md +9 -0
  29. package/templates/awa/.gemini/commands/awa-align.md +3 -0
  30. package/templates/awa/.gemini/commands/awa-check.md +4 -0
  31. package/templates/awa/.gemini/skills/awa-align/SKILL.md +3 -0
  32. package/templates/awa/.gemini/skills/awa-check/SKILL.md +4 -0
  33. package/templates/awa/.github/agents/awa.agent.md +2 -2
  34. package/templates/awa/.github/prompts/awa.align.prompt.md +8 -0
  35. package/templates/awa/.github/prompts/awa.check.prompt.md +9 -0
  36. package/templates/awa/.github/skills/awa-align/SKILL.md +8 -0
  37. package/templates/awa/.github/skills/awa-check/SKILL.md +9 -0
  38. package/templates/awa/.kilocode/rules/awa-agent.md +1 -1
  39. package/templates/awa/.kilocode/skills/awa-align/SKILL.md +3 -0
  40. package/templates/awa/.kilocode/skills/awa-check/SKILL.md +4 -0
  41. package/templates/awa/.kilocode/workflows/awa-align.md +3 -0
  42. package/templates/awa/.kilocode/workflows/awa-check.md +4 -0
  43. package/templates/awa/.opencode/agents/awa.md +2 -2
  44. package/templates/awa/.opencode/commands/awa-align.md +3 -0
  45. package/templates/awa/.opencode/commands/awa-check.md +4 -0
  46. package/templates/awa/.opencode/skills/awa-align/SKILL.md +3 -0
  47. package/templates/awa/.opencode/skills/awa-check/SKILL.md +4 -0
  48. package/templates/awa/.qwen/commands/awa-align.md +3 -0
  49. package/templates/awa/.qwen/commands/awa-check.md +4 -0
  50. package/templates/awa/.qwen/skills/awa-align/SKILL.md +3 -0
  51. package/templates/awa/.qwen/skills/awa-check/SKILL.md +4 -0
  52. package/templates/awa/.roo/rules/awa-agent.md +1 -1
  53. package/templates/awa/.roo/skills/awa-align/SKILL.md +3 -0
  54. package/templates/awa/.roo/skills/awa-check/SKILL.md +4 -0
  55. package/templates/awa/.windsurf/rules/awa-agent.md +1 -1
  56. package/templates/awa/.windsurf/skills/awa-align/SKILL.md +3 -0
  57. package/templates/awa/.windsurf/skills/awa-check/SKILL.md +4 -0
  58. package/templates/awa/AGENTS.md +1 -1
  59. package/templates/awa/CLAUDE.md +1 -1
  60. package/templates/awa/GEMINI.md +1 -1
  61. package/templates/awa/QWEN.md +1 -1
  62. package/templates/awa/_README.md +3 -2
  63. package/templates/awa/_delete.txt +49 -0
  64. package/templates/awa/_partials/{_cmd.awa-validate-alignment.md → _cmd.awa-align.md} +1 -1
  65. package/templates/awa/_partials/_cmd.awa-check.md +6 -0
  66. package/templates/awa/_partials/_skill.awa-align.md +6 -0
  67. package/templates/awa/_partials/_skill.awa-check.md +6 -0
  68. package/templates/awa/_partials/{awa.validate-alignment.md → awa.align.md} +2 -2
  69. package/templates/awa/_partials/awa.architecture.md +1 -1
  70. package/templates/awa/_partials/awa.check.md +73 -0
  71. package/templates/awa/_partials/awa.code.md +1 -0
  72. package/templates/awa/_partials/awa.core.md +24 -10
  73. package/templates/awa/_partials/awa.design.md +3 -2
  74. package/templates/awa/_partials/awa.documentation.md +1 -1
  75. package/templates/awa/_partials/awa.examples.md +1 -1
  76. package/templates/awa/_partials/awa.feature.md +1 -1
  77. package/templates/awa/_partials/awa.plan.md +1 -1
  78. package/templates/awa/_partials/awa.refactor.md +1 -0
  79. package/templates/awa/_partials/awa.requirements.md +2 -1
  80. package/templates/awa/_partials/awa.tasks.md +3 -3
  81. package/templates/awa/_partials/awa.upgrade.md +13 -12
  82. package/templates/awa/_tests/claude.toml +7 -0
  83. package/templates/awa/_tests/copilot.toml +6 -0
  84. package/templates/awa/.agent/skills/awa-validate-alignment/SKILL.md +0 -3
  85. package/templates/awa/.agent/workflows/awa-validate-alignment.md +0 -3
  86. package/templates/awa/.agents/skills/awa-validate-alignment/SKILL.md +0 -3
  87. package/templates/awa/.awa/.agent/schemas/ALIGN_REPORT.schema.md +0 -156
  88. package/templates/awa/.awa/.agent/schemas/API.schema.md +0 -4
  89. package/templates/awa/.awa/.agent/schemas/ARCHITECTURE.schema.md +0 -176
  90. package/templates/awa/.awa/.agent/schemas/DESIGN.schema.md +0 -253
  91. package/templates/awa/.awa/.agent/schemas/EXAMPLES.schema.md +0 -51
  92. package/templates/awa/.awa/.agent/schemas/FEAT.schema.md +0 -61
  93. package/templates/awa/.awa/.agent/schemas/PLAN.schema.md +0 -8
  94. package/templates/awa/.awa/.agent/schemas/README.schema.md +0 -133
  95. package/templates/awa/.awa/.agent/schemas/REQ.schema.md +0 -125
  96. package/templates/awa/.awa/.agent/schemas/TASK.schema.md +0 -137
  97. package/templates/awa/.claude/skills/awa-validate-alignment/SKILL.md +0 -3
  98. package/templates/awa/.codex/prompts/awa-validate-alignment.md +0 -3
  99. package/templates/awa/.cursor/rules/awa-validate-alignment.md +0 -8
  100. package/templates/awa/.gemini/commands/awa-validate-alignment.md +0 -3
  101. package/templates/awa/.gemini/skills/awa-validate-alignment/SKILL.md +0 -3
  102. package/templates/awa/.github/prompts/awa.validate-alignment.prompt.md +0 -8
  103. package/templates/awa/.github/skills/awa-validate-alignment/SKILL.md +0 -8
  104. package/templates/awa/.kilocode/skills/awa-validate-alignment/SKILL.md +0 -3
  105. package/templates/awa/.kilocode/workflows/awa-validate-alignment.md +0 -3
  106. package/templates/awa/.opencode/commands/awa-validate-alignment.md +0 -3
  107. package/templates/awa/.opencode/skills/awa-validate-alignment/SKILL.md +0 -3
  108. package/templates/awa/.qwen/commands/awa-validate-alignment.md +0 -3
  109. package/templates/awa/.qwen/skills/awa-validate-alignment/SKILL.md +0 -3
  110. package/templates/awa/.roo/skills/awa-validate-alignment/SKILL.md +0 -3
  111. package/templates/awa/.windsurf/skills/awa-validate-alignment/SKILL.md +0 -3
  112. package/templates/awa/_partials/_skill.awa-validate-alignment.md +0 -6
@@ -9,6 +9,6 @@ alwaysApply: true
9
9
  <tool name="read_file">
10
10
  <read path=".awa/rules/*.md" required="true" />
11
11
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
12
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
12
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
13
13
  </tool>
14
14
  <% } %>
@@ -0,0 +1,8 @@
1
+ <% if (it.features.includes('cursor')) { %>
2
+ ---
3
+ description: Align of source with target
4
+ alwaysApply: false
5
+ ---
6
+
7
+ <%~ include('_partials/awa.align.md', it) %>
8
+ <% } %>
@@ -0,0 +1,9 @@
1
+ <% if (it.features.includes('cursor')) { %>
2
+ ---
3
+ description: Run traceability and schema checks, then fix any errors
4
+ alwaysApply: false
5
+ ---
6
+
7
+ <%~ include('_partials/awa.check.md', it) %>
8
+ <% } %>
9
+
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('gemini')) { %>
2
+ <%~ include('_partials/_cmd.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('gemini')) { %>
2
+ <%~ include('_partials/_cmd.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('gemini')) { %>
2
+ <%~ include('_partials/_skill.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('gemini')) { %>
2
+ <%~ include('_partials/_skill.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -1,6 +1,6 @@
1
1
  <% if (it.features.includes('copilot')) { %>
2
2
  ---
3
- description: "awa 0.2.0"
3
+ description: "awa <%= it.version %>"
4
4
  tools: ['edit', 'search', 'runCommands', 'runTasks', 'microsoft/playwright-mcp/*', 'usages', 'vscodeAPI', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'extensions', 'todos', 'runTests']
5
5
  ---
6
6
 
@@ -9,6 +9,6 @@ tools: ['edit', 'search', 'runCommands', 'runTasks', 'microsoft/playwright-mcp/*
9
9
  <tool name="read_file">
10
10
  <read path=".awa/rules/*.md" required="true" />
11
11
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
12
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
12
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
13
13
  </tool>
14
14
  <% } %>
@@ -0,0 +1,8 @@
1
+ <% if (it.features.includes('copilot')) { %>
2
+ ---
3
+ description: Align of source with target (check source matches target, and if not list differences)
4
+ argument-hint: "<source> [<target>]"
5
+ ---
6
+
7
+ <%~ include('_partials/awa.align.md', it) %>
8
+ <% } %>
@@ -0,0 +1,9 @@
1
+ <% if (it.features.includes('copilot')) { %>
2
+ ---
3
+ description: Run traceability and schema checks, then fix any errors
4
+ argument-hint: "[<instructions>]"
5
+ ---
6
+
7
+ <%~ include('_partials/awa.check.md', it) %>
8
+ <% } %>
9
+
@@ -0,0 +1,8 @@
1
+ <% if (it.features.includes('copilot')) { %>
2
+ ---
3
+ name: awa-align
4
+ description: Align of source with target. Use this when asked to validate, check, or verify alignment between artifacts.
5
+ ---
6
+
7
+ <%~ include('_partials/awa.align.md', it) %>
8
+ <% } %>
@@ -0,0 +1,9 @@
1
+ <% if (it.features.includes('copilot')) { %>
2
+ ---
3
+ name: awa-check
4
+ description: Run traceability and schema checks, then fix any errors. Use this when asked to check, validate, or fix traceability and schema issues.
5
+ ---
6
+
7
+ <%~ include('_partials/awa.check.md', it) %>
8
+ <% } %>
9
+
@@ -8,6 +8,6 @@ description: awa AI coding assistant — core system instructions
8
8
  <tool name="read_file">
9
9
  <read path=".awa/rules/*.md" required="true" />
10
10
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
11
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
11
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
12
12
  </tool>
13
13
  <% } %>
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('kilocode')) { %>
2
+ <%~ include('_partials/_skill.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('kilocode')) { %>
2
+ <%~ include('_partials/_skill.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('kilocode')) { %>
2
+ <%~ include('_partials/_cmd.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('kilocode')) { %>
2
+ <%~ include('_partials/_cmd.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -1,7 +1,7 @@
1
1
  <% if (it.features.includes('opencode')) { %>
2
2
  ---
3
3
  name: awa
4
- description: "awa 0.2.0"
4
+ description: "awa <%= it.version %>"
5
5
  ---
6
6
 
7
7
  <%~ include('_partials/awa.core.md', it) %>
@@ -9,6 +9,6 @@ description: "awa 0.2.0"
9
9
  <tool name="read_file">
10
10
  <read path=".awa/rules/*.md" required="true" />
11
11
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
12
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
12
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
13
13
  </tool>
14
14
  <% } %>
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('opencode')) { %>
2
+ <%~ include('_partials/_cmd.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('opencode')) { %>
2
+ <%~ include('_partials/_cmd.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('opencode')) { %>
2
+ <%~ include('_partials/_skill.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('opencode')) { %>
2
+ <%~ include('_partials/_skill.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('qwen')) { %>
2
+ <%~ include('_partials/_cmd.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('qwen')) { %>
2
+ <%~ include('_partials/_cmd.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('qwen')) { %>
2
+ <%~ include('_partials/_skill.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('qwen')) { %>
2
+ <%~ include('_partials/_skill.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -8,6 +8,6 @@ description: awa AI coding assistant — core system instructions
8
8
  <tool name="read_file">
9
9
  <read path=".awa/rules/*.md" required="true" />
10
10
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
11
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
11
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
12
12
  </tool>
13
13
  <% } %>
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('roo')) { %>
2
+ <%~ include('_partials/_skill.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('roo')) { %>
2
+ <%~ include('_partials/_skill.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -9,6 +9,6 @@ trigger: always_on
9
9
  <tool name="read_file">
10
10
  <read path=".awa/rules/*.md" required="true" />
11
11
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
12
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
12
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
13
13
  </tool>
14
14
  <% } %>
@@ -0,0 +1,3 @@
1
+ <% if (it.features.includes('windsurf')) { %>
2
+ <%~ include('_partials/_skill.awa-align.md', it) %>
3
+ <% } %>
@@ -0,0 +1,4 @@
1
+ <% if (it.features.includes('windsurf')) { %>
2
+ <%~ include('_partials/_skill.awa-check.md', it) %>
3
+ <% } %>
4
+
@@ -4,6 +4,6 @@
4
4
  <tool name="read_file">
5
5
  <read path=".awa/rules/*.md" required="true" />
6
6
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
7
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
7
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
8
8
  </tool>
9
9
  <% } %>
@@ -4,6 +4,6 @@
4
4
  <tool name="read_file">
5
5
  <read path=".awa/rules/*.md" required="true" />
6
6
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
7
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
7
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
8
8
  </tool>
9
9
  <% } %>
@@ -4,6 +4,6 @@
4
4
  <tool name="read_file">
5
5
  <read path=".awa/rules/*.md" required="true" />
6
6
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
7
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
7
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
8
8
  </tool>
9
9
  <% } %>
@@ -4,6 +4,6 @@
4
4
  <tool name="read_file">
5
5
  <read path=".awa/rules/*.md" required="true" />
6
6
  <read path=".awa/specs/ARCHITECTURE.md" required="true" />
7
- <read path=".awa/.agent/schemas/*.schema.md" required="before writing corresponding file type" />
7
+ <read path=".awa/.agent/schemas/*.schema.yaml" required="before writing corresponding file type" />
8
8
  </tool>
9
9
  <% } %>
@@ -39,12 +39,13 @@ npx awa generate . --template ./templates/awa --features agents-md
39
39
 
40
40
  ## Generated Skills
41
41
 
42
- Each tool that supports Agent Skills receives the full set of 14 awa skills:
42
+ Each tool that supports Agent Skills receives the full set of 15 awa skills:
43
43
 
44
44
  | Skill | Description |
45
45
  |-------|-------------|
46
46
  | `awa-architecture` | Create or update ARCHITECTURE.md |
47
47
  | `awa-brainstorm` | Brainstorm ideas, explore solutions |
48
+ | `awa-check` | Run traceability and schema checks, then fix errors |
48
49
  | `awa-code` | Implement code and tests |
49
50
  | `awa-design` | Create or update design documents |
50
51
  | `awa-documentation` | Create or update project documentation |
@@ -55,7 +56,7 @@ Each tool that supports Agent Skills receives the full set of 14 awa skills:
55
56
  | `awa-requirements` | Create or update requirements documents |
56
57
  | `awa-tasks` | Create or update task list documents |
57
58
  | `awa-upgrade` | Upgrade specs to match current schemas |
58
- | `awa-validate-alignment` | Validate alignment between artifacts |
59
+ | `awa-align` | Validate alignment between artifacts |
59
60
  | `awa-vibe` | Full awa workflow from idea to completion |
60
61
 
61
62
  ## Partials
@@ -12,6 +12,18 @@
12
12
  .github/agents/awa-requirements.agent.md
13
13
  .github/agents/awa-vibe.agent.md
14
14
 
15
+ # Schema files replaced by .schema.yaml
16
+ .awa/.agent/schemas/ARCHITECTURE.schema.md
17
+ .awa/.agent/schemas/ALIGN_REPORT.schema.md
18
+ .awa/.agent/schemas/API.schema.md
19
+ .awa/.agent/schemas/DESIGN.schema.md
20
+ .awa/.agent/schemas/EXAMPLES.schema.md
21
+ .awa/.agent/schemas/FEAT.schema.md
22
+ .awa/.agent/schemas/PLAN.schema.md
23
+ .awa/.agent/schemas/README.schema.md
24
+ .awa/.agent/schemas/REQ.schema.md
25
+ .awa/.agent/schemas/TASK.schema.md
26
+
15
27
  # @feature copilot
16
28
  .github/agents/awa.agent.md
17
29
  .github/prompts/awa.architecture.prompt.md
@@ -26,6 +38,8 @@
26
38
  .github/prompts/awa.requirements.prompt.md
27
39
  .github/prompts/awa.tasks.prompt.md
28
40
  .github/prompts/awa.upgrade.prompt.md
41
+ .github/prompts/awa.align.prompt.md
42
+ .github/prompts/awa.check.prompt.md
29
43
  .github/prompts/awa.validate-alignment.prompt.md
30
44
  .github/prompts/awa.vibe.prompt.md
31
45
  .github/skills/awa-architecture/SKILL.md
@@ -40,6 +54,8 @@
40
54
  .github/skills/awa-requirements/SKILL.md
41
55
  .github/skills/awa-tasks/SKILL.md
42
56
  .github/skills/awa-upgrade/SKILL.md
57
+ .github/skills/awa-align/SKILL.md
58
+ .github/skills/awa-check/SKILL.md
43
59
  .github/skills/awa-validate-alignment/SKILL.md
44
60
  .github/skills/awa-vibe/SKILL.md
45
61
 
@@ -58,6 +74,8 @@ CLAUDE.md
58
74
  .claude/skills/awa-requirements/SKILL.md
59
75
  .claude/skills/awa-tasks/SKILL.md
60
76
  .claude/skills/awa-upgrade/SKILL.md
77
+ .claude/skills/awa-align/SKILL.md
78
+ .claude/skills/awa-check/SKILL.md
61
79
  .claude/skills/awa-validate-alignment/SKILL.md
62
80
  .claude/skills/awa-vibe/SKILL.md
63
81
 
@@ -75,6 +93,8 @@ CLAUDE.md
75
93
  .cursor/rules/awa-requirements.md
76
94
  .cursor/rules/awa-tasks.md
77
95
  .cursor/rules/awa-upgrade.md
96
+ .cursor/rules/awa-align.md
97
+ .cursor/rules/awa-check.md
78
98
  .cursor/rules/awa-validate-alignment.md
79
99
  .cursor/rules/awa-vibe.md
80
100
 
@@ -92,6 +112,8 @@ CLAUDE.md
92
112
  .windsurf/skills/awa-requirements/SKILL.md
93
113
  .windsurf/skills/awa-tasks/SKILL.md
94
114
  .windsurf/skills/awa-upgrade/SKILL.md
115
+ .windsurf/skills/awa-align/SKILL.md
116
+ .windsurf/skills/awa-check/SKILL.md
95
117
  .windsurf/skills/awa-validate-alignment/SKILL.md
96
118
  .windsurf/skills/awa-vibe/SKILL.md
97
119
 
@@ -109,6 +131,8 @@ CLAUDE.md
109
131
  .kilocode/workflows/awa-requirements.md
110
132
  .kilocode/workflows/awa-tasks.md
111
133
  .kilocode/workflows/awa-upgrade.md
134
+ .kilocode/workflows/awa-align.md
135
+ .kilocode/workflows/awa-check.md
112
136
  .kilocode/workflows/awa-validate-alignment.md
113
137
  .kilocode/workflows/awa-vibe.md
114
138
  .kilocode/skills/awa-architecture/SKILL.md
@@ -123,6 +147,8 @@ CLAUDE.md
123
147
  .kilocode/skills/awa-requirements/SKILL.md
124
148
  .kilocode/skills/awa-tasks/SKILL.md
125
149
  .kilocode/skills/awa-upgrade/SKILL.md
150
+ .kilocode/skills/awa-align/SKILL.md
151
+ .kilocode/skills/awa-check/SKILL.md
126
152
  .kilocode/skills/awa-validate-alignment/SKILL.md
127
153
  .kilocode/skills/awa-vibe/SKILL.md
128
154
 
@@ -140,6 +166,8 @@ CLAUDE.md
140
166
  .opencode/commands/awa-requirements.md
141
167
  .opencode/commands/awa-tasks.md
142
168
  .opencode/commands/awa-upgrade.md
169
+ .opencode/commands/awa-align.md
170
+ .opencode/commands/awa-check.md
143
171
  .opencode/commands/awa-validate-alignment.md
144
172
  .opencode/commands/awa-vibe.md
145
173
  .opencode/skills/awa-architecture/SKILL.md
@@ -154,6 +182,8 @@ CLAUDE.md
154
182
  .opencode/skills/awa-requirements/SKILL.md
155
183
  .opencode/skills/awa-tasks/SKILL.md
156
184
  .opencode/skills/awa-upgrade/SKILL.md
185
+ .opencode/skills/awa-align/SKILL.md
186
+ .opencode/skills/awa-check/SKILL.md
157
187
  .opencode/skills/awa-validate-alignment/SKILL.md
158
188
  .opencode/skills/awa-vibe/SKILL.md
159
189
 
@@ -174,6 +204,8 @@ GEMINI.md
174
204
  .gemini/commands/awa-requirements.md
175
205
  .gemini/commands/awa-tasks.md
176
206
  .gemini/commands/awa-upgrade.md
207
+ .gemini/commands/awa-align.md
208
+ .gemini/commands/awa-check.md
177
209
  .gemini/commands/awa-validate-alignment.md
178
210
  .gemini/commands/awa-vibe.md
179
211
  .gemini/skills/awa-architecture/SKILL.md
@@ -188,6 +220,8 @@ GEMINI.md
188
220
  .gemini/skills/awa-requirements/SKILL.md
189
221
  .gemini/skills/awa-tasks/SKILL.md
190
222
  .gemini/skills/awa-upgrade/SKILL.md
223
+ .gemini/skills/awa-align/SKILL.md
224
+ .gemini/skills/awa-check/SKILL.md
191
225
  .gemini/skills/awa-validate-alignment/SKILL.md
192
226
  .gemini/skills/awa-vibe/SKILL.md
193
227
 
@@ -205,6 +239,8 @@ QWEN.md
205
239
  .qwen/commands/awa-requirements.md
206
240
  .qwen/commands/awa-tasks.md
207
241
  .qwen/commands/awa-upgrade.md
242
+ .qwen/commands/awa-align.md
243
+ .qwen/commands/awa-check.md
208
244
  .qwen/commands/awa-validate-alignment.md
209
245
  .qwen/commands/awa-vibe.md
210
246
  .qwen/skills/awa-architecture/SKILL.md
@@ -219,6 +255,8 @@ QWEN.md
219
255
  .qwen/skills/awa-requirements/SKILL.md
220
256
  .qwen/skills/awa-tasks/SKILL.md
221
257
  .qwen/skills/awa-upgrade/SKILL.md
258
+ .qwen/skills/awa-align/SKILL.md
259
+ .qwen/skills/awa-check/SKILL.md
222
260
  .qwen/skills/awa-validate-alignment/SKILL.md
223
261
  .qwen/skills/awa-vibe/SKILL.md
224
262
 
@@ -236,6 +274,8 @@ QWEN.md
236
274
  .roo/skills/awa-requirements/SKILL.md
237
275
  .roo/skills/awa-tasks/SKILL.md
238
276
  .roo/skills/awa-upgrade/SKILL.md
277
+ .roo/skills/awa-align/SKILL.md
278
+ .roo/skills/awa-check/SKILL.md
239
279
  .roo/skills/awa-validate-alignment/SKILL.md
240
280
  .roo/skills/awa-vibe/SKILL.md
241
281
 
@@ -252,6 +292,8 @@ QWEN.md
252
292
  .codex/prompts/awa-requirements.md
253
293
  .codex/prompts/awa-tasks.md
254
294
  .codex/prompts/awa-upgrade.md
295
+ .codex/prompts/awa-align.md
296
+ .codex/prompts/awa-check.md
255
297
  .codex/prompts/awa-validate-alignment.md
256
298
  .codex/prompts/awa-vibe.md
257
299
  .agents/skills/awa-architecture/SKILL.md
@@ -266,6 +308,8 @@ QWEN.md
266
308
  .agents/skills/awa-requirements/SKILL.md
267
309
  .agents/skills/awa-tasks/SKILL.md
268
310
  .agents/skills/awa-upgrade/SKILL.md
311
+ .agents/skills/awa-align/SKILL.md
312
+ .agents/skills/awa-check/SKILL.md
269
313
  .agents/skills/awa-validate-alignment/SKILL.md
270
314
  .agents/skills/awa-vibe/SKILL.md
271
315
 
@@ -282,6 +326,8 @@ QWEN.md
282
326
  .agent/workflows/awa-requirements.md
283
327
  .agent/workflows/awa-tasks.md
284
328
  .agent/workflows/awa-upgrade.md
329
+ .agent/workflows/awa-align.md
330
+ .agent/workflows/awa-check.md
285
331
  .agent/workflows/awa-validate-alignment.md
286
332
  .agent/workflows/awa-vibe.md
287
333
  .agent/skills/awa-architecture/SKILL.md
@@ -296,5 +342,8 @@ QWEN.md
296
342
  .agent/skills/awa-requirements/SKILL.md
297
343
  .agent/skills/awa-tasks/SKILL.md
298
344
  .agent/skills/awa-upgrade/SKILL.md
345
+ .agent/skills/awa-align/SKILL.md
346
+ .agent/skills/awa-check/SKILL.md
299
347
  .agent/skills/awa-validate-alignment/SKILL.md
300
348
  .agent/skills/awa-vibe/SKILL.md
349
+
@@ -3,4 +3,4 @@ description: Validate alignment of source with target
3
3
  argument-hint: "<source> <target> [<instructions>]"
4
4
  ---
5
5
 
6
- <%~ include('awa.validate-alignment.md', it) %>
6
+ <%~ include('awa.align.md', it) %>
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Run traceability and schema checks, then fix any errors
3
+ argument-hint: "[<instructions>]"
4
+ ---
5
+
6
+ <%~ include('awa.check.md', it) %>
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: awa-align
3
+ description: Align source with target. Use this when asked to align, check, or verify alignment between artifacts.
4
+ ---
5
+
6
+ <%~ include('awa.align.md', it) %>
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: awa-check
3
+ description: Run traceability and schema checks, then fix any errors. Use this when asked to check, validate, or fix traceability and schema issues.
4
+ ---
5
+
6
+ <%~ include('awa.check.md', it) %>
@@ -1,4 +1,4 @@
1
- # Validate alignment of Source(x) with Target(y)
1
+ # Validate Alignment of Source(x) with Target(y)
2
2
 
3
3
  ## Bootstrap
4
4
 
@@ -6,7 +6,7 @@
6
6
  <read path=".awa/.agent/awa.core.md" required="true" error="on not found" />
7
7
  <read path=".awa/rules/*.md" required="true" />
8
8
  <read path=".awa/specs/ARCHITECTURE.md" required="true" error="on not found" />
9
- <read path=".awa/.agent/schemas/ALIGN_REPORT.schema.md" required="true" error="on not found" />
9
+ <read path=".awa/.agent/schemas/ALIGN_REPORT.schema.yaml" required="true" error="on not found" />
10
10
  </tool>
11
11
 
12
12
  ## User Input
@@ -6,7 +6,7 @@
6
6
  <read path=".awa/.agent/awa.core.md" required="true" error="on not found" />
7
7
  <read path=".awa/rules/*.md" required="true" />
8
8
  <read path=".awa/specs/ARCHITECTURE.md" required="if exists" />
9
- <read path=".awa/.agent/schemas/ARCHITECTURE.schema.md" required="true" error="on not found" />
9
+ <read path=".awa/.agent/schemas/ARCHITECTURE.schema.yaml" required="true" error="on not found" />
10
10
  </tool>
11
11
 
12
12
  ## User Input
@@ -0,0 +1,73 @@
1
+ # Run Traceability and Schema Checks
2
+
3
+ ## Bootstrap
4
+
5
+ <tool name="read_file">
6
+ <read path=".awa/.agent/awa.core.md" required="true" error="on not found" />
7
+ <read path=".awa/rules/*.md" required="true" />
8
+ <read path=".awa/specs/ARCHITECTURE.md" required="true" error="on not found" />
9
+ </tool>
10
+
11
+ ## User Input
12
+
13
+ ```text
14
+ ${input}
15
+ ```
16
+
17
+ You **MUST** consider the user input before proceeding (if not empty).
18
+
19
+ ## Inputs
20
+
21
+ <file type="architecture" path=".awa/specs/ARCHITECTURE.md" />
22
+ <file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if relevant" />
23
+ <file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if relevant" />
24
+ <file type="code_and_tests" path="various" required="if relevant" />
25
+
26
+ ## Action
27
+
28
+ Run `awa check` to validate traceability integrity and schema correctness across the project, then analyze and fix any reported errors.
29
+
30
+ ## Process
31
+
32
+ 1. RUN CHECK
33
+ - Execute `awa check` using the project's package manager
34
+ - Capture the full output (errors and warnings)
35
+
36
+ 2. ANALYZE FINDINGS
37
+ - Parse the output for errors (exit code 1) and warnings
38
+ - Group findings by type:
39
+ - **Orphaned markers**: `@awa-impl`, `@awa-test`, or `@awa-component` referencing IDs not found in specs
40
+ - **Broken cross-references**: IMPLEMENTS/VALIDATES pointing to invalid targets
41
+ - **Schema violations**: Missing sections, wrong heading levels, missing content
42
+ - **Uncovered ACs**: Acceptance criteria without corresponding `@awa-test`
43
+
44
+ 3. FIX ERRORS
45
+ - For orphaned markers: locate the marker in code and either fix the ID or add the missing spec entry
46
+ - For broken cross-references: update the DESIGN spec to reference valid REQ IDs
47
+ - For schema violations: update the spec file to match the expected structure
48
+ - For uncovered ACs: add missing `@awa-test` markers or note as intentionally deferred
49
+
50
+ 4. RE-RUN CHECK
51
+ - Execute `awa check` again to verify all errors are resolved
52
+ - Repeat fix cycle until exit code is 0
53
+
54
+ 5. REPORT
55
+ - Summarize what was found and what was fixed
56
+ - Note any remaining warnings that do not block (exit code 0)
57
+
58
+ ## Outputs
59
+
60
+ <cli>awa check output (text or JSON)</cli>
61
+ - Fixed source code files (corrected markers)
62
+ - Fixed spec files (corrected cross-references or structure)
63
+
64
+ ## Rules
65
+
66
+ You SHALL run `awa check` before making any fixes to establish a baseline.
67
+ You SHALL fix all errors (severity: error) before completing.
68
+ You SHALL re-run `awa check` after fixes to confirm resolution.
69
+ You SHALL NOT remove traceability markers to silence errors — fix the root cause instead.
70
+ You SHOULD address warnings when straightforward, but warnings do not block completion.
71
+ You MAY use `awa check --format json` for structured output when analyzing complex results.
72
+ You MAY use todos and tools as needed.
73
+
@@ -163,5 +163,6 @@ You SHALL use any tools you need to help write and test code (e.g. MCP tools for
163
163
  You MUST add traceability markers (`@awa-component`, `@awa-impl`, `@awa-test`) to all code and tests.
164
164
  You MUST ensure every feature implementation traces to at least one acceptance criterion.
165
165
  You MUST ensure every test file traces to at least one design property.
166
+ You MUST run `awa check` after implementation to verify all traceability markers resolve to spec IDs and no acceptance criteria are left uncovered.
166
167
  You SHALL clarify open points with user.
167
168
  You MAY use todos and tools as needed.