@istmx/skills 1.1.0 → 2.0.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 (153) hide show
  1. package/CODE_OF_CONDUCT.md +47 -0
  2. package/LICENSE +30 -0
  3. package/README.md +48 -22
  4. package/bin/cli.js +130 -119
  5. package/istm-animate/SKILL.md +28 -58
  6. package/istm-animate/core/motion-principles/SKILL.md +284 -0
  7. package/istm-animate/core/motion-principles/references/designers.md +127 -0
  8. package/istm-animate/core/motion-principles/references/easing-guide.md +231 -0
  9. package/istm-animate/core/motion-principles/references/enter-exit-recipes.md +466 -0
  10. package/istm-animate/frameworks/canvas-generative/SKILL.md +325 -0
  11. package/istm-animate/frameworks/canvas-generative/references/algorithms.md +925 -0
  12. package/istm-animate/frameworks/css-native/SKILL.md +319 -0
  13. package/istm-animate/frameworks/css-native/references/modern-css.md +465 -0
  14. package/istm-animate/frameworks/framer-motion/SKILL.md +187 -0
  15. package/istm-animate/frameworks/framer-motion/references/api.md +312 -0
  16. package/istm-animate/frameworks/gsap/SKILL.md +188 -0
  17. package/istm-animate/frameworks/gsap/references/core.md +218 -0
  18. package/istm-animate/frameworks/gsap/references/plugins.md +371 -0
  19. package/istm-animate/frameworks/gsap/references/scrolltrigger.md +325 -0
  20. package/istm-animate/frameworks/gsap/references/timeline.md +218 -0
  21. package/istm-animate/frameworks/threejs-r3f/SKILL.md +243 -0
  22. package/istm-animate/frameworks/threejs-r3f/references/scene-setup.md +392 -0
  23. package/istm-animate/frameworks/threejs-r3f/references/shaders.md +446 -0
  24. package/istm-animate/mobile/android/compose-graphics/SKILL.md +503 -0
  25. package/istm-animate/mobile/android/compose-graphics/references/agsl-recipes.md +356 -0
  26. package/istm-animate/mobile/android/compose-graphics/references/canvas-generative.md +282 -0
  27. package/istm-animate/mobile/android/compose-graphics/references/m3-expressive-deep.md +303 -0
  28. package/istm-animate/mobile/android/compose-motion/SKILL.md +359 -0
  29. package/istm-animate/mobile/android/compose-motion/references/gestures-compose.md +273 -0
  30. package/istm-animate/mobile/android/compose-motion/references/recomposition-and-anim.md +196 -0
  31. package/istm-animate/mobile/android/compose-motion/references/shared-transitions.md +281 -0
  32. package/istm-animate/mobile/android/compose-multiplatform/SKILL.md +311 -0
  33. package/istm-animate/mobile/android/compose-multiplatform/references/cmp-interop.md +288 -0
  34. package/istm-animate/mobile/android/compose-multiplatform/references/cmp-platform-quirks.md +156 -0
  35. package/istm-animate/mobile/apple/swiftui-graphics/SKILL.md +408 -0
  36. package/istm-animate/mobile/apple/swiftui-graphics/references/canvas-swiftui.md +239 -0
  37. package/istm-animate/mobile/apple/swiftui-graphics/references/liquid-glass-deep.md +252 -0
  38. package/istm-animate/mobile/apple/swiftui-graphics/references/metal-recipes.md +382 -0
  39. package/istm-animate/mobile/apple/swiftui-motion/SKILL.md +379 -0
  40. package/istm-animate/mobile/apple/swiftui-motion/references/gestures-swiftui.md +336 -0
  41. package/istm-animate/mobile/apple/swiftui-motion/references/phase-keyframe-deep.md +231 -0
  42. package/istm-animate/mobile/apple/swiftui-motion/references/springs-cheatsheet.md +129 -0
  43. package/istm-animate/references/animate.md +199 -0
  44. package/istm-animate/references/audit.md +115 -0
  45. package/istm-animate/references/design-engineering.md +674 -0
  46. package/istm-animate/references/improve.md +101 -0
  47. package/istm-animate/references/opportunities.md +132 -0
  48. package/istm-animate/references/plan-template.md +73 -0
  49. package/istm-animate/references/recipes.md +324 -0
  50. package/istm-animate/references/review.md +112 -0
  51. package/istm-animate/references/standards.md +187 -0
  52. package/istm-animate/references/vocabulary.md +173 -0
  53. package/istm-architecture/SKILL.md +10 -1
  54. package/istm-awwward-designer/SKILL.md +28 -20
  55. package/istm-design/SKILL.md +31 -58
  56. package/istm-design/core/design-audit/SKILL.md +248 -0
  57. package/istm-design/core/desktop-principles/SKILL.md +363 -0
  58. package/istm-design/core/desktop-principles/references/keyboard-patterns.md +137 -0
  59. package/istm-design/core/desktop-principles/references/multi-window.md +105 -0
  60. package/istm-design/core/mobile-principles/SKILL.md +289 -0
  61. package/istm-design/core/mobile-principles/references/accessibility-mobile.md +175 -0
  62. package/istm-design/core/mobile-principles/references/gestures-deep.md +220 -0
  63. package/istm-design/core/ui-ux-pro-max/SKILL.md +392 -0
  64. package/istm-design/core/ui-ux-pro-max/UPSTREAM.md +23 -0
  65. package/istm-design/core/ui-ux-pro-max/data/app-interface.csv +31 -0
  66. package/istm-design/core/ui-ux-pro-max/data/charts.csv +26 -0
  67. package/istm-design/core/ui-ux-pro-max/data/colors.csv +193 -0
  68. package/istm-design/core/ui-ux-pro-max/data/google-fonts.csv +1924 -0
  69. package/istm-design/core/ui-ux-pro-max/data/icons.csv +106 -0
  70. package/istm-design/core/ui-ux-pro-max/data/landing.csv +35 -0
  71. package/istm-design/core/ui-ux-pro-max/data/motion.csv +17 -0
  72. package/istm-design/core/ui-ux-pro-max/data/products.csv +193 -0
  73. package/istm-design/core/ui-ux-pro-max/data/react-performance.csv +45 -0
  74. package/istm-design/core/ui-ux-pro-max/data/stacks/angular.csv +51 -0
  75. package/istm-design/core/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  76. package/istm-design/core/ui-ux-pro-max/data/stacks/avalonia.csv +57 -0
  77. package/istm-design/core/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  78. package/istm-design/core/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  79. package/istm-design/core/ui-ux-pro-max/data/stacks/javafx.csv +76 -0
  80. package/istm-design/core/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  81. package/istm-design/core/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
  82. package/istm-design/core/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  83. package/istm-design/core/ui-ux-pro-max/data/stacks/nuxt-ui.csv +71 -0
  84. package/istm-design/core/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  85. package/istm-design/core/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  86. package/istm-design/core/ui-ux-pro-max/data/stacks/react.csv +54 -0
  87. package/istm-design/core/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  88. package/istm-design/core/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  89. package/istm-design/core/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  90. package/istm-design/core/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
  91. package/istm-design/core/ui-ux-pro-max/data/stacks/uno.csv +60 -0
  92. package/istm-design/core/ui-ux-pro-max/data/stacks/uwp.csv +56 -0
  93. package/istm-design/core/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  94. package/istm-design/core/ui-ux-pro-max/data/stacks/winui.csv +60 -0
  95. package/istm-design/core/ui-ux-pro-max/data/stacks/wpf.csv +57 -0
  96. package/istm-design/core/ui-ux-pro-max/data/styles.csv +85 -0
  97. package/istm-design/core/ui-ux-pro-max/data/typography.csv +75 -0
  98. package/istm-design/core/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
  99. package/istm-design/core/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  100. package/istm-design/core/ui-ux-pro-max/references/pro-rules.md +109 -0
  101. package/istm-design/core/ui-ux-pro-max/references/quick-reference.md +240 -0
  102. package/istm-design/core/ui-ux-pro-max/scripts/core.py +464 -0
  103. package/istm-design/core/ui-ux-pro-max/scripts/design_system.py +1371 -0
  104. package/istm-design/core/ui-ux-pro-max/scripts/search.py +162 -0
  105. package/istm-design/core/ui-ux-pro-max/scripts/tests/test_core.py +134 -0
  106. package/istm-design/core/ui-ux-pro-max/scripts/validate_data.py +114 -0
  107. package/istm-design/references/apple-design.md +282 -0
  108. package/istm-design/references/generation-guide.md +209 -0
  109. package/istm-design/references/pick-ui-library.md +77 -0
  110. package/istm-design/references/picker.md +197 -0
  111. package/istm-design/references/prototype.md +90 -0
  112. package/istm-design/references/schema.md +366 -0
  113. package/istm-workflow/istm-audit/SKILL.md +7 -7
  114. package/istm-workflow/istm-audit/agent-prompt.md +20 -20
  115. package/istm-workflow/istm-audit/modes/area.md +1 -1
  116. package/istm-workflow/istm-audit/modes/greenfield.md +4 -4
  117. package/istm-workflow/istm-audit/modes/tool-skills.md +1 -1
  118. package/istm-workflow/istm-check/SKILL.md +10 -10
  119. package/istm-workflow/istm-check/modes/review.md +9 -9
  120. package/istm-workflow/istm-check/modes/verify.md +19 -19
  121. package/istm-workflow/istm-check/review-agent-prompt.md +2 -2
  122. package/istm-workflow/istm-check/review-guide.md +4 -4
  123. package/istm-workflow/istm-craft/SKILL.md +20 -11
  124. package/istm-workflow/istm-craft/agent-modes/architecture.md +1 -1
  125. package/istm-workflow/istm-craft/agent-prompt.md +8 -8
  126. package/istm-workflow/istm-craft/internal/after-subagent.md +11 -11
  127. package/istm-workflow/istm-craft/internal/design-conversation.md +9 -9
  128. package/istm-workflow/istm-craft/internal/tool-discovery.md +2 -2
  129. package/istm-workflow/istm-craft/spec-template.md +18 -18
  130. package/istm-workflow/istm-debug/SKILL.md +6 -6
  131. package/istm-workflow/istm-develop/SKILL.md +31 -16
  132. package/istm-workflow/istm-develop/checklist.md +1 -1
  133. package/istm-workflow/istm-develop/flow/build.md +21 -21
  134. package/istm-workflow/istm-develop/flow/git.md +4 -4
  135. package/istm-workflow/istm-develop/logical-guide.md +5 -5
  136. package/istm-workflow/istm-develop/ui/implementation.md +2 -2
  137. package/istm-workflow/istm-develop/ui-guide.md +3 -3
  138. package/istm-workflow/istm-document/SKILL.md +6 -6
  139. package/istm-workflow/istm-document/templates/postmortem.md +1 -1
  140. package/istm-workflow/istm-scope/SKILL.md +20 -20
  141. package/istm-workflow/istm-scope/modes/add.md +1 -1
  142. package/istm-workflow/istm-scope/modes/plan-brownfield.md +2 -2
  143. package/istm-workflow/istm-scope/modes/plan-greenfield.md +4 -4
  144. package/istm-workflow/istm-scope/modes/plan-monorepo.md +3 -3
  145. package/istm-workflow/istm-scope/modes/plan.md +16 -16
  146. package/istm-workflow/istm-scope/modes/replan.md +2 -2
  147. package/istm-workflow/istm-scope/scope-template.md +29 -29
  148. package/istm-workflow/istm-sync/SKILL.md +37 -25
  149. package/istm-workflow/istm-sync/agent-prompt.md +37 -19
  150. package/istm-workflow/istm-test/SKILL.md +12 -12
  151. package/istm-workflow/istm-test/modes/setup.md +6 -6
  152. package/istm-workflow/istm-test/writing-guide.md +1 -1
  153. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  ---
