@ncoderz/awa 0.2.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.
- package/LICENSE +21 -0
- package/README.md +234 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1353 -0
- package/dist/index.js.map +1 -0
- package/package.json +75 -0
- package/templates/awa/.agent/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.agent/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.agent/workflows/awa-architecture.md +3 -0
- package/templates/awa/.agent/workflows/awa-brainstorm.md +3 -0
- package/templates/awa/.agent/workflows/awa-code.md +3 -0
- package/templates/awa/.agent/workflows/awa-design.md +3 -0
- package/templates/awa/.agent/workflows/awa-documentation.md +3 -0
- package/templates/awa/.agent/workflows/awa-examples.md +3 -0
- package/templates/awa/.agent/workflows/awa-feature.md +3 -0
- package/templates/awa/.agent/workflows/awa-plan.md +3 -0
- package/templates/awa/.agent/workflows/awa-refactor.md +3 -0
- package/templates/awa/.agent/workflows/awa-requirements.md +3 -0
- package/templates/awa/.agent/workflows/awa-tasks.md +3 -0
- package/templates/awa/.agent/workflows/awa-upgrade.md +3 -0
- package/templates/awa/.agent/workflows/awa-validate-alignment.md +3 -0
- package/templates/awa/.agent/workflows/awa-vibe.md +3 -0
- package/templates/awa/.agents/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.agents/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.awa/.agent/awa.core.md +1 -0
- package/templates/awa/.awa/.agent/schemas/ALIGN_REPORT.schema.md +156 -0
- package/templates/awa/.awa/.agent/schemas/API.schema.md +4 -0
- package/templates/awa/.awa/.agent/schemas/ARCHITECTURE.schema.md +176 -0
- package/templates/awa/.awa/.agent/schemas/DESIGN.schema.md +253 -0
- package/templates/awa/.awa/.agent/schemas/EXAMPLES.schema.md +51 -0
- package/templates/awa/.awa/.agent/schemas/FEAT.schema.md +61 -0
- package/templates/awa/.awa/.agent/schemas/PLAN.schema.md +8 -0
- package/templates/awa/.awa/.agent/schemas/README.schema.md +133 -0
- package/templates/awa/.awa/.agent/schemas/REQ.schema.md +125 -0
- package/templates/awa/.awa/.agent/schemas/TASK.schema.md +137 -0
- package/templates/awa/.claude/agents/awa.md +14 -0
- package/templates/awa/.claude/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.claude/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.codex/prompts/awa-architecture.md +3 -0
- package/templates/awa/.codex/prompts/awa-brainstorm.md +3 -0
- package/templates/awa/.codex/prompts/awa-code.md +3 -0
- package/templates/awa/.codex/prompts/awa-design.md +3 -0
- package/templates/awa/.codex/prompts/awa-documentation.md +3 -0
- package/templates/awa/.codex/prompts/awa-examples.md +3 -0
- package/templates/awa/.codex/prompts/awa-feature.md +3 -0
- package/templates/awa/.codex/prompts/awa-plan.md +3 -0
- package/templates/awa/.codex/prompts/awa-refactor.md +3 -0
- package/templates/awa/.codex/prompts/awa-requirements.md +3 -0
- package/templates/awa/.codex/prompts/awa-tasks.md +3 -0
- package/templates/awa/.codex/prompts/awa-upgrade.md +3 -0
- package/templates/awa/.codex/prompts/awa-validate-alignment.md +3 -0
- package/templates/awa/.codex/prompts/awa-vibe.md +3 -0
- package/templates/awa/.cursor/rules/awa-agent.md +14 -0
- package/templates/awa/.cursor/rules/awa-architecture.md +8 -0
- package/templates/awa/.cursor/rules/awa-brainstorm.md +8 -0
- package/templates/awa/.cursor/rules/awa-code.md +8 -0
- package/templates/awa/.cursor/rules/awa-design.md +8 -0
- package/templates/awa/.cursor/rules/awa-documentation.md +8 -0
- package/templates/awa/.cursor/rules/awa-examples.md +8 -0
- package/templates/awa/.cursor/rules/awa-feature.md +8 -0
- package/templates/awa/.cursor/rules/awa-plan.md +8 -0
- package/templates/awa/.cursor/rules/awa-refactor.md +8 -0
- package/templates/awa/.cursor/rules/awa-requirements.md +8 -0
- package/templates/awa/.cursor/rules/awa-tasks.md +8 -0
- package/templates/awa/.cursor/rules/awa-upgrade.md +8 -0
- package/templates/awa/.cursor/rules/awa-validate-alignment.md +8 -0
- package/templates/awa/.cursor/rules/awa-vibe.md +8 -0
- package/templates/awa/.gemini/commands/awa-architecture.md +3 -0
- package/templates/awa/.gemini/commands/awa-brainstorm.md +3 -0
- package/templates/awa/.gemini/commands/awa-code.md +3 -0
- package/templates/awa/.gemini/commands/awa-design.md +3 -0
- package/templates/awa/.gemini/commands/awa-documentation.md +3 -0
- package/templates/awa/.gemini/commands/awa-examples.md +3 -0
- package/templates/awa/.gemini/commands/awa-feature.md +3 -0
- package/templates/awa/.gemini/commands/awa-plan.md +3 -0
- package/templates/awa/.gemini/commands/awa-refactor.md +3 -0
- package/templates/awa/.gemini/commands/awa-requirements.md +3 -0
- package/templates/awa/.gemini/commands/awa-tasks.md +3 -0
- package/templates/awa/.gemini/commands/awa-upgrade.md +3 -0
- package/templates/awa/.gemini/commands/awa-validate-alignment.md +3 -0
- package/templates/awa/.gemini/commands/awa-vibe.md +3 -0
- package/templates/awa/.gemini/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.gemini/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.github/agents/awa.agent.md +14 -0
- package/templates/awa/.github/prompts/awa.architecture.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.brainstorm.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.code.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.design.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.documentation.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.examples.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.feature.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.plan.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.refactor.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.requirements.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.tasks.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.upgrade.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.validate-alignment.prompt.md +8 -0
- package/templates/awa/.github/prompts/awa.vibe.prompt.md +8 -0
- package/templates/awa/.github/skills/awa-architecture/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-brainstorm/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-code/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-design/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-documentation/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-examples/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-feature/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-plan/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-refactor/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-requirements/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-tasks/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-upgrade/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-validate-alignment/SKILL.md +8 -0
- package/templates/awa/.github/skills/awa-vibe/SKILL.md +8 -0
- package/templates/awa/.kilocode/rules/awa-agent.md +13 -0
- package/templates/awa/.kilocode/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.kilocode/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-architecture.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-brainstorm.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-code.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-design.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-documentation.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-examples.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-feature.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-plan.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-refactor.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-requirements.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-tasks.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-upgrade.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-validate-alignment.md +3 -0
- package/templates/awa/.kilocode/workflows/awa-vibe.md +3 -0
- package/templates/awa/.opencode/agents/awa.md +14 -0
- package/templates/awa/.opencode/commands/awa-architecture.md +3 -0
- package/templates/awa/.opencode/commands/awa-brainstorm.md +3 -0
- package/templates/awa/.opencode/commands/awa-code.md +3 -0
- package/templates/awa/.opencode/commands/awa-design.md +3 -0
- package/templates/awa/.opencode/commands/awa-documentation.md +3 -0
- package/templates/awa/.opencode/commands/awa-examples.md +3 -0
- package/templates/awa/.opencode/commands/awa-feature.md +3 -0
- package/templates/awa/.opencode/commands/awa-plan.md +3 -0
- package/templates/awa/.opencode/commands/awa-refactor.md +3 -0
- package/templates/awa/.opencode/commands/awa-requirements.md +3 -0
- package/templates/awa/.opencode/commands/awa-tasks.md +3 -0
- package/templates/awa/.opencode/commands/awa-upgrade.md +3 -0
- package/templates/awa/.opencode/commands/awa-validate-alignment.md +3 -0
- package/templates/awa/.opencode/commands/awa-vibe.md +3 -0
- package/templates/awa/.opencode/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.opencode/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.qwen/commands/awa-architecture.md +3 -0
- package/templates/awa/.qwen/commands/awa-brainstorm.md +3 -0
- package/templates/awa/.qwen/commands/awa-code.md +3 -0
- package/templates/awa/.qwen/commands/awa-design.md +3 -0
- package/templates/awa/.qwen/commands/awa-documentation.md +3 -0
- package/templates/awa/.qwen/commands/awa-examples.md +3 -0
- package/templates/awa/.qwen/commands/awa-feature.md +3 -0
- package/templates/awa/.qwen/commands/awa-plan.md +3 -0
- package/templates/awa/.qwen/commands/awa-refactor.md +3 -0
- package/templates/awa/.qwen/commands/awa-requirements.md +3 -0
- package/templates/awa/.qwen/commands/awa-tasks.md +3 -0
- package/templates/awa/.qwen/commands/awa-upgrade.md +3 -0
- package/templates/awa/.qwen/commands/awa-validate-alignment.md +3 -0
- package/templates/awa/.qwen/commands/awa-vibe.md +3 -0
- package/templates/awa/.qwen/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.qwen/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.roo/rules/awa-agent.md +13 -0
- package/templates/awa/.roo/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.roo/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/.windsurf/rules/awa-agent.md +14 -0
- package/templates/awa/.windsurf/skills/awa-architecture/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-brainstorm/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-code/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-design/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-documentation/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-examples/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-feature/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-plan/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-refactor/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-requirements/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-tasks/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-upgrade/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-validate-alignment/SKILL.md +3 -0
- package/templates/awa/.windsurf/skills/awa-vibe/SKILL.md +3 -0
- package/templates/awa/AGENTS.md +9 -0
- package/templates/awa/CLAUDE.md +9 -0
- package/templates/awa/GEMINI.md +9 -0
- package/templates/awa/QWEN.md +9 -0
- package/templates/awa/_README.md +86 -0
- package/templates/awa/_delete.txt +300 -0
- package/templates/awa/_partials/_cmd.awa-architecture.md +6 -0
- package/templates/awa/_partials/_cmd.awa-brainstorm.md +6 -0
- package/templates/awa/_partials/_cmd.awa-code.md +6 -0
- package/templates/awa/_partials/_cmd.awa-design.md +6 -0
- package/templates/awa/_partials/_cmd.awa-documentation.md +6 -0
- package/templates/awa/_partials/_cmd.awa-examples.md +6 -0
- package/templates/awa/_partials/_cmd.awa-feature.md +6 -0
- package/templates/awa/_partials/_cmd.awa-plan.md +6 -0
- package/templates/awa/_partials/_cmd.awa-refactor.md +6 -0
- package/templates/awa/_partials/_cmd.awa-requirements.md +6 -0
- package/templates/awa/_partials/_cmd.awa-tasks.md +6 -0
- package/templates/awa/_partials/_cmd.awa-upgrade.md +6 -0
- package/templates/awa/_partials/_cmd.awa-validate-alignment.md +6 -0
- package/templates/awa/_partials/_cmd.awa-vibe.md +6 -0
- package/templates/awa/_partials/_skill.awa-architecture.md +6 -0
- package/templates/awa/_partials/_skill.awa-brainstorm.md +6 -0
- package/templates/awa/_partials/_skill.awa-code.md +6 -0
- package/templates/awa/_partials/_skill.awa-design.md +6 -0
- package/templates/awa/_partials/_skill.awa-documentation.md +6 -0
- package/templates/awa/_partials/_skill.awa-examples.md +6 -0
- package/templates/awa/_partials/_skill.awa-feature.md +6 -0
- package/templates/awa/_partials/_skill.awa-plan.md +6 -0
- package/templates/awa/_partials/_skill.awa-refactor.md +6 -0
- package/templates/awa/_partials/_skill.awa-requirements.md +6 -0
- package/templates/awa/_partials/_skill.awa-tasks.md +6 -0
- package/templates/awa/_partials/_skill.awa-upgrade.md +6 -0
- package/templates/awa/_partials/_skill.awa-validate-alignment.md +6 -0
- package/templates/awa/_partials/_skill.awa-vibe.md +6 -0
- package/templates/awa/_partials/awa.architecture.md +45 -0
- package/templates/awa/_partials/awa.brainstorm.md +52 -0
- package/templates/awa/_partials/awa.code.md +167 -0
- package/templates/awa/_partials/awa.core.md +100 -0
- package/templates/awa/_partials/awa.design.md +55 -0
- package/templates/awa/_partials/awa.documentation.md +86 -0
- package/templates/awa/_partials/awa.examples.md +53 -0
- package/templates/awa/_partials/awa.feature.md +50 -0
- package/templates/awa/_partials/awa.plan.md +48 -0
- package/templates/awa/_partials/awa.refactor.md +46 -0
- package/templates/awa/_partials/awa.requirements.md +50 -0
- package/templates/awa/_partials/awa.tasks.md +147 -0
- package/templates/awa/_partials/awa.upgrade.md +63 -0
- package/templates/awa/_partials/awa.validate-alignment.md +62 -0
- package/templates/awa/_partials/awa.vibe.md +64 -0
- package/templates/example/.github/agents/example.agent.md +14 -0
- package/templates/example/_README.md +43 -0
- package/templates/example/_partials/planning.md +5 -0
- package/templates/example/agent.md +72 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Refactor Code
|
|
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="api" path=".awa/specs/API-{CODE}-{feature-name}.md" required="if relevant" />
|
|
25
|
+
<file type="tasks" path=".awa/tasks/TASK-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
26
|
+
<file type="code" required="if relevant" />
|
|
27
|
+
|
|
28
|
+
## Action
|
|
29
|
+
|
|
30
|
+
Refactor the specified cod or docs as instructed, following awa conventions.
|
|
31
|
+
|
|
32
|
+
## Outputs
|
|
33
|
+
|
|
34
|
+
- Refactored source code files with preserved markers
|
|
35
|
+
- Updated test files if structure changed
|
|
36
|
+
- Refactored documentation
|
|
37
|
+
|
|
38
|
+
## Rules
|
|
39
|
+
|
|
40
|
+
You SHALL preserve existing behavior unless explicitly asked to change it.
|
|
41
|
+
You SHALL maintain all traceability markers (@awa-component, @awa-impl, @awa-test).
|
|
42
|
+
You SHALL ensure tests pass before and after refactoring.
|
|
43
|
+
You SHALL make incremental changes, not wholesale rewrites.
|
|
44
|
+
You SHALL NOT change public interfaces without explicit approval.
|
|
45
|
+
You SHALL clarify scope and risks with user before major refactors.
|
|
46
|
+
You MAY use todos and tools as needed.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Create or Update Requirements
|
|
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
|
+
<read path=".awa/.agent/schemas/REQ.schema.md" required="true" error="on not found" />
|
|
10
|
+
</tool>
|
|
11
|
+
|
|
12
|
+
## User Input
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
${input}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
|
|
22
|
+
<file type="architecture" path=".awa/specs/ARCHITECTURE.md" />
|
|
23
|
+
<file type="feat" path=".awa/specs/FEAT-{CODE}-{feature-name}.md" required="true" />
|
|
24
|
+
<file type="examples" path=".awa/specs/EXAMPLES-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
25
|
+
<file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if relevant" />
|
|
26
|
+
<file type="code" required="if reverse workflow" />
|
|
27
|
+
|
|
28
|
+
## Action
|
|
29
|
+
|
|
30
|
+
Create or update the requirements document(s) as specified in the instruction above, following awa conventions.
|
|
31
|
+
|
|
32
|
+
If deriving from existing code (reverse workflow), analyze the codebase to extract implicit requirements, acceptance criteria, and behavioral expectations.
|
|
33
|
+
|
|
34
|
+
## Outputs
|
|
35
|
+
|
|
36
|
+
<file path=".awa/specs/REQ-{CODE}-{feature-name}.md" />
|
|
37
|
+
|
|
38
|
+
## Rules
|
|
39
|
+
|
|
40
|
+
You SHALL read the corresponding FEAT document before writing requirements.
|
|
41
|
+
You SHALL solidify requirements with respect to architecture, feature context, and existing requirements.
|
|
42
|
+
You SHALL create set of requirements in EARS format (INCOSE-compliant) based on the feature context.
|
|
43
|
+
You SHALL identify existing requirements to update, or new requirements to create.
|
|
44
|
+
You SHALL consider edge cases, UX, technical constraints, success criteria.
|
|
45
|
+
You SHALL ensure the 3-letter {CODE} used in the filename is unique within the project.
|
|
46
|
+
You SHOULD focus on requirements which will later be turned into a design.
|
|
47
|
+
You SHOULD keep requirements at a manageable level of detail.
|
|
48
|
+
You SHALL support reverse workflow: deriving requirements from existing code when requested.
|
|
49
|
+
You SHALL clarify open points with user.
|
|
50
|
+
You MAY use todos and tools as needed.
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Create or Update Task List(s)
|
|
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
|
+
<read path=".awa/.agent/schemas/DESIGN.schema.md" optional="true" />
|
|
10
|
+
<read path=".awa/.agent/schemas/REQ.schema.md" optional="true" />
|
|
11
|
+
<read path=".awa/.agent/schemas/TASK.schema.md" required="true" error="on not found" />
|
|
12
|
+
</tool>
|
|
13
|
+
|
|
14
|
+
## User Input
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
${input}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
21
|
+
|
|
22
|
+
## Inputs
|
|
23
|
+
|
|
24
|
+
<file type="architecture" path=".awa/specs/ARCHITECTURE.md" />
|
|
25
|
+
<file type="feat" path=".awa/specs/FEAT-{CODE}-{feature-name}.md" required="if relevant" />
|
|
26
|
+
<file type="examples" path=".awa/specs/EXAMPLES-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
27
|
+
<file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if relevant" />
|
|
28
|
+
<file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if relevant" />
|
|
29
|
+
<file type="api" path=".awa/specs/API-{CODE}-{feature-name}.md" required="if relevant" />
|
|
30
|
+
|
|
31
|
+
## Action
|
|
32
|
+
|
|
33
|
+
Update or create the task list document(s) as specified in the instruction above, following awa conventions.
|
|
34
|
+
|
|
35
|
+
## Process
|
|
36
|
+
|
|
37
|
+
1. PARSE REQ
|
|
38
|
+
- Extract requirements ({CODE}-{n}) with priorities (must/should/could)
|
|
39
|
+
- Extract acceptance criteria ({CODE}-{n}[.{p}]_AC-{m}) with types
|
|
40
|
+
- Note dependencies between requirements
|
|
41
|
+
- Identify testable criteria
|
|
42
|
+
|
|
43
|
+
2. PARSE DESIGN
|
|
44
|
+
- Extract components ({CODE}-{ComponentName}) and interfaces
|
|
45
|
+
- Map IMPLEMENTS references (component → ACs)
|
|
46
|
+
- Extract properties ({CODE}_P-{n}) and VALIDATES references
|
|
47
|
+
- Note architectural decisions and constraints
|
|
48
|
+
- Extract error types for error handling tasks
|
|
49
|
+
|
|
50
|
+
3. IF ARCH PROVIDED
|
|
51
|
+
- Extract project structure for file paths
|
|
52
|
+
- Extract technology stack for setup tasks
|
|
53
|
+
- Note architectural rules as constraints
|
|
54
|
+
|
|
55
|
+
4. GENERATE TASKS
|
|
56
|
+
- Phase 1: Setup (project initialization, dependencies)
|
|
57
|
+
- Phase 2: Foundation (shared types, core interfaces, error types)
|
|
58
|
+
- Phase 3+: One phase per requirement (priority order: must → should → could)
|
|
59
|
+
- Final Phase: Integration and polish
|
|
60
|
+
- Include test tasks based on properties and ACs
|
|
61
|
+
|
|
62
|
+
5. VALIDATE
|
|
63
|
+
- Every AC has at least one implementing task
|
|
64
|
+
- Every P has a test task
|
|
65
|
+
- No orphan tasks (all trace to AC or P)
|
|
66
|
+
- Dependencies respect component order from DESIGN
|
|
67
|
+
|
|
68
|
+
## Task Organization
|
|
69
|
+
|
|
70
|
+
### From Requirements
|
|
71
|
+
|
|
72
|
+
- Each requirement ({CODE}-{n}) becomes a phase (priority order)
|
|
73
|
+
- All ACs for that requirement → tasks within its phase
|
|
74
|
+
- Subrequirements ({CODE}-{n}.{p}) nest under parent phase
|
|
75
|
+
|
|
76
|
+
### From Design Components
|
|
77
|
+
|
|
78
|
+
- Each component → one or more implementation tasks
|
|
79
|
+
- Component's IMPLEMENTS list → task's IMPLEMENTS line
|
|
80
|
+
- Component interface → task description specifics
|
|
81
|
+
|
|
82
|
+
### From Properties
|
|
83
|
+
|
|
84
|
+
- Each property ({CODE}_P-{n}) → test task
|
|
85
|
+
- Property's VALIDATES list → determines test assertions
|
|
86
|
+
- Property type determines test approach:
|
|
87
|
+
- Invariants → property-based tests
|
|
88
|
+
- Specific behaviors → example-based tests
|
|
89
|
+
|
|
90
|
+
### From Error Types
|
|
91
|
+
|
|
92
|
+
- Each error type → error handling task in Foundation phase
|
|
93
|
+
- Error variants → validation tasks in relevant requirement phases
|
|
94
|
+
|
|
95
|
+
## Phase Structure
|
|
96
|
+
|
|
97
|
+
### Phase 1: Setup
|
|
98
|
+
|
|
99
|
+
- Project initialization
|
|
100
|
+
- Dependency installation
|
|
101
|
+
- Configuration scaffolding
|
|
102
|
+
- No requirement labels, no IMPLEMENTS lines
|
|
103
|
+
|
|
104
|
+
### Phase 2: Foundation
|
|
105
|
+
|
|
106
|
+
- Core types from DESIGN dataModels
|
|
107
|
+
- Error types from DESIGN errorHandling
|
|
108
|
+
- Shared interfaces
|
|
109
|
+
- No requirement labels, IMPLEMENTS only if AC covers foundation
|
|
110
|
+
|
|
111
|
+
### Phase 3+: Requirements (priority order)
|
|
112
|
+
|
|
113
|
+
Within each requirement phase:
|
|
114
|
+
1. Types/models specific to this requirement
|
|
115
|
+
2. Implementation tasks (component by component)
|
|
116
|
+
3. Test tasks (properties first, then direct AC tests)
|
|
117
|
+
|
|
118
|
+
Each phase should be independently testable after completion.
|
|
119
|
+
|
|
120
|
+
### Final Phase: Polish
|
|
121
|
+
|
|
122
|
+
- Integration tests across requirements
|
|
123
|
+
- Documentation updates
|
|
124
|
+
- Cross-cutting concerns
|
|
125
|
+
- No requirement labels
|
|
126
|
+
|
|
127
|
+
## Validation Checklist
|
|
128
|
+
|
|
129
|
+
Before output, verify:
|
|
130
|
+
|
|
131
|
+
- [ ] Every task has correct format (checkbox, ID, description, path)
|
|
132
|
+
- [ ] Every AC appears in at least one IMPLEMENTS line
|
|
133
|
+
- [ ] Every P appears in at least one TESTS line
|
|
134
|
+
- [ ] Requirement labels only on requirement phase tasks
|
|
135
|
+
- [ ] [P] markers only where truly parallelizable
|
|
136
|
+
- [ ] Dependencies match DESIGN component order
|
|
137
|
+
- [ ] Each requirement phase has clear test criteria
|
|
138
|
+
- [ ] Trace summary accounts for all ACs and Ps
|
|
139
|
+
|
|
140
|
+
## Outputs
|
|
141
|
+
|
|
142
|
+
<file path=".awa/tasks/TASK-{CODE}-{feature-name}-{nnn}.md" />
|
|
143
|
+
|
|
144
|
+
## Rules
|
|
145
|
+
|
|
146
|
+
You SHALL clarify open points with user.
|
|
147
|
+
You MAY use todos and tools as needed.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Upgrade Specs to Current Schemas
|
|
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
|
+
<read path=".awa/.agent/schemas/ARCHITECTURE.schema.md" required="true" error="on not found" />
|
|
10
|
+
<read path=".awa/.agent/schemas/FEAT.schema.md" required="true" error="on not found" />
|
|
11
|
+
<read path=".awa/.agent/schemas/EXAMPLES.schema.md" required="true" error="on not found" />
|
|
12
|
+
<read path=".awa/.agent/schemas/REQ.schema.md" required="true" error="on not found" />
|
|
13
|
+
<read path=".awa/.agent/schemas/DESIGN.schema.md" required="true" error="on not found" />
|
|
14
|
+
<read path=".awa/.agent/schemas/TASK.schema.md" required="true" error="on not found" />
|
|
15
|
+
<read path=".awa/.agent/schemas/PLAN.schema.md" required="true" error="on not found" />
|
|
16
|
+
</tool>
|
|
17
|
+
|
|
18
|
+
## User Input
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
${input}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
25
|
+
|
|
26
|
+
## Inputs
|
|
27
|
+
|
|
28
|
+
<file type="architecture" path=".awa/specs/ARCHITECTURE.md" />
|
|
29
|
+
<file type="feat" path=".awa/specs/FEAT-{CODE}-{feature-name}.md" required="if exists" />
|
|
30
|
+
<file type="examples" path=".awa/specs/EXAMPLES-{CODE}-{feature-name}-{nnn}.md" required="if exists" />
|
|
31
|
+
<file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if exists" />
|
|
32
|
+
<file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if exists" />
|
|
33
|
+
<file type="api" path=".awa/specs/API-{CODE}-{feature-name}.md" required="if exists" />
|
|
34
|
+
<file type="tasks" path=".awa/tasks/TASK-{CODE}-{feature-name}-{nnn}.md" required="if exists" />
|
|
35
|
+
<file type="plan" path=".awa/plans/PLAN-{nnn}-{plan-name}.md" required="if exists" />
|
|
36
|
+
<file type="code" required="if relevant" />
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## Action
|
|
40
|
+
|
|
41
|
+
Upgrade the specified specs to conform to their schemas and traceability rules.
|
|
42
|
+
|
|
43
|
+
1) ORIENT: Confirm which artifacts to upgrade; clarify missing targets.
|
|
44
|
+
2) AUDIT: Compare each document to its schema; rely on the schema for section structure, required/optional fields, and prohibited patterns.
|
|
45
|
+
3) ALIGN: Update IDs and code refs to match schema patterns and current agent/code context (requirements, criteria, properties, tasks, components, trace markers). Adjust content to satisfy schema expectations.
|
|
46
|
+
4) TRACEABILITY: Preserve and update code ref markers and any trace matrices when IDs change.
|
|
47
|
+
5) VALIDATE: Re-scan against schemas; avoid empty placeholders; keep files under 500 lines.
|
|
48
|
+
6) REPORT: Summarize changes and remaining questions before finalizing.
|
|
49
|
+
|
|
50
|
+
## Outputs
|
|
51
|
+
|
|
52
|
+
- Updated spec(s) and supporting templates (as applicable)
|
|
53
|
+
|
|
54
|
+
## Rules
|
|
55
|
+
|
|
56
|
+
You SHALL avoid destructive edits; propose clarifications when unsure.
|
|
57
|
+
You SHALL add to any change log sections as needed.
|
|
58
|
+
You SHALL follow schema structure strictly (section order, nesting).
|
|
59
|
+
You SHALL obey schema render expectations (omit optional empty sections, avoid prohibited patterns).
|
|
60
|
+
You SHALL upgrade existing trace IDs if necessary.
|
|
61
|
+
You SHALL upgrade existing filenames if necessary.
|
|
62
|
+
You SHALL respect the 500-line limit; split logically if needed.
|
|
63
|
+
You MAY use todos and tools as needed.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Validate alignment of Source(x) with Target(y)
|
|
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
|
+
<read path=".awa/.agent/schemas/ALIGN_REPORT.schema.md" required="true" error="on not found" />
|
|
10
|
+
</tool>
|
|
11
|
+
|
|
12
|
+
## User Input
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
${input}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Format: `<source> [<target>]` where:
|
|
19
|
+
- **Source (x)**: The artifact being validated. If not specified, use the last completed work.
|
|
20
|
+
- **Target (y)**: The artifact to validate against. If not specified, it is implied according to these rules:
|
|
21
|
+
|
|
22
|
+
1. x is plan → ask for clarification
|
|
23
|
+
2. previous work against a plan → use that plan
|
|
24
|
+
3. else → walk UP workflow toward architecture
|
|
25
|
+
|
|
26
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
27
|
+
|
|
28
|
+
## Definitions
|
|
29
|
+
|
|
30
|
+
x = source artifact (what is being validated) = design(s).
|
|
31
|
+
y = target artifact (what x is validated against) = requirement(s).
|
|
32
|
+
|
|
33
|
+
## Inputs
|
|
34
|
+
|
|
35
|
+
<file type="architecture" path=".awa/specs/ARCHITECTURE.md" />
|
|
36
|
+
<file type="feat" path=".awa/specs/FEAT-{CODE}-{feature-name}.md" required="if relevant" />
|
|
37
|
+
<file type="examples" path=".awa/specs/EXAMPLES-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
38
|
+
<file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if relevant" />
|
|
39
|
+
<file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if relevant" />
|
|
40
|
+
<file type="api" path=".awa/specs/API-{CODE}-{feature-name}.md" required="if relevant" />
|
|
41
|
+
<file type="tasks" path=".awa/tasks/TASK-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
42
|
+
<file type="plan" path=".awa/plans/PLAN-{nnn}-{plan-name}.md" required="if relevant" />
|
|
43
|
+
<file type="code_and_tests" path="various" required="if relevant" />
|
|
44
|
+
|
|
45
|
+
## Action
|
|
46
|
+
|
|
47
|
+
Validate that the specified source:x aligns with the target:y, and if not, report all differences.
|
|
48
|
+
Follow awa conventions.
|
|
49
|
+
|
|
50
|
+
## Outputs
|
|
51
|
+
|
|
52
|
+
<file path=".awa/align/ALIGN-{x}-WITH-{y}-{nnn}.md" />
|
|
53
|
+
<cli>STATUS: {PASSED ✅ | FAILED ❌}</cli>
|
|
54
|
+
|
|
55
|
+
## Rules
|
|
56
|
+
|
|
57
|
+
You SHALL validate alignment of source:y with target:y.
|
|
58
|
+
You SHALL report all differences.
|
|
59
|
+
You SHALL consider traceability.
|
|
60
|
+
You SHALL report missing trace IDs.
|
|
61
|
+
You MAY use todos and tools as needed.
|
|
62
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Vibe: Idea to Implementation
|
|
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="if exists" />
|
|
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="feat" path=".awa/specs/FEAT-{CODE}-{feature-name}.md" required="if relevant" />
|
|
23
|
+
<file type="examples" path=".awa/specs/EXAMPLES-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
24
|
+
<file type="requirements" path=".awa/specs/REQ-{CODE}-{feature-name}.md" required="if relevant" />
|
|
25
|
+
<file type="design" path=".awa/specs/DESIGN-{CODE}-{feature-name}.md" required="if relevant" />
|
|
26
|
+
<file type="api" path=".awa/specs/API-{CODE}-{feature-name}.md" required="if relevant" />
|
|
27
|
+
<file type="tasks" path=".awa/tasks/TASK-{CODE}-{feature-name}-{nnn}.md" required="if relevant" />
|
|
28
|
+
<file type="code" required="if relevant" />
|
|
29
|
+
|
|
30
|
+
## Action
|
|
31
|
+
|
|
32
|
+
Take an idea from concept to working implementation, flowing through the awa workflow in the standard direction.
|
|
33
|
+
|
|
34
|
+
## Process
|
|
35
|
+
|
|
36
|
+
1. UNDERSTAND: Clarify idea, scope, constraints. Determine starting point.
|
|
37
|
+
2. Flow through stages, creating/updating specs as needed
|
|
38
|
+
3. Checkpoint at each transition: confirm direction with user
|
|
39
|
+
4. Implement code with traceability, write tests
|
|
40
|
+
5. Verify all acceptance criteria satisfied
|
|
41
|
+
|
|
42
|
+
## Checkpoints
|
|
43
|
+
|
|
44
|
+
Pause at each stage transition unless user requests autonomous mode:
|
|
45
|
+
- "Architecture defined. Proceed to feature context?"
|
|
46
|
+
- "Feature context captured. Proceed to requirements?"
|
|
47
|
+
- "Requirements captured. Proceed to design?"
|
|
48
|
+
- "Design complete. Proceed to implementation?"
|
|
49
|
+
|
|
50
|
+
## Outputs
|
|
51
|
+
|
|
52
|
+
- Specs as needed (ARCHITECTURE, FEAT, REQ, DESIGN, TASK)
|
|
53
|
+
- Implemented code with traceability markers
|
|
54
|
+
- Tests covering acceptance criteria
|
|
55
|
+
|
|
56
|
+
## Rules
|
|
57
|
+
|
|
58
|
+
You SHALL flow through stages in order, skipping only what exists or isn't needed.
|
|
59
|
+
You SHALL pause at checkpoints unless user requests autonomous mode.
|
|
60
|
+
You SHALL maintain traceability throughout.
|
|
61
|
+
You SHOULD keep each stage minimal; avoid overengineering.
|
|
62
|
+
You SHOULD ask clarifying questions early, not mid-implementation.
|
|
63
|
+
You MAY collapse stages for trivial changes.
|
|
64
|
+
You MAY use todos and tools as needed.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Example Usage
|
|
2
|
+
|
|
3
|
+
This file demonstrates:
|
|
4
|
+
|
|
5
|
+
- Feature flag conditionals
|
|
6
|
+
- Empty file handling
|
|
7
|
+
- Directory structure preservation
|
|
8
|
+
|
|
9
|
+
<% if (it.features.includes('advanced')) { %>
|
|
10
|
+
|
|
11
|
+
## Advanced Features
|
|
12
|
+
|
|
13
|
+
This section only appears when 'advanced' feature is enabled.
|
|
14
|
+
<% } %>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# awa CLI Templates
|
|
2
|
+
|
|
3
|
+
This directory contains the default templates bundled with awa CLI.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
- `agent.md` - Main agent configuration template
|
|
8
|
+
- `_partials/` - Reusable template fragments (not output directly)
|
|
9
|
+
- `.github/agents/` - Example nested directory structure
|
|
10
|
+
|
|
11
|
+
## Template Syntax
|
|
12
|
+
|
|
13
|
+
Templates use [Eta](https://eta.js.org/) syntax:
|
|
14
|
+
|
|
15
|
+
- `<%= expression %>` - Output expression (escaped)
|
|
16
|
+
- `<%~ expression %>` - Output expression (raw/unescaped)
|
|
17
|
+
- `<% code %>` - Control flow (if/else, loops, etc.)
|
|
18
|
+
|
|
19
|
+
## Available Context
|
|
20
|
+
|
|
21
|
+
Templates receive a `features` array via `it.features`:
|
|
22
|
+
|
|
23
|
+
```eta
|
|
24
|
+
<% if (it.features.includes('feature-name')) { %>
|
|
25
|
+
Content for feature-name
|
|
26
|
+
<% } %>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Empty File Marker
|
|
30
|
+
|
|
31
|
+
To create an empty file explicitly, use:
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<!-- AWA:EMPTY_FILE -->
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Partials
|
|
38
|
+
|
|
39
|
+
Include partials from `_partials/`:
|
|
40
|
+
|
|
41
|
+
```eta
|
|
42
|
+
<%~ include('_partials/planning', it) %>
|
|
43
|
+
```
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# <%= it.agentName || 'awa' %> Agent
|
|
2
|
+
|
|
3
|
+
> AI Coding Agent Configuration
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
<% if (it.features.includes('planning')) { %>
|
|
8
|
+
This agent assists with software planning, design, and architecture decisions.
|
|
9
|
+
<% } %>
|
|
10
|
+
|
|
11
|
+
<% if (it.features.includes('implementation')) { %>
|
|
12
|
+
This agent helps with code implementation, refactoring, and optimization.
|
|
13
|
+
<% } %>
|
|
14
|
+
|
|
15
|
+
<% if (it.features.includes('testing')) { %>
|
|
16
|
+
This agent supports test creation, debugging, and quality assurance.
|
|
17
|
+
<% } %>
|
|
18
|
+
|
|
19
|
+
<% if (it.features.includes('documentation')) { %>
|
|
20
|
+
This agent generates and maintains project documentation.
|
|
21
|
+
<% } %>
|
|
22
|
+
|
|
23
|
+
<% if (!it.features.length) { %>
|
|
24
|
+
This is a general-purpose AI coding agent that can assist with various development tasks.
|
|
25
|
+
<% } %>
|
|
26
|
+
|
|
27
|
+
## Capabilities
|
|
28
|
+
|
|
29
|
+
<% if (it.features.includes('planning')) { %>
|
|
30
|
+
- Requirements analysis
|
|
31
|
+
- Architecture design
|
|
32
|
+
- API design
|
|
33
|
+
<% } %>
|
|
34
|
+
|
|
35
|
+
<% if (it.features.includes('implementation')) { %>
|
|
36
|
+
- Code generation
|
|
37
|
+
- Refactoring
|
|
38
|
+
- Performance optimization
|
|
39
|
+
<% } %>
|
|
40
|
+
|
|
41
|
+
<% if (it.features.includes('testing')) { %>
|
|
42
|
+
- Unit test creation
|
|
43
|
+
- Integration test design
|
|
44
|
+
- Bug fixing
|
|
45
|
+
<% } %>
|
|
46
|
+
|
|
47
|
+
<% if (it.features.includes('documentation')) { %>
|
|
48
|
+
- README generation
|
|
49
|
+
- API documentation
|
|
50
|
+
- Code comments
|
|
51
|
+
<% } %>
|
|
52
|
+
|
|
53
|
+
## Configuration
|
|
54
|
+
|
|
55
|
+
**Agent Name:** <%= it.agentName || 'awa' %>
|
|
56
|
+
|
|
57
|
+
**Enabled Features:**
|
|
58
|
+
<% if (it.features.length > 0) { %>
|
|
59
|
+
<% it.features.forEach(function(feature) { %>
|
|
60
|
+
- <%= feature %>
|
|
61
|
+
<% }) %>
|
|
62
|
+
<% } else { %>
|
|
63
|
+
- all (no specific features selected)
|
|
64
|
+
<% } %>
|
|
65
|
+
|
|
66
|
+
## Usage
|
|
67
|
+
|
|
68
|
+
Invoke this agent through your development environment's AI integration.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
Generated by awa CLI
|