@elementarno/eawf 0.5.2

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 (48) hide show
  1. package/.claude-plugin/marketplace.json +18 -0
  2. package/.claude-plugin/plugin.json +19 -0
  3. package/README.md +45 -0
  4. package/agents/auditor.md +69 -0
  5. package/agents/domain-specialist.md +60 -0
  6. package/agents/executor.md +69 -0
  7. package/agents/operator.md +66 -0
  8. package/agents/planner.md +86 -0
  9. package/agents/polisher.md +64 -0
  10. package/agents/researcher.md +71 -0
  11. package/agents/reviewer.md +68 -0
  12. package/hooks/post_commit.sh +30 -0
  13. package/hooks/post_push.sh +30 -0
  14. package/hooks/pre_commit.sh +30 -0
  15. package/hooks/pre_compact.sh +30 -0
  16. package/hooks/pre_push.sh +30 -0
  17. package/hooks/session_end.sh +30 -0
  18. package/hooks/session_start.sh +30 -0
  19. package/hooks/subagent_stop.sh +30 -0
  20. package/hooks.json +88 -0
  21. package/package.json +18 -0
  22. package/skills/add-property-test/SKILL.md +31 -0
  23. package/skills/agent-dispatch/SKILL.md +33 -0
  24. package/skills/audit/SKILL.md +35 -0
  25. package/skills/blitz/SKILL.md +24 -0
  26. package/skills/coauthor/SKILL.md +30 -0
  27. package/skills/compress/SKILL.md +30 -0
  28. package/skills/design/SKILL.md +63 -0
  29. package/skills/differentiate/SKILL.md +23 -0
  30. package/skills/extract-function/SKILL.md +31 -0
  31. package/skills/extract-module/SKILL.md +31 -0
  32. package/skills/flow/SKILL.md +28 -0
  33. package/skills/graduate-research-code/SKILL.md +31 -0
  34. package/skills/init/SKILL.md +32 -0
  35. package/skills/math-explainer/SKILL.md +64 -0
  36. package/skills/memory/SKILL.md +32 -0
  37. package/skills/mockup/SKILL.md +30 -0
  38. package/skills/polish/SKILL.md +29 -0
  39. package/skills/prep/SKILL.md +43 -0
  40. package/skills/refactor-god-class/SKILL.md +31 -0
  41. package/skills/research/SKILL.md +45 -0
  42. package/skills/review/SKILL.md +31 -0
  43. package/skills/roadmap/SKILL.md +31 -0
  44. package/skills/security-review/SKILL.md +30 -0
  45. package/skills/ship/SKILL.md +39 -0
  46. package/skills/spike/SKILL.md +65 -0
  47. package/skills/wave-spec/SKILL.md +28 -0
  48. package/skills/write-adr/SKILL.md +30 -0
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: wave-spec
3
+ description: Scaffold or validate a WaveSpec deliverable for a claimed wave.
4
+ argument-hint: "init|validate <wave-id> [--mockup-waiver-reason=<text>]"
5
+ user-invocable: true
6
+ disable-model-invocation: true
7
+ ---
8
+
9
+ # /wave-spec
10
+
11
+ ## Canonical algorithm
12
+
13
+ 1. Resolve the verb (`init` default / `validate`) and the target `wave_id` (required; a missing id degrades to `status=needs_user`).
14
+ 2. Thread the optional `mockup_waiver_reason` through so a downstream scaffold can carry it onto the WaveSpec without forcing an ASCII mockup for non-UI waves.
15
+ 3. Append a single append-only `EVENT` describing the operation intent; the daemon owns spec scaffolding + cache mutation, so the skill routes to the `eawf spec` writer via `next_valid_actions`.
16
+
17
+ ## Pre-flight checklist
18
+
19
+ - [ ] The wave exists before `init` / `validate`.
20
+ - [ ] A Mockup-waiver reason is supplied for non-UI waves that skip the ASCII mockup.
21
+
22
+ ## Decision surfaces
23
+
24
+ A missing `wave_id` degrades to `status=needs_user`, which routes the operator to an `AskUserQuestion` prompt for the target wave rather than scaffolding against an unresolved id.
25
+
26
+ ## Output contract
27
+
28
+ Skill envelope with `header.skill = "/wave-spec"`. Body carries verb, wave_id, and mockup_waiver_reason.
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: write-adr
3
+ description: Model-only playbook for drafting an architecture decision record companion to a typed decision row.
4
+ argument-hint: ""
5
+ user-invocable: false
6
+ disable-model-invocation: false
7
+ ---
8
+
9
+ # write-adr
10
+
11
+ A model-only playbook for drafting an architecture decision record. There is no slash command; the model invokes this when a design choice needs a durable, reviewable rationale. In an Eä-managed repo the decision itself is a typed row in `state.json` — the ADR markdown is the human-readable companion, never the source of truth.
12
+
13
+ ## When to reach for it
14
+
15
+ - Two or more designs were weighed and one was picked.
16
+ - The choice constrains future work (a dependency, a schema shape, a protocol boundary) and a later reader will ask "why this?".
17
+ - An audit or spike produced a verdict that should outlive the session.
18
+
19
+ ## Canonical structure
20
+
21
+ 1. **Context** — the forces in tension, in two or three sentences. State the constraint, not the solution.
22
+ 2. **Options** — each candidate as a bullet with its concrete trade-off. Name the option the way the codebase will refer to it.
23
+ 3. **Decision** — the chosen option, stated as a present-tense assertion.
24
+ 4. **Consequences** — what becomes easy, what becomes hard, what is now forbidden.
25
+
26
+ ## Guardrails
27
+
28
+ - Reference the audit or spike that justifies the decision so the evidence chain is reconstructible (research-workflow rule).
29
+ - Keep prose scrub-clean: no machine paths, hostnames, or PII; references stay repo-relative, an external URL, or an Eä URN.
30
+ - The ADR records WHY; provenance ids from audits and review discussions live in the decision row and the commit body, not in source comments (rule 25).