2
- name: audit
2
+ name: istm-audit
3
3
  allowed-tools: Bash, Read, Grep, Glob, Write, Edit, Agent, AskUserQuestion
4
- description: "Run /audit on a greenfield project, an existing codebase with missing docs, or one area (/audit src/auth) to bootstrap the project's AI context, the .istm-context/agents.md files every later skill reads. Writes tool agnostic .istm-context/agents.md plus thin CLAUDE.md pointers, adding only what is missing; never overwrites curated content."
4
+ description: "Run /istm-audit on a greenfield project, an existing codebase with missing docs, or one area (/istm-audit src/auth) to bootstrap the project's AI context, the .istm-context/agents.md files every later skill reads. Writes tool agnostic .istm-context/agents.md plus thin CLAUDE.md pointers, adding only what is missing; never overwrites curated content."
5
5
  ---
6
6
 
7
7
  ## Output style (plain words, no dashes, no hyphens)
@@ -14,11 +14,11 @@ Write everything this skill produces, files and messages alike, in plain simple
14
14
 
15
15
  The context bootstrapper: writes the `.istm-context/agents.md` files every later skill and AI tool reads.
16
16
 
17
- - Greenfield (no code yet): ask for coding standards, seed root `.istm-context/agents.md` from the answers plus the build approach (name and one line principle) from the scope header if `/scope` set one. Runs after the project is scaffolded with its chosen stack (`/scope` → `/architect` decides the stack → scaffold → `/audit`); earlier is premature.
17
+ - Greenfield (no code yet): ask for coding standards, seed root `.istm-context/agents.md` from the answers plus the build approach (name and one line principle) from the scope header if `/istm-scope` set one. Runs after the project is scaffolded with its chosen stack (`/istm-scope` → `/architect` decides the stack → scaffold → `/istm-audit`); earlier is premature.
18
18
  - Brownfield, undocumented (code, no `.istm-context/agents.md`): scan the whole project, write root `.istm-context/agents.md` and nested `<area>/.istm-context/agents.md` files, judging what is global (root) vs area specific (nested).
19
19
  - Brownfield, partially documented: check existing root and nested docs against the whole codebase; add only what is missing (new global facts, nested docs for undocumented areas); never clobber curated content.
20
20
 
21
- Does not create specs (/architect owns those), maintain files after changes (/sync owns that), or write the feature scope (/scope owns `.istm-context/scope/`).
21
+ Does not create specs (/architect owns those), maintain files after changes (/istm-sync owns that), or write the feature scope (/istm-scope owns `.istm-context/istm-scope/`).
22
22
 
23
23
  ## Context file convention (.istm-context/agents.md is canonical)
24
24
 
@@ -58,7 +58,7 @@ Gather several signals (a file count alone misleads: a scaffold inflates it, an
58
58
  2. Source count across common ecosystems (extensions like `.ts/.tsx/.js/.jsx/.py/.go/.rs/.java/.rb/.swift/.kt/.php/.cs/.dart/.ex/.exs/.scala/.c/.cpp/.h/.lua/.clj`), excluding vendored/generated dirs (`node_modules`, `.git`, `dist`, `build`) and config files (`*.config.*`).
59
59
  3. Established signals: `git log --oneline` for commit history depth; a real manifest (`package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `composer.json`, `*.csproj`, `pubspec.yaml`, `mix.exs`, `Gemfile`).
60
60
  4. Monorepo signal: workspace markers (`pnpm-workspace.yaml`, `turbo.json`, a `"workspaces"` field in `package.json`) or any `apps/*/package.json` / `packages/*/package.json` near the root.
61
- 5. **Workflow setup signal (`WORKFLOW_SETUP`)**: root .istm-context/agents.md is MISSING while the workflow has already decided the stack, i.e. a `.istm-context/specs/` architecture spec exists (a file with a `## Proposed stack` section), and/or `.istm-context/scope/` has a "Stack and architecture" (or similar foundational scaffold) feature. This is the intended greenfield order (`/scope` → `/architect` decides the stack → `/develop` scaffolds it → `/audit`): the project is freshly scaffolded from its chosen stack and still needs its coding standards captured. When this signal fires, the manifest and scaffold source that now exist are the scaffold, not a codebase that already existed.
61
+ 5. **Workflow setup signal (`WORKFLOW_SETUP`)**: root .istm-context/agents.md is MISSING while the workflow has already decided the stack, i.e. a `.istm-context/specs/` architecture spec exists (a file with a `## Proposed stack` section), and/or `.istm-context/istm-scope/` has a "Stack and architecture" (or similar foundational scaffold) feature. This is the intended greenfield order (`/istm-scope` → `/architect` decides the stack → `/istm-develop` scaffolds it → `/istm-audit`): the project is freshly scaffolded from its chosen stack and still needs its coding standards captured. When this signal fires, the manifest and scaffold source that now exist are the scaffold, not a codebase that already existed.
62
62
 
63
63
  Pick the phase. The order of checks matters: the workflow setup signal outranks the raw code count, because a fresh scaffold has a manifest and source files yet is still greenfield.
64
64
 
@@ -71,9 +71,9 @@ Pick the phase. The order of checks matters: the workflow setup signal outranks
71
71
  | `ROOT_MISSING`, no `WORKFLOW_SETUP`, has code (source ≥ 10 or a manifest), ≥ 2 commits and clearly real feature code (not just scaffold) | Phase 2, any language |
72
72
  | `ROOT_MISSING`, no `WORKFLOW_SETUP`, has code but it looks like untouched scaffold, or ≤ 1 commit, or you can't tell greenfield from brownfield | Phase 0, ask |
73
73
 
74
- Why this order: the workflow scaffolds a greenfield project (manifest + starter files) BEFORE `/audit` runs, so a raw code count alone would wrongly read a fresh scaffold as an existing codebase and skip the coding standards questions. The workflow setup signal (a stack spec with no root .istm-context/agents.md) catches exactly that case and routes it to greenfield. Only when there is real feature code, real history, and no in-progress workflow setup is it truly brownfield (Phase 2). Anything ambiguous falls to Phase 0 and asks; never default a maybe greenfield project to brownfield.
74
+ Why this order: the workflow scaffolds a greenfield project (manifest + starter files) BEFORE `/istm-audit` runs, so a raw code count alone would wrongly read a fresh scaffold as an existing codebase and skip the coding standards questions. The workflow setup signal (a stack spec with no root .istm-context/agents.md) catches exactly that case and routes it to greenfield. Only when there is real feature code, real history, and no in-progress workflow setup is it truly brownfield (Phase 2). Anything ambiguous falls to Phase 0 and asks; never default a maybe greenfield project to brownfield.
75
75
 
76
- Monorepo (`MONOREPO=yes`): root plus a light stub per workspace, deepen on demand. Each workspace (`apps/*`, `packages/*`) is a first class area; its primary doc lives at the workspace root (`packages/api/.istm-context/agents.md`), never buried deeper. A whole-repo run does not deep scan every workspace (too expensive, premature); write the repo root `.istm-context/agents.md` (monorepo wide tooling, shared conventions) plus a light stub `.istm-context/agents.md` per workspace from its manifest, no code scan, with root pointers. The full conventions/gotchas/key files scan happens when the engineer runs `/audit packages/api` (Phase 3) or first builds there, never all upfront. A spot inside a workspace that warrants its own doc (`packages/ui/src/mdx/`) gets one in addition to the workspace root doc, linked from it. A doc already there, buried in a workspace with no workspace root doc: ask: "`packages/ui` has a context file at `src/mdx/` but none at its root. Move it up to `packages/ui/.istm-context/agents.md`, or keep it as a nested doc under a new `packages/ui/.istm-context/agents.md`?" On move: relocate it to the workspace root. On keep nested: create the workspace root `.istm-context/agents.md` AND keep the deep one, linking it from the root doc. Migrate legacy `CLAUDE.md` content per the convention above. Apply `MONOREPO=yes` plus the workspace list as you write.
76
+ Monorepo (`MONOREPO=yes`): root plus a light stub per workspace, deepen on demand. Each workspace (`apps/*`, `packages/*`) is a first class area; its primary doc lives at the workspace root (`packages/api/.istm-context/agents.md`), never buried deeper. A whole-repo run does not deep scan every workspace (too expensive, premature); write the repo root `.istm-context/agents.md` (monorepo wide tooling, shared conventions) plus a light stub `.istm-context/agents.md` per workspace from its manifest, no code scan, with root pointers. The full conventions/gotchas/key files scan happens when the engineer runs `/istm-audit packages/api` (Phase 3) or first builds there, never all upfront. A spot inside a workspace that warrants its own doc (`packages/ui/src/mdx/`) gets one in addition to the workspace root doc, linked from it. A doc already there, buried in a workspace with no workspace root doc: ask: "`packages/ui` has a context file at `src/mdx/` but none at its root. Move it up to `packages/ui/.istm-context/agents.md`, or keep it as a nested doc under a new `packages/ui/.istm-context/agents.md`?" On move: relocate it to the workspace root. On keep nested: create the workspace root `.istm-context/agents.md` AND keep the deep one, linking it from the root doc. Migrate legacy `CLAUDE.md` content per the convention above. Apply `MONOREPO=yes` plus the workspace list as you write.
77
77
 
78
78
  Legacy migration (any phase): on `ROOT_LEGACY`, before proceeding ask permission: "I found a `CLAUDE.md` with project context but no `.istm-context/agents.md`. I'll move its content into a new `.istm-context/agents.md` (so all tools read it) and replace `CLAUDE.md` with a pointer. Proceed?" On yes: copy the content verbatim into `.istm-context/agents.md`, then replace `CLAUDE.md` with the pointer; `.istm-context/agents.md` now exists, so continue as Phase 4 (gap-fill). On no: leave both untouched and continue without migrating. Same for any nested `<area>/CLAUDE.md`.
79
79
 
@@ -4,7 +4,7 @@ You, the main thread, read and follow this when you write the `.istm-context/age
4
4
 
5
5
  ---
6
6
 
7
- You are running /audit in **PHASE** mode. Use your Read, Bash, Write, and Edit tools freely.
7
+ You are running /istm-audit in **PHASE** mode. Use your Read, Bash, Write, and Edit tools freely.
8
8
 
9
9
  ## Canonical context file: .istm-context/agents.md (+ a CLAUDE.md pointer)
10
10
 
@@ -27,7 +27,7 @@ Hard rules:
27
27
 
28
28
  ## Stamp what you write, so curated content is knowable
29
29
 
30
- Every `.istm-context/agents.md` this skill creates ends with the drafted by line in the templates below. It exists so a later run (this skill or `/sync`) can tell what a tool wrote from what a human wrote, instead of guessing.
30
+ Every `.istm-context/agents.md` this skill creates ends with the drafted by line in the templates below. It exists so a later run (this skill or `/istm-sync`) can tell what a tool wrote from what a human wrote, instead of guessing.
31
31
 
32
32
  - **Creating a file**: end it with the drafted by line, exactly as the template shows.
33
33
  - **Gap filling a file that still carries the line**: the untouched parts are yours to correct; add or fix facts surgically, and leave the line in place.
@@ -37,22 +37,22 @@ The stamp records provenance, not permission. It never licenses overwriting a li
37
37
 
38
38
  ## The mirrored root fields
39
39
 
40
- <!-- ROOT-FIELD-CONTRACT:START (identical in /audit and /sync; edit both or neither) -->
40
+ <!-- ROOT-FIELD-CONTRACT:START (identical in /istm-audit and /istm-sync; edit both or neither) -->
41
41
  Root `.istm-context/agents.md` carries two mirrored fields. Each has exactly one source of truth outside the file, and no skill may invent a value for either:
42
42
 
43
43
  - `## Stack` mirrors the architecture spec, the one under `.istm-context/specs/` with a `## Proposed stack` section.
44
- - `## Build approach` mirrors the scope header's build approach line, the one `/scope` records.
44
+ - `## Build approach` mirrors the scope header's build approach line, the one `/istm-scope` records.
45
45
 
46
46
  Three rules bind every skill that touches them. Never overwrite curated prose in either field. Fill a field only when it is missing or still a placeholder. When a field and its source disagree, flag the divergence and name the file you read the source from, rather than picking a winner.
47
47
  <!-- ROOT-FIELD-CONTRACT:END -->
48
48
 
49
- What `/audit` does with them (every phase that writes or audits root):
49
+ What `/istm-audit` does with them (every phase that writes or audits root):
50
50
 
51
- - **Creating root** (greenfield, whole-repo): populate `## Stack` from the architecture spec if it exists (the source of truth, even on greenfield with no code); else derive from the code/manifest, else `<to be filled>`. Seed `## Build approach` from the scope header if one exists, a short line: name + one line principle; if no scope, or none set, write `<TBD, set by /scope>` rather than guessing.
52
- - **`## Git`** (from the git integration question): write the engineer's choice as a small block the other skills read, e.g. `- integration: on` / `- branch prefix: feat/` / `- commit: per-milestone`, or just `- integration: off`. Absent means off. It is a recorded preference, not a mirrored source of truth like Stack/Build approach; `/develop` reads it to branch and commit, `/document` to gate the PR.
51
+ - **Creating root** (greenfield, whole-repo): populate `## Stack` from the architecture spec if it exists (the source of truth, even on greenfield with no code); else derive from the code/manifest, else `<to be filled>`. Seed `## Build approach` from the scope header if one exists, a short line: name + one line principle; if no scope, or none set, write `<TBD, set by /istm-scope>` rather than guessing.
52
+ - **`## Git`** (from the git integration question): write the engineer's choice as a small block the other skills read, e.g. `- integration: on` / `- branch prefix: feat/` / `- commit: per-milestone`, or just `- integration: off`. Absent means off. It is a recorded preference, not a mirrored source of truth like Stack/Build approach; `/istm-develop` reads it to branch and commit, `/istm-document` to gate the PR.
53
53
  - **Auditing existing root** (gap-fill): either field missing or placeholder → ROOT_GAPS; either field contradicting its source → CONTRADICTIONS.
54
54
 
55
- This keeps the `/architect → /audit` handoff order-independent: root absorbs the decided stack whenever audit runs.
55
+ This keeps the `/architect → /istm-audit` handoff order-independent: root absorbs the decided stack whenever audit runs.
56
56
 
57
57
  ## Phase
58
58
 
@@ -107,19 +107,19 @@ New project, possibly just scaffolded from its chosen stack (there may be a mani
107
107
 
108
108
  **Step 1: Minimal discovery**
109
109
 
110
- With your file tools, list the top couple of project levels (excluding `.git`); read the manifest if present (note language, package manager). Check `.istm-context/specs/` for numbered specs (`NNNN-*.md`); if an architecture spec exists (`## Proposed stack` section), read it: the stack is already decided via `/architect`, use it for `## Stack`, no placeholders, never contradict it. Check `.istm-context/scope/` (or `.workflow/scope/`): if the scope header records a build approach (name + one line principle), capture it verbatim as the `## Build approach` seed; else `<TBD, set by /scope>`.
110
+ With your file tools, list the top couple of project levels (excluding `.git`); read the manifest if present (note language, package manager). Check `.istm-context/specs/` for numbered specs (`NNNN-*.md`); if an architecture spec exists (`## Proposed stack` section), read it: the stack is already decided via `/architect`, use it for `## Stack`, no placeholders, never contradict it. Check `.istm-context/istm-scope/` (or `.workflow/istm-scope/`): if the scope header records a build approach (name + one line principle), capture it verbatim as the `## Build approach` seed; else `<TBD, set by /istm-scope>`.
111
111
 
112
112
  **Step 2: Create root .istm-context/agents.md**
113
113
 
114
- Use the template below. `## Stack`: spec, else findings, else `<to be filled>`. `## Build approach`: scope header, else `<TBD, set by /scope>`. `## Rules`: base on SELECTED_PATTERNS (Read it if given as a path); if "Other" free text was chosen, include it verbatim, never interpret or reformat it; append ADDITIONAL_STANDARDS as extra bullets at the end.
114
+ Use the template below. `## Stack`: spec, else findings, else `<to be filled>`. `## Build approach`: scope header, else `<TBD, set by /istm-scope>`. `## Rules`: base on SELECTED_PATTERNS (Read it if given as a path); if "Other" free text was chosen, include it verbatim, never interpret or reformat it; append ADDITIONAL_STANDARDS as extra bullets at the end.
115
115
 
116
- If `INSTALLED_SKILLS_OR_NONE` is provided, write a `## Agent skills` section (template above): ONE bullet per installed skill, `- [<skill>](<skills-dir>/<skill>/): `<owner>/<repo>`, <what it covers>`, so a later skill loads only the ones a task needs, never a single dense line of names. Detect the project's real skills directory (`.claude/skills/` on Claude Code, `.agents/skills/` on other agents, or a plain `skills/`) and use it in the link; never hardcode a Claude only path, since every tool reads this file. Keep the registry source `<owner>/<repo>` on each bullet as the tool agnostic identity a different agent resolves in its own dir. If `DECLINED_TOOLS_OR_NONE` is provided, add a compact `Declined: <tool>, <tool>` line in that section (a decline has nothing to load, so it needs no location; it stops a later `/audit` or `/architect` offering it again). If `MCP_SERVERS_OR_NONE`, add a compact `MCP servers: <server> (connected|recommended)` line (a connected service has no local file to open). Project wide tech at root; area specific at that area's nested doc, using the same `## Agent skills` section.
116
+ If `INSTALLED_SKILLS_OR_NONE` is provided, write a `## Agent skills` section (template above): ONE bullet per installed skill, `- [<skill>](<skills-dir>/<skill>/): `<owner>/<repo>`, <what it covers>`, so a later skill loads only the ones a task needs, never a single dense line of names. Detect the project's real skills directory (`.claude/skills/` on Claude Code, `.agents/skills/` on other agents, or a plain `skills/`) and use it in the link; never hardcode a Claude only path, since every tool reads this file. Keep the registry source `<owner>/<repo>` on each bullet as the tool agnostic identity a different agent resolves in its own dir. If `DECLINED_TOOLS_OR_NONE` is provided, add a compact `Declined: <tool>, <tool>` line in that section (a decline has nothing to load, so it needs no location; it stops a later `/istm-audit` or `/architect` offering it again). If `MCP_SERVERS_OR_NONE`, add a compact `MCP servers: <server> (connected|recommended)` line (a connected service has no local file to open). Project wide tech at root; area specific at that area's nested doc, using the same `## Agent skills` section.
117
117
 
118
118
  Monorepo: keep root to monorepo wide concerns (workspace tooling `pnpm`/`turbo`/`nx`, shared standards, a `## Context files` section pointing at each workspace's nested doc); per app stack does not go in root.
119
119
 
120
120
  **Step 2b: Per workspace nested .istm-context/agents.md (monorepo only)**
121
121
 
122
- If `MONOREPO_OR_NO` is `yes`: for each listed workspace (`apps/*`, `packages/*`), read its manifest. Even with no features built, the scaffold declares the workspace's stack and commands; capture them so `/architect` and `/develop` read them from the workspace's own doc (they won't look in root). Write `<workspace>/.istm-context/agents.md` with the nested template (`## Stack` from its manifest, `## Commands` from its scripts, scoped, e.g. `pnpm --filter <name> dev`, root `## Rules` inherited by reference), plus the sibling `<workspace>/CLAUDE.md` pointer and a pointer line under root's `## Context files`. Skip an empty placeholder workspace with no manifest.
122
+ If `MONOREPO_OR_NO` is `yes`: for each listed workspace (`apps/*`, `packages/*`), read its manifest. Even with no features built, the scaffold declares the workspace's stack and commands; capture them so `/architect` and `/istm-develop` read them from the workspace's own doc (they won't look in root). Write `<workspace>/.istm-context/agents.md` with the nested template (`## Stack` from its manifest, `## Commands` from its scripts, scoped, e.g. `pnpm --filter <name> dev`, root `## Rules` inherited by reference), plus the sibling `<workspace>/CLAUDE.md` pointer and a pointer line under root's `## Context files`. Skip an empty placeholder workspace with no manifest.
123
123
 
124
124
  **Step 3: Report** (format at the bottom); list every per workspace doc created.
125
125
 
@@ -146,7 +146,7 @@ Stack, runtime, framework; daily commands (install, dev, build, test); conventio
146
146
 
147
147
  **Step 4: Create nested .istm-context/agents.md**
148
148
 
149
- Monorepo (`MONOREPO_OR_NO` = yes): don't judge or deep scan. Every workspace (`apps/*`, `packages/*`) gets a light stub `.istm-context/agents.md` at its root (`## Stack` + `## Commands` from its manifest, scoped, e.g. `pnpm -F <name> …`, plus a one line overview), the sibling `CLAUDE.md` pointer, and a root `## Context files` pointer. No code scan; deep conventions come later via `/audit <workspace>`. A doc buried below a workspace root (e.g. `packages/ui/src/mdx/`) with no root doc: follow the relocation rule the main agent surfaced (move up, or root doc + linked nested). Skip the judgment step below.
149
+ Monorepo (`MONOREPO_OR_NO` = yes): don't judge or deep scan. Every workspace (`apps/*`, `packages/*`) gets a light stub `.istm-context/agents.md` at its root (`## Stack` + `## Commands` from its manifest, scoped, e.g. `pnpm -F <name> …`, plus a one line overview), the sibling `CLAUDE.md` pointer, and a root `## Context files` pointer. No code scan; deep conventions come later via `/istm-audit <workspace>`. A doc buried below a workspace root (e.g. `packages/ui/src/mdx/`) with no root doc: follow the relocation rule the main agent surfaced (move up, or root doc + linked nested). Skip the judgment step below.
150
150
 
151
151
  Single repo: identify the major areas/modules (e.g. `src/auth`, `src/payments`, `src/api`, `src/jobs`); judge each. Warrants a nested doc: distinct conventions, not obvious rules, local commands, external integrations, or gotchas a developer must know before touching it. Does not: a simple module with no surprises, or root already covers it (skip; never one per folder). For each warranted area: write `<area>/.istm-context/agents.md` with the nested template, its sibling `<area>/CLAUDE.md` pointer, and one pointer line in root's `## Context files` via Edit:
152
152
  ```
@@ -208,7 +208,7 @@ With your file tools, list the project tree a few levels deep, skipping vendored
208
208
  - (a) Global facts missing from root: a daily command, stack element, project wide rule, or the build approach (in the scope header but absent from root) that's true but not recorded. Collect each as a `ROOT_GAPS` line (exact markdown + target section) and apply it only with the engineer's permission (the gap handling step in `modes/gapfill.md`), never silently, since a root line may be curated.
209
209
  - (b) Undocumented areas: a major area with distinct conventions/gotchas and no nested .istm-context/agents.md. Create the nested doc (nested template + sibling CLAUDE.md pointer) and add its root pointer line via Edit (safe to do directly: creating, not overwriting).
210
210
  - (c) Stale/incomplete nested docs: an existing nested .istm-context/agents.md missing something now true of its area. Return as `PROPOSED_ADDITIONS`; do NOT edit it yourself.
211
- - (d) Contradictions: a doc states something the codebase or its governing records disprove (documented test runner or framework isn't the one actually used; `## Stack` conflicts with the architecture spec; `## Build approach` differs from the scope header; a documented command no longer exists). Worse than a gap, the docs are actively wrong; do NOT fix it automatically (the line may be curated). Collect each as a `CONTRADICTIONS` entry naming the doc, what it says, and what the code/spec/scope actually shows; surface these to the human, don't fix them automatically.
211
+ - (d) Contradictions: a doc states something the codebase or its governing records disprove (documented test runner or framework isn't the one actually used; `## Stack` conflicts with the architecture spec; `## Build approach` differs from the scope header; a documented command no longer exists). Worse than a gap, the docs are actively wrong; do NOT fix it automatically (the line may be curated). Collect each as a `CONTRADICTIONS` entry naming the doc, what it says, and what the code/spec/istm-scope actually shows; surface these to the human, don't fix them automatically.
212
212
 
213
213
  Be conservative: flag only durable findings you're confident about; when unsure, leave it. Do not flag implementation detail, TODOs, or anything that churns.
214
214
 
@@ -232,7 +232,7 @@ Be conservative: flag only durable findings you're confident about; when unsure,
232
232
 
233
233
  <The project's default build strategy, a short line: name + one line principle. A project wide
234
234
  convention every skill reads (like the stack). Seeded from the scope header; `<TBD, set by
235
- /scope>` if none is set yet. The approach is one of:
235
+ /istm-scope>` if none is set yet. The approach is one of:
236
236
  - **Tracer Bullet**, vertical end to end slices, thin but complete through every layer
237
237
  - **Skateboard**, ship the thinnest usable whole, then grow it
238
238
  - **Facade**, UI first shell, then wire the real behavior behind it (prototype led)
@@ -268,7 +268,7 @@ Stored in `.istm-context/specs/`. Format: `.istm-context/specs/NNNN-title.md`.
268
268
  ## Agent skills
269
269
 
270
270
  <Installed Agent Skills that carry this project's tool conventions. ONE bullet per skill so a
271
- later skill (/architect, /develop) opens only the ones a task needs, never a single dense line
271
+ later skill (/architect, /istm-develop) opens only the ones a task needs, never a single dense line
272
272
  of names, and omit the whole section if none installed. Each bullet: the skill name, its
273
273
  registry source `<owner>/<repo>` (the stable, tool agnostic identity), a one line note on what
274
274
  it governs, and a link to where it lives IN THIS PROJECT. The skills directory is agent specific:
@@ -280,14 +280,14 @@ Stored in `.istm-context/specs/`. Format: `.istm-context/specs/NNNN-title.md`.
280
280
 
281
281
  <Then, only if present, a compact line each (a declined tool has nothing to load, and an MCP
282
282
  server is a connected service with no local file, so both stay lines, not bullets):
283
- `Declined: <tool>, <tool>` (offered before, not wanted; keep so a later /audit or /architect
283
+ `Declined: <tool>, <tool>` (offered before, not wanted; keep so a later /istm-audit or /architect
284
284
  does not offer it again) · `MCP servers: <server> (connected), <server> (recommended)`>
285
285
 
286
286
  ## Context files
287
287
 
288
288
  <!-- Nested .istm-context/agents.md files are listed here as they are created -->
289
289
 
290
- _Drafted by /audit from the repo, worth a quick human pass. Edit freely: once a line stops matching this draft, later runs treat it as curated and will flag rather than overwrite it._
290
+ _Drafted by /istm-audit from the repo, worth a quick human pass. Edit freely: once a line stops matching this draft, later runs treat it as curated and will flag rather than overwrite it._
291
291
 
292
292
  === ROOT .istm-context/agents.md TEMPLATE END ===
293
293
 
@@ -331,7 +331,7 @@ _Drafted by /audit from the repo, worth a quick human pass. Edit freely: once a
331
331
 
332
332
  <Links once specs exist, omit section if none yet>
333
333
 
334
- _Drafted by /audit from the repo, worth a quick human pass. Edit freely: once a line stops matching this draft, later runs treat it as curated and will flag rather than overwrite it._
334
+ _Drafted by /istm-audit from the repo, worth a quick human pass. Edit freely: once a line stops matching this draft, later runs treat it as curated and will flag rather than overwrite it._
335
335
  ```
336
336
 
337
337
  ---
@@ -357,7 +357,7 @@ Only propose what is absent and genuinely useful. Do not rewrite existing conten
357
357
  ## Report format (end of every phase)
358
358
 
359
359
  ```
360
- ## /audit complete
360
+ ## /istm-audit complete
361
361
 
362
362
  **Phase**: <greenfield | whole-repo | area | gap-fill>
363
363
  **Scope**: <what was explored>
@@ -1,6 +1,6 @@
1
1
  # Audit Mode: area scan (Phase 3)
2
2
 
3
- Trigger: a path or area name was given (e.g. `/audit src/auth`).
3
+ Trigger: a path or area name was given (e.g. `/istm-audit src/auth`).
4
4
 
5
5
  Pre-flight additionally:
6
6
  1. Check the area path exists. If not: stop immediately, tell the engineer "Path `<area>` not found. Check the path and try again.", and do nothing further.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Trigger: the preliminary check classified greenfield, including the workflow setup case (a stack spec exists but no root .istm-context/agents.md, so the project is freshly scaffolded and still needs its standards), or Phase 0 → `New project`. There may already be a manifest and scaffold source; that is the scaffold, not an already existing codebase, so still ask the standards.
4
4
 
5
- Step 1, ask coding patterns AND tooling. The main thread asks, as decision panels, up to 4 per round, as many rounds as it takes. Every panel has exactly one option marked `(recommended)` and always ends with a free text custom input slot (Claude Code's picker adds that "Other" automatically; in a plain text fallback add it explicitly as the last option). Be thorough, not minimal; this is the one place conventions and tooling get set, so grill the engineer on every convention and tooling choice rather than assuming a default. First read the real scaffolded project (manifest, existing config, tools the scaffold installed), then tailor every question: skip one the stack already settles, list an already installed tool first as the recommended pick, phrase options for the actual language and framework. Answers are captured into `.istm-context/agents.md`. `/audit` records the choices, installs nothing; installing (packages, config files, hooks that run before commit, CI) is the `/develop tooling` sub task that follows, but ask the tooling questions here where the choice is made and recorded.
5
+ Step 1, ask coding patterns AND tooling. The main thread asks, as decision panels, up to 4 per round, as many rounds as it takes. Every panel has exactly one option marked `(recommended)` and always ends with a free text custom input slot (Claude Code's picker adds that "Other" automatically; in a plain text fallback add it explicitly as the last option). Be thorough, not minimal; this is the one place conventions and tooling get set, so grill the engineer on every convention and tooling choice rather than assuming a default. First read the real scaffolded project (manifest, existing config, tools the scaffold installed), then tailor every question: skip one the stack already settles, list an already installed tool first as the recommended pick, phrase options for the actual language and framework. Answers are captured into `.istm-context/agents.md`. `/istm-audit` records the choices, installs nothing; installing (packages, config files, hooks that run before commit, CI) is the `/istm-develop tooling` sub task that follows, but ask the tooling questions here where the choice is made and recorded.
6
6
 
7
7
  Architecture & code conventions:
8
8
  - Architecture style: present all four preset options without reading their files into context yet: Clean Architecture (`patterns/clean-.istm-context/architecture.md`), Functional (`patterns/functional.md`), Domain Driven Design (`patterns/domain-driven.md`), and SOLID OOP (`patterns/solid-oop.md`). At write time (Step 3) you read only the chosen preset file.
@@ -10,10 +10,10 @@ Architecture & code conventions:
10
10
  - Module & folder structure: `folder-by-feature` (colocate by feature) · `by-layer` (controllers/services/repos) · match what the scaffold already set.
11
11
  - Additional code standards (multi select): documented public APIs · a consistent error handling pattern · validate env vars at startup · named exports only (no default exports) · consistent naming conventions · accessibility baseline on UI (WCAG AA) · conventional commit messages.
12
12
 
13
- Tooling (asked here, installed by `/develop tooling`):
13
+ Tooling (asked here, installed by `/istm-develop tooling`):
14
14
  - Linting & formatting (adaptive): the standard linter + formatter for this stack (suggested; list an already installed one first) · a specific alternative · minimal for now.
15
15
  - Checks before commit: lint + format + typecheck on every commit (suggested) · format only · none.
16
- - Testing gate (captured as the convention, the runner is set up by `/test`): unit + integration with a framework (suggested) · typecheck + manual `/check verify` only · tests first (TDD).
16
+ - Testing gate (captured as the convention, the runner is set up by `/istm-test`): unit + integration with a framework (suggested) · typecheck + manual `/istm-check verify` only · tests first (TDD).
17
17
  - Continuous integration: a basic CI check on push (lint, typecheck, test) (suggested) · not yet · already configured.
18
18
  - Git integration (recorded as the `## Git` block in .istm-context/agents.md): let the workflow branch per feature, commit as milestones land, and drive PRs (`on`, suggested for solo/most) · manage git yourself (`off`). If `on`, also capture `branch prefix` (default `feat/`) and `commit` granularity (`per-milestone` (suggested) · `end-of-build` · `manual`). Push and PRs always confirm regardless. **On `on`, if the project is not yet a git repo (`git rev-parse` fails), run `git init` now and offer an initial commit of the scaffold and docs, so the repo exists from the moment integration is enabled.** On `off`, never init; the engineer owns git.
19
19
 
@@ -21,4 +21,4 @@ Adapt the list: drop what doesn't apply (no CI question for a throwaway prototyp
21
21
 
22
22
  Step 2, resolve SELECTED_PATTERNS: a named pattern → the absolute path of the matching `patterns/*.md` file (path only, do not inline its contents). "Other" (free text) → the engineer's exact typed text, passed inline (no file).
23
23
 
24
- Step 3, run the Tool skills sweep (`modes/tool-skills.md`, whose web/registry discovery runs in a `researcher` subagent), then write the files yourself. Read `agent-prompt.md` and the selected pattern preset file now, and follow the GREENFIELD phase instructions to write root `.istm-context/agents.md` + its `CLAUDE.md` pointer. The inputs to apply: `PHASE=greenfield`; `SELECTED_PATTERNS=<pattern file path, or the Other free text>`; `ADDITIONAL_STANDARDS=<all the other Step 1 selections: code standards, type strictness, folder structure, AND the tooling choices (lint/format, pre-commit, testing gate, CI), AND the git integration choice written as a `## Git` block (`integration`, `branch prefix`, `commit`)>`; `MONOREPO_OR_NO` (`yes, apps: web, api, …` if detected); plus the sweep's `INSTALLED_SKILLS` / `DECLINED_TOOLS` for the `## Agent skills` section (one bullet per skill with its location, per `agent-prompt.md`). Capture the tooling choices clearly (a short `## Tooling` note or explicit Rules lines) so `/develop tooling` installs exactly what was chosen. Per `agent-prompt.md`, seed `## Stack` from the architecture spec (the workflow setup case always has one), seed `## Build approach` from the scope header (else `<TBD, set by /scope>`), and add per workspace nested docs if `MONOREPO=yes`.
24
+ Step 3, run the Tool skills sweep (`modes/tool-skills.md`, whose web/registry discovery runs in a `researcher` subagent), then write the files yourself. Read `agent-prompt.md` and the selected pattern preset file now, and follow the GREENFIELD phase instructions to write root `.istm-context/agents.md` + its `CLAUDE.md` pointer. The inputs to apply: `PHASE=greenfield`; `SELECTED_PATTERNS=<pattern file path, or the Other free text>`; `ADDITIONAL_STANDARDS=<all the other Step 1 selections: code standards, type strictness, folder structure, AND the tooling choices (lint/format, pre-commit, testing gate, CI), AND the git integration choice written as a `## Git` block (`integration`, `branch prefix`, `commit`)>`; `MONOREPO_OR_NO` (`yes, apps: web, api, …` if detected); plus the sweep's `INSTALLED_SKILLS` / `DECLINED_TOOLS` for the `## Agent skills` section (one bullet per skill with its location, per `agent-prompt.md`). Capture the tooling choices clearly (a short `## Tooling` note or explicit Rules lines) so `/istm-develop tooling` installs exactly what was chosen. Per `agent-prompt.md`, seed `## Stack` from the architecture spec (the workflow setup case always has one), seed `## Build approach` from the scope header (else `<TBD, set by /istm-scope>`), and add per workspace nested docs if `MONOREPO=yes`.
@@ -4,7 +4,7 @@ Read this from the greenfield mode (after scaffold) and the whole-repo mode, onc
4
4
 
5
5
  ## Step 1: Ask first (the consent gate)
6
6
 
7
- <!-- TOOL-CONSENT:START (identical in /architect, /audit and /sync; edit all or none) -->
7
+ <!-- TOOL-CONSENT:START (identical in /architect, /istm-audit and /istm-sync; edit all or none) -->
8
8
  **Asking is mandatory. Searching is not.** Nothing is searched, fetched, installed, or spawned for Agent Skill and MCP discovery until the engineer has picked. Offer four choices: find them for me, I will name the ones I want, no and record the decline, or not now. Only the first may run a search command. Never silently skip the offer, and never run a search before the engineer agrees to one.
9
9
  <!-- TOOL-CONSENT:END -->
10
10
 
@@ -1,8 +1,8 @@
1
1
  ---
2
- name: check
2
+ name: istm-check
3
3
  allowed-tools: Bash, Read, Grep, Glob, Write, Agent
4
4
  argument-hint: [verify | review]
5
- description: "Run /check before merge to confirm a change is sound. Two modes: `/check verify` drives the real app and proves behavior against the spec (every acceptance criterion met, every specced surface built); `/check review` runs a senior code review on a different model than wrote the code. Verify after /develop, review before a PR. Writes findings to .istm-context/reviews/; never edits your code."
5
+ description: "Run /istm-check before merge to confirm a change is sound. Two modes: `/istm-check verify` drives the real app and proves behavior against the spec (every acceptance criterion met, every specced surface built); `/istm-check review` runs a senior code review on a different model than wrote the code. Verify after /istm-develop, review before a PR. Writes findings to .istm-context/reviews/; never edits your code."
6
6
  ---
7
7
 
8
8
  ## Output style (plain words, no dashes, no hyphens)
@@ -13,20 +13,20 @@ Write everything this skill produces, files and messages alike, in plain simple
13
13
 
14
14
  ## What this skill does
15
15
 
16
- `/check` is the gate before merge. It confirms a change is sound in two different ways, run as two modes; they are separate jobs and you usually run both, verify first:
16
+ `/istm-check` is the gate before merge. It confirms a change is sound in two different ways, run as two modes; they are separate jobs and you usually run both, verify first:
17
17
 
18
- - **`verify`** (runtime proof): run the real app and watch the change behave. Proves the feature actually works and conforms to the spec (every acceptance criterion met, every specced surface built), which green tests never reveal. Read only on code, owns no durable files. Runs on the main thread. Typically after `/develop`.
18
+ - **`verify`** (runtime proof): run the real app and watch the change behave. Proves the feature actually works and conforms to the spec (every acceptance criterion met, every specced surface built), which green tests never reveal. Read only on code, owns no durable files. Runs on the main thread. Typically after `/istm-develop`.
19
19
  - **`review`** (fresh model code review): a rigorous senior read of the diff, on a **different model than wrote the code**, because a model reviewing its own output shares its blind spots. Writes findings ranked by severity to `.istm-context/reviews/`. Read only on code. Typically before opening a PR.
20
20
 
21
- Neither mode edits your code. `verify` points failures at `/debug` or `/develop`; `review` reports findings for the implementer to fix.
21
+ Neither mode edits your code. `verify` points failures at `/istm-debug` or `/istm-develop`; `review` reports findings for the implementer to fix.
22
22
 
23
23
  ## Pick the mode (route before doing anything else)
24
24
 
25
- This is the first step, always, before reading any mode file or touching the repo. Look at what followed `/check`:
25
+ This is the first step, always, before reading any mode file or touching the repo. Look at what followed `/istm-check`:
26
26
 
27
27
  - The argument **starts with `verify` (or `run`)** → runtime proof. Read `modes/verify.md` and follow it fully. Pass any remaining arguments (a feature name, a scope) through.
28
- - The argument **starts with `review`** → code review. Read `modes/review.md` and follow it fully. Pass the review steering through unchanged (e.g. `/check review with opus`, `/check review uncommitted`).
29
- - **No mode word, or anything ambiguous** (bare `/check`, or a feature name with no mode like `/check auth`) → do NOT guess and do NOT default to a mode. Show the two options as a plain text panel and **stop and wait** for the engineer to type their choice. This is the case that makes `/check` safe to type with nothing after it.
28
+ - The argument **starts with `review`** → code review. Read `modes/review.md` and follow it fully. Pass the review steering through unchanged (e.g. `/istm-check review with opus`, `/istm-check review uncommitted`).
29
+ - **No mode word, or anything ambiguous** (bare `/istm-check`, or a feature name with no mode like `/istm-check auth`) → do NOT guess and do NOT default to a mode. Show the two options as a plain text panel and **stop and wait** for the engineer to type their choice. This is the case that makes `/istm-check` safe to type with nothing after it.
30
30
 
31
31
  **How to present the choice (plain text, works on every agent, no interactive modal):**
32
32
 
@@ -34,14 +34,14 @@ Print exactly this, then stop and wait for the reply. Do not proceed, do not ass
34
34
 
35
35
  ```
36
36
  Which check do you want to run? Type one:
37
- • verify run the real app and prove the change works against its spec (usually right after /develop)
37
+ • verify run the real app and prove the change works against its spec (usually right after /istm-develop)
38
38
  • review a fresh model senior read of the diff, ranked findings (usually right before a PR)
39
39
  • both verify first, then review
40
40
  ```
41
41
 
42
42
  Do not use an interactive picker or modal for this; it is a typed choice shown inline, so it behaves the same in every AI tool. (The `argument-hint` in this skill's frontmatter also surfaces `verify | review` in Claude Code's own autocomplete as you type, before submit; other tools ignore that field, which is why this inline panel is the portable path.)
43
43
 
44
- If a feature name was passed with no mode (`/check auth`), carry it through as the target once the engineer picks the mode; still ask the mode.
44
+ If a feature name was passed with no mode (`/istm-check auth`), carry it through as the target once the engineer picks the mode; still ask the mode.
45
45
 
46
46
  Do not mix the two in one run. If the engineer types **both**, do `verify` first (confirm it works), and only then offer `review` as the next step.
47
47
 
@@ -1,6 +1,6 @@
1
- # /check review (fresh model code review)
1
+ # /istm-check review (fresh model code review)
2
2
 
3
- The `review` mode of `/check`: a senior code review, before merge, on a different model than wrote the code. Follow it fully.
3
+ The `review` mode of `/istm-check`: a senior code review, before merge, on a different model than wrote the code. Follow it fully.
4
4
 
5
5
  ## What this skill does
6
6
 
@@ -16,7 +16,7 @@ Owns review findings (`.istm-context/reviews/`). Does not write code, tests, spe
16
16
 
17
17
  Acts, with one deliberate exception: it confirms which model wrote the code before reviewing (a single MCQ, with the detected value selected by default), because the model can't reliably detect itself and a wrong guess silently breaks the cross model guarantee (see Step 1). Everything else (scoping, reviewing, writing findings) it does without asking. It states which model is reviewing so you can still redirect, and pauses if there is nothing to review (clean tree, no branch diff). The confirm is skipped when you pass an explicit `with <model>` override and detection was unambiguous.
18
18
 
19
- Steering: `/check review` (default contrasting model), `/check review with opus` (force a reviewer), or `/check review uncommitted` (scope to working tree changes only).
19
+ Steering: `/istm-check review` (default contrasting model), `/istm-check review with opus` (force a reviewer), or `/istm-check review uncommitted` (scope to working tree changes only).
20
20
 
21
21
  ## Artifact ownership
22
22
 
@@ -89,13 +89,13 @@ If the user passed `uncommitted`, force `MODE=uncommitted` regardless of branch.
89
89
 
90
90
  De-duplicate the file list. Exclude lock files and generated output (`dist/`, `build/`, `.next/`, `coverage/`) from the count, but the subagent still sees the full diff.
91
91
 
92
- If the change set is empty: stop and tell the engineer there's nothing to review (make a change first, or point /check review at a branch). Do not spawn.
92
+ If the change set is empty: stop and tell the engineer there's nothing to review (make a change first, or point /istm-check review at a branch). Do not spawn.
93
93
 
94
94
  ### 3. Gather lightweight pointers (do NOT read heavy files here)
95
95
 
96
96
  Paths and cheap signals only; the subagent reads on demand. Using your file tools: list the 3 most-recent spec files under `.istm-context/specs/` (paths only), and resolve the test signal, one of three states, not a yes/no:
97
97
  - `TESTS = configured`: `test-preferences.json` sets `"tool"` to a framework (a runner is set up). Judge test adequacy normally.
98
- - `TESTS = none-by-design`: `test-preferences.json` has `"tool": null` and a `"gate"` (e.g. `"typecheck+verify"`), or the nearest `.istm-context/agents.md`/governing spec states a "no test runner" convention. Deliberate: the gate is typecheck + `/check verify`, not a suite.
98
+ - `TESTS = none-by-design`: `test-preferences.json` has `"tool": null` and a `"gate"` (e.g. `"typecheck+verify"`), or the nearest `.istm-context/agents.md`/governing spec states a "no test runner" convention. Deliberate: the gate is typecheck + `/istm-check verify`, not a suite.
99
99
  - `TESTS = none-yet`: no `test-preferences.json` at all, and no stated convention. A genuine gap.
100
100
 
101
101
  Pass to the subagent: project-context contents inline (read `.istm-context/agents.md`, canonical, or `CLAUDE.md` as fallback; short), the 3 recent spec paths, the base ref / merge-base, and the diff scope. The subagent reads a governing spec's **build-spec sections only** (`index.md`: Requirements, Decision, the design section, Consequences), the contract to review against; not `rationale.md` (decision history), unless a specific finding hinges on the reasoning. It runs `git diff` itself and reads the changed files and their tests.
@@ -120,7 +120,7 @@ Resolve this skill's folder to an absolute path (you, the main agent, already re
120
120
  If the subagent errored or wrote no findings file, report the failure and offer to re-run; don't relay an empty or fabricated review. Otherwise it writes the findings file and returns a compact summary. Relay:
121
121
 
122
122
  ```
123
- ## /check review complete
123
+ ## /istm-check review complete
124
124
 
125
125
  **Reviewed by**: <reviewer-model> (you're on <author-model>)
126
126
  **Scope**: <N> files, <branch vs base | uncommitted>
@@ -142,11 +142,11 @@ If the subagent errored or wrote no findings file, report the failure and offer
142
142
  Show all blockers and majors in chat; collapse minors/nits to a count with a pointer to the file. If there are zero blockers and zero majors, lead with the verdict and keep it short.
143
143
 
144
144
  For a high-stakes change (verdict was Blocked or Changes requested, or the change is high/critical severity), append one line:
145
- > "For an independent second opinion from a different provider, switch your model with `/model` (or paste the diff into another assistant) and re-run /check review, no API keys needed."
145
+ > "For an independent second opinion from a different provider, switch your model with `/model` (or paste the diff into another assistant) and re-run /istm-check review, no API keys needed."
146
146
 
147
- **Tick the scope box (closing gate).** If the reviewed feature has a row in `.istm-context/scope/`, tick its `Review it` box (the review ran; the box marks that, not that it passed) and confirm it in the report: "Scope: ticked `Review it`." No matching row → say so ("no scope row matched `<feature>`, tick it manually or enroll it"). This is the only scope edit review makes; it writes no code, tests, or specs.
147
+ **Tick the scope box (closing gate).** If the reviewed feature has a row in `.istm-context/istm-scope/`, tick its `Review it` box (the review ran; the box marks that, not that it passed) and confirm it in the report: "Scope: ticked `Review it`." No matching row → say so ("no scope row matched `<feature>`, tick it manually or enroll it"). This is the only scope edit review makes; it writes no code, tests, or specs.
148
148
 
149
- This skill is complete after relaying. It does not fix the findings (the implementer does that) and does not invoke other skills. If the engineer wants the issues fixed, that's a normal follow-up; /check review's job is the assessment.
149
+ This skill is complete after relaying. It does not fix the findings (the implementer does that) and does not invoke other skills. If the engineer wants the issues fixed, that's a normal follow-up; /istm-check review's job is the assessment.
150
150
 
151
151
  ---
152
152
 
@@ -1,29 +1,29 @@
1
- # /check verify (runtime proof)
1
+ # /istm-check verify (runtime proof)
2
2
 
3
- The `verify` mode of `/check`: run the real app and prove the change works. Follow it fully.
3
+ The `verify` mode of `/istm-check`: run the real app and prove the change works. Follow it fully.
4
4
 
5
5
  ## What this skill does
6
6
 
7
7
  Your role: the acceptance engineer. Trust observed behavior over green checkmarks; a passing suite proves the code the author thought to test, not that the feature exists. Ask: "If I had to sign off that this is real, what would I need to watch happen with my own eyes?" Then drive the actual thing and judge what you see against what the slice was supposed to deliver.
8
8
 
9
- `/check verify` closes the gap between "the tests are green" and "the feature actually works":
9
+ `/istm-check verify` closes the gap between "the tests are green" and "the feature actually works":
10
10
 
11
11
  1. Scopes what changed (from git) into observable behaviors to check, anchored to the spec's acceptance criteria when a governing spec exists.
12
12
  2. Runs the app the project's own way, reusing its launch method when one exists.
13
13
  3. Exercises the changed flow and observes: screenshots for UI, response bodies for APIs, output for CLIs, logs for jobs.
14
- 4. Reports pass/fail per behavior and per acceptance criterion, anything anomalous, and what `/test` should turn into permanent assertions.
14
+ 4. Reports pass/fail per behavior and per acceptance criterion, anything anomalous, and what `/istm-test` should turn into permanent assertions.
15
15
 
16
- Runtime counterpart to `/test`: `/test` writes assertions that run forever; `/check verify` opens the app once and confirms it's real before review.
16
+ Runtime counterpart to `/istm-test`: `/istm-test` writes assertions that run forever; `/istm-check verify` opens the app once and confirms it's real before review.
17
17
 
18
18
  Spec conformance gate: when a governing spec has IDed acceptance criteria (`## Requirements`, `AC-1…`), also prove the implementation conforms to the contract: every criterion met, every specced surface (page, route, table) actually built. Green tests and a working happy path never reveal a surface that was specced but never built, or a migration never applied. See Step 0b and Step 4b.
19
19
 
20
20
  ## Asks vs acts
21
21
 
22
- Acts: scopes from git, works out the launch, runs, observes, reports. Asks only when it cannot determine how to start the app or which flow to exercise (e.g. a route needing seeded data or credentials). Never modifies application code; report breakage and point to `/debug` or `/develop`.
22
+ Acts: scopes from git, works out the launch, runs, observes, reports. Asks only when it cannot determine how to start the app or which flow to exercise (e.g. a route needing seeded data or credentials). Never modifies application code; report breakage and point to `/istm-debug` or `/istm-develop`.
23
23
 
24
24
  ## Artifact ownership
25
25
 
26
- Owns no durable files. Chat output only (plus screenshots/logs saved to the scratch area). Does not write code (`/develop`), tests (`/test`), or context files.
26
+ Owns no durable files. Chat output only (plus screenshots/logs saved to the scratch area). Does not write code (`/istm-develop`), tests (`/istm-test`), or context files.
27
27
 
28
28
  ---
29
29
 
@@ -47,15 +47,15 @@ Only in refactor mode. It drives the app twice and holds two output sets, so run
47
47
  2. Capture BEFORE (the state before the change). Prefer a throwaway git worktree at the ref before the change (the base branch, or the commit before the refactor): `git worktree add <tmp> <ref>`, start the app in that worktree, hit each surface, save the raw outputs, `git worktree remove <tmp>`. This keeps the working tree and untracked files intact. Only if worktrees aren't available, fall back to `git stash --include-untracked` (plain `git stash` leaves new files behind and contaminates the "before"), restore with `git stash pop` after.
48
48
  3. Capture AFTER: with the change applied, start the app, hit the same surfaces the same way, save the outputs.
49
49
  4. Diff before vs after per surface. For a behavior preserving change they must be byte identical (modulo intentional, documented differences). Report any diff as a regression.
50
- - Relay: surfaces diffed, identical vs differing, the exact diff for any that changed → run `/debug`. Then stop (skip the feature mode steps).
50
+ - Relay: surfaces diffed, identical vs differing, the exact diff for any that changed → run `/istm-debug`. Then stop (skip the feature mode steps).
51
51
 
52
52
  ### Step 0b: Load the spec contract (if a governing spec exists)
53
53
 
54
- Before scoping, find the governing spec: the feature dir `.istm-context/specs/NNNN-<feature>/` (or single file `.istm-context/specs/NNNN-<feature>.md`) this change implements. Match by branch/feature name or touched surfaces; a scope under `.istm-context/scope/` points to the spec. No governing spec (a trivial change with no record)? Skip this step and verify against observed behavior only.
54
+ Before scoping, find the governing spec: the feature dir `.istm-context/specs/NNNN-<feature>/` (or single file `.istm-context/specs/NNNN-<feature>.md`) this change implements. Match by branch/feature name or touched surfaces; a scope under `.istm-context/istm-scope/` points to the spec. No governing spec (a trivial change with no record)? Skip this step and verify against observed behavior only.
55
55
 
56
56
  The spec carries the contract: `## Requirements` with IDed acceptance criteria (`AC-1`, `AC-2`, …) plus the surfaces it specs (pages, routes, tables, migrations). Load the checklist:
57
57
 
58
- 1. Prefer the per feature `verify.md` beside the spec (`.istm-context/specs/NNNN-<feature>/verify.md`) if present; `/develop` emits it as concrete, already resolved verify steps tagged with the `AC-N` each exercises:
58
+ 1. Prefer the per feature `verify.md` beside the spec (`.istm-context/specs/NNNN-<feature>/verify.md`) if present; `/istm-develop` emits it as concrete, already resolved verify steps tagged with the `AC-N` each exercises:
59
59
  ```markdown
60
60
  # Verify: <feature> · spec NNNN
61
61
  ## UI / manual
@@ -81,7 +81,7 @@ Base branch `BASE`: `git rev-parse --verify main`; on success use `main`, otherw
81
81
 
82
82
  Spec contract loaded (Step 0b)? The checklist is your scope: each `verify.md` step / `AC-N` is an observable behavior to exercise, each specced surface (page, route, table, migration) a thing to confirm was built. Don't narrow to only the changed files: an AC or surface with no implementation is exactly the miss this gate catches; keep it listed and let Step 4b flag it. Use the git diff to locate where each is (or isn't) implemented.
83
83
 
84
- No spec? From the changed files write the 2 to 5 concrete things a human could watch to know the change works, e.g. "the /pricing page renders all three tiers and the CTA opens checkout". If a feature scope exists (in `.istm-context/scope/`), anchor these to that feature's acceptance criteria / sub tasks. Keep them observable, not internal.
84
+ No spec? From the changed files write the 2 to 5 concrete things a human could watch to know the change works, e.g. "the /pricing page renders all three tiers and the CTA opens checkout". If a feature scope exists (in `.istm-context/istm-scope/`), anchor these to that feature's acceptance criteria / sub tasks. Keep them observable, not internal.
85
85
 
86
86
  ### Step 2: Determine how to run the app
87
87
 
@@ -146,17 +146,17 @@ Overall verdict PASS requires every behavior verified with cited evidence, and (
146
146
 
147
147
  ### Step 5: Report
148
148
 
149
- Update the scope: if this feature is on the scope (`.istm-context/scope/`) and the verdict is PASS, tick its `Verify it` box. **Also tick, in this feature's `verify.md`, each step you actually ran and that passed** (`- [ ]` → `- [x]`); leave a step unticked if it failed or you could not run it. This is per feature: only the feature you verified gets ticked, other features' `verify.md` files stay unchecked until you verify them (expected, not a miss). What happens next depends on the workflow tier (the effective tier: the feature's own tier tag if set, else the scope header `**Workflow:**` default):
149
+ Update the scope: if this feature is on the scope (`.istm-context/istm-scope/`) and the verdict is PASS, tick its `Verify it` box. **Also tick, in this feature's `verify.md`, each step you actually ran and that passed** (`- [ ]` → `- [x]`); leave a step unticked if it failed or you could not run it. This is per feature: only the feature you verified gets ticked, other features' `verify.md` files stay unchecked until you verify them (expected, not a miss). What happens next depends on the workflow tier (the effective tier: the feature's own tier tag if set, else the scope header `**Workflow:**` default):
150
150
 
151
- - **Lean** → `/check verify` is the last required stage, so on PASS also set the feature `done` (At a glance table and heading) and mirror the governing spec's `**Status**:` line `In Progress` → `Accepted` (surgically; not `In Progress` → flag, don't clobber). Exception: an `Assumed` spec blocks `done`, leave it `in-progress` and point to `/architect <feature>` to ratify first. Then point to `/sync`.
152
- - **Medium / Full** → leave `Test it` and the `done` status to `/test` and `/sync`; point to `/test <feature>` next.
151
+ - **Lean** → `/istm-check verify` is the last required stage, so on PASS also set the feature `done` (At a glance table and heading) and mirror the governing spec's `**Status**:` line `In Progress` → `Accepted` (surgically; not `In Progress` → flag, don't clobber). Exception: an `Assumed` spec blocks `done`, leave it `in-progress` and point to `/architect <feature>` to ratify first. Then point to `/istm-sync`.
152
+ - **Medium / Full** → leave `Test it` and the `done` status to `/istm-test` and `/istm-sync`; point to `/istm-test <feature>` next.
153
153
 
154
154
  On FAIL or BLOCKED, tick nothing and report the gaps. Advise `/clear` before moving to a new feature (the spec and `verify.md` hold the state, so a fresh session loses nothing and stays cheap).
155
155
 
156
156
  **Confirm the update as a closing gate** (don't skip it): state in the report exactly what you ticked in each file, e.g. "Scope: ticked `Verify it`. Spec: status → `Accepted`." No matching scope row → say so ("no scope row matched `<feature>`"), don't finish silently.
157
157
 
158
158
  ```
159
- ## /check verify complete
159
+ ## /istm-check verify complete
160
160
 
161
161
  **Ran**: <how the app was started: the exact command or url. "Not started" if you never ran it, in which case no ✅ or PASS is allowed>
162
162
  **Scope**: <N> behaviors checked, <M> not exercised
@@ -166,7 +166,7 @@ On FAIL or BLOCKED, tick nothing and report the gaps. Advise `/clear` before mov
166
166
  - <behavior>: <what you observed>, evidence: <command + exit code | url + screenshot path | request + status + fields | query + result>
167
167
 
168
168
  **Failed** ❌:
169
- - <behavior>: <what went wrong + exact error/screenshot path> → run /debug
169
+ - <behavior>: <what went wrong + exact error/screenshot path> → run /istm-debug
170
170
 
171
171
  **Blocked** ⚠️:
172
172
  - <behavior>: <what's needed to verify it (seed data, credentials, env)>
@@ -183,15 +183,15 @@ On FAIL or BLOCKED, tick nothing and report the gaps. Advise `/clear` before mov
183
183
  **Not applied** ⚠️ (built but not live/correct at runtime):
184
184
  - <surface / criterion>: <the runtime failure, e.g. "migration committed, column absent from live schema"> → <apply/fix>
185
185
 
186
- **What /test should lock in**:
186
+ **What /istm-test should lock in**:
187
187
  - <the behaviors above, as permanent assertions>
188
188
 
189
- **For /check review**:
189
+ **For /istm-check review**:
190
190
  - <anything that worked but looked fragile: slow response, console warning, missing empty state>
191
191
  ```
192
192
 
193
193
  Drop the Spec conformance / Missed surfaces / Not applied sections when there was no governing spec. Keep them but write "none" when a contract was loaded and every item is met.
194
194
 
195
- Clean up any process you started. `/check verify` confirms reality, never fixes or asserts: `/debug` for failures, `/develop` to build a surface that is missing or not applied, `/test` to make passing behaviors permanent. A FAIL conformance verdict means the feature is not done, even if every test is green.
195
+ Clean up any process you started. `/istm-check verify` confirms reality, never fixes or asserts: `/istm-debug` for failures, `/istm-develop` to build a surface that is missing or not applied, `/istm-test` to make passing behaviors permanent. A FAIL conformance verdict means the feature is not done, even if every test is green.
196
196
 
197
197
  A BLOCKED verdict is an honest, useful result: it says the change could not be exercised and names what would make it exercisable. A fabricated PASS is the one output this skill must never produce, because every later step trusts it.
@@ -38,7 +38,7 @@ PROJECT_CONTEXT
38
38
  ## Decisions the change must respect (read only if relevant)
39
39
 
40
40
  - **Recent spec paths**: SPEC_PATHS
41
- - **Test signal**: TEST_SIGNAL (`configured` → weigh missing coverage as findings · `none-by-design` → the project gates on typecheck + `/check verify`; do NOT raise "missing tests" or "no safety net" · `none-yet` → note the gap once)
41
+ - **Test signal**: TEST_SIGNAL (`configured` → weigh missing coverage as findings · `none-by-design` → the project gates on typecheck + `/istm-check verify`; do NOT raise "missing tests" or "no safety net" · `none-yet` → note the gap once)
42
42
 
43
43
  ## Where to write findings
44
44
 
@@ -51,7 +51,7 @@ OUTPUT_PATH (e.g. .istm-context/reviews/2026-06-20-main.md, create the .istm-c
51
51
  1. **Follow the Review guide above**, it's your rubric: what to inspect, the severity scale, how to judge test adequacy, and the exact findings format for both the file and your summary.
52
52
  2. Run the diff command to see exactly what changed. Read each changed file in full for context: a diff hunk alone hides the surrounding code that determines whether the change is correct.
53
53
  3. Read a spec path only if it governs the changed code. Check the change against .istm-context/agents.md conventions.
54
- 4. If `TEST_SIGNAL = configured`, check whether the change is actually covered, untested new logic is a finding. If `none-by-design`, skip test coverage findings entirely (the gate is typecheck + `/check verify`).
54
+ 4. If `TEST_SIGNAL = configured`, check whether the change is actually covered, untested new logic is a finding. If `none-by-design`, skip test coverage findings entirely (the gate is typecheck + `/istm-check verify`).
55
55
  5. Evaluate against every category in the guide. Assign a severity to each finding. Reach an overall verdict.
56
56
  6. Write the findings file at OUTPUT_PATH using the guide's format.
57
57
  7. Return the compact summary block from the guide, verbatim, no extra prose. Do not paste the full diff or the whole findings file back; summarise.
@@ -34,13 +34,13 @@ The **test signal** has three states, judge accordingly:
34
34
  - Look for tests that assert nothing meaningful, only cover the happy path, or test mocks instead of behavior, call these out.
35
35
  - A change to existing behavior with no corresponding test update is a finding.
36
36
 
37
- `TESTS = none-by-design` (the project deliberately has no test runner, it gates on typecheck + `/check verify`):
38
- - **Do not raise "missing tests" / "add coverage" findings, and do not call it a "no safety net."** The safety net is the typecheck/`/check verify` gate, treat that as the equivalent of tests. Nagging for a suite the project chose not to have is noise.
39
- - Instead, weight correctness/security findings on their own merit, and where a change is risky, point to what the gate should catch (e.g. "typecheck won't catch this runtime shape, `/check verify` should exercise it").
37
+ `TESTS = none-by-design` (the project deliberately has no test runner, it gates on typecheck + `/istm-check verify`):
38
+ - **Do not raise "missing tests" / "add coverage" findings, and do not call it a "no safety net."** The safety net is the typecheck/`/istm-check verify` gate, treat that as the equivalent of tests. Nagging for a suite the project chose not to have is noise.
39
+ - Instead, weight correctness/security findings on their own merit, and where a change is risky, point to what the gate should catch (e.g. "typecheck won't catch this runtime shape, `/istm-check verify` should exercise it").
40
40
 
41
41
  `TESTS = none-yet` (no runner, no stated convention, a genuine gap): note the absence **once** at the verdict level (don't repeat per file), and weigh correctness findings more heavily since there's no safety net.
42
42
 
43
- Do not write tests, that's /test's job. Flag a gap only when it's `none-yet`.
43
+ Do not write tests, that's /istm-test's job. Flag a gap only when it's `none-yet`.
44
44
 
45
45
  ---
46
46