You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(website): sync CLI and Claude plugin pages with shipped surface (#1106)
* docs(website): sync CLI and Claude plugin pages with shipped surface
Add health/risk/security/coverage/impacted-tests/workspace/distill to the
website CLI reference, and document the full Claude slash-command set plus
six skills on the plugin page.
* docs(website): document /repowise:security on the Claude plugin page
Keep the website slash-command list aligned with the command landing in
#1107 so the public page is not one command behind.
scanning already runs during init/update; without `--history` the CLI only
124
+
prints a hint. Default history mode is secrets-only; `--all-patterns` also
125
+
reports code-smell patterns.
126
+
127
+
---
128
+
129
+
### `/repowise:coverage`
130
+
131
+
Ingest or inspect coverage reports (`repowise coverage add` / `status`).
132
+
Lights up untested-hotspot markers and builds the per-test map when contexts
133
+
are present.
134
+
135
+
---
136
+
137
+
### `/repowise:impacted-tests`
138
+
139
+
Tests whose coverage intersects a change (`repowise impacted-tests`).
140
+
141
+
---
142
+
143
+
### `/repowise:dead-code`
144
+
145
+
Unreachable files, unused exports, and zombie packages by confidence.
146
+
147
+
---
148
+
149
+
### `/repowise:decision`
150
+
151
+
List, inspect, add, or confirm architectural decisions.
152
+
153
+
---
154
+
155
+
### `/repowise:doctor`
156
+
157
+
Diagnose (and optionally repair) setup, keys, and index drift.
158
+
159
+
---
160
+
107
161
## Automatic behaviors
108
162
109
163
Beyond the slash commands, the plugin teaches Claude skills it uses automatically — without being asked.
@@ -113,19 +167,29 @@ Beyond the slash commands, the plugin teaches Claude skills it uses automaticall
113
167
Before reading raw source files, Claude calls:
114
168
115
169
-`get_overview()` at the start of new tasks to orient itself
170
+
-`get_answer(question)` for direct how/where/why questions
116
171
-`search_codebase(query)` to locate code instead of using grep
117
172
-`get_context(targets)` to get docs and ownership before opening files
118
173
119
174
### Pre-modification checks
120
175
121
176
Before editing any file, Claude calls `get_risk(targets)` to assess:
122
177
178
+
- Bug-fix history (`defect_profile` / `bug_magnet`) when present
123
179
- Whether the file is a hotspot (high churn)
124
180
- How many other files depend on it
125
181
- Whether there are co-change patterns to be aware of
126
182
127
183
If the risk is high, Claude surfaces this before making changes.
128
184
185
+
### Change review
186
+
187
+
For a PR / branch / working-tree diff, Claude combines `get_change_risk` (whole-change score) with `get_risk`'s per-file `directive` block.
188
+
189
+
### Code health
190
+
191
+
Quality / complexity / "what to refactor" questions go through `get_health`.
192
+
129
193
### Architectural decision queries
130
194
131
195
When facing "why is this structured this way" questions, Claude calls `get_why(query)` to check decision records and git archaeology before suggesting changes that might conflict with existing decisions.
@@ -138,7 +202,7 @@ During refactoring or cleanup tasks, Claude calls `get_dead_code()` to find conf
138
202
139
203
## How skills work
140
204
141
-
Skills in Claude Code are prompt instructions that modify Claude's behavior. The repowise plugin registers four skills that Claude loads when working in an indexed repo.
205
+
Skills in Claude Code are prompt instructions that modify Claude's behavior. The repowise plugin registers six skills that Claude loads when working in an indexed repo.
142
206
143
207
You don't need to trigger them manually. When Claude detects it's working in a repo with a connected repowise MCP server, the skills activate automatically.
0 commit comments