Skip to content

Commit 4e4baf7

Browse files
authored
Merge pull request #275 from Wolfvin/docs/agent-facing-subcheck-accuracy
docs: agent-facing sub-check accuracy (css/a11y/diagnostics/overview) + dropped-query fixes
2 parents 39ccc62 + 0ca9ea7 commit 4e4baf7

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ CodeLens consolidates what used to be ~78 separate commands into **12 umbrella c
109109
|---|---|---|
110110
| `scan` | scan (default) · rescan | Build/refresh the workspace graph. Everything else depends on this having run once. |
111111
| `search` | semantic (default) · symbol · regex · graph | The grep replacement. `pattern` comes **first**, workspace second — opposite of every other command below. See [gotcha](#a-gotcha-worth-memorizing). |
112-
| `context` | orient (default) · outline · trace · context | Orientation, file structure, call-chain tracing, rich symbol context. |
112+
| `context` | orient (default) · outline · trace · context · diagnostics · overview | Orientation, file structure, call-chain tracing, rich symbol context, LSP diagnostics (`--file`), token-efficient symbol map. |
113113
| `deps` | affected · dependents · circular (default: all three) · import-snapshot · export-snapshot | Dependency graph: what's affected by a change, who imports what, circular imports, team snapshot sharing. |
114-
| `audit` | dead-code · complexity · smell · staleness · perf-hint · side-effect (default: all) | Code quality. `dead-code` cross-checked against `context --check trace` before you trust it. |
114+
| `audit` | dead-code · complexity · smell · staleness · perf-hint · side-effect · css · a11y (default: all) | Code quality. `dead-code` cross-checked against `context --check trace` before you trust it. `css` = deep CSS analysis, `a11y` = WCAG 2.1 accessibility. |
115115
| `security` | secrets · vuln-scan · taint · binary-scan · regex-audit (default: all) | Hardcoded secrets, CVE/OSV dependency scanning, AST taint analysis, ReDoS. **Taint is Python/JS/TS/TSX only** — no Rust source/sink rules yet. |
116116
| `summary` | summary (default) · dashboard · arch-metrics · architecture | Prioritized, anti-overload findings digest. Use `--lite` — it's designed to still be big without it. |
117117
| `impact` | impact (default) · diff · dataflow | Blast-radius analysis before you touch something. |

SKILL-QUICK.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ codelens search "pattern" . --mode regex --limit 5 --offset 10 --format compact
105105
|---|---|
106106
| `scan` | scan (default) · rescan |
107107
| `search "pattern" [workspace]` | semantic (default) · symbol · regex · graph — **pattern first, workspace second**, opposite of every command below |
108-
| `context [workspace]` | orient (default) · outline · trace (`--name X --direction up\|down\|both`) · context (`--name X`) |
108+
| `context [workspace]` | orient (default) · outline · trace (`--name X --direction up\|down\|both`) · context (`--name X`) · diagnostics (`--file X`, LSP) · overview (symbol map) |
109109
| `deps [workspace]` | affected (`--files ...`) · dependents (`--files ...`) · circular · import-snapshot (`--input path.gz`) · export-snapshot (`--output path.gz`) |
110-
| `audit [workspace]` | dead-code · complexity · smell · staleness · perf-hint · side-effect |
110+
| `audit [workspace]` | dead-code · complexity · smell · staleness · perf-hint · side-effect · css · a11y |
111111
| `security [workspace]` | secrets · vuln-scan · taint · binary-scan · regex-audit |
112112
| `summary [workspace]` | summary (default) · dashboard · arch-metrics · architecture |
113113
| `impact [workspace]` | impact (`--name X`, default) · diff · dataflow |

SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ codelens guard --pre --file X → DROPPED
4343
|---|---|
4444
| `scan` | scan (default) · rescan |
4545
| `search` | semantic (default) · symbol · regex · graph — **`pattern` comes first, workspace second**, opposite of every other command here |
46-
| `context` | orient (default) · outline · trace · context |
46+
| `context` | orient (default) · outline · trace · context · diagnostics (LSP lint, needs `--file`) · overview (token-efficient symbol map) |
4747
| `deps` | affected · dependents · circular (default: all three) · import-snapshot · export-snapshot |
48-
| `audit` | dead-code · complexity · smell · staleness · perf-hint · side-effect (default: all) |
48+
| `audit` | dead-code · complexity · smell · staleness · perf-hint · side-effect · css (deep CSS) · a11y (WCAG 2.1) (default: all) |
4949
| `security` | secrets · vuln-scan · taint · binary-scan · regex-audit (default: all) |
5050
| `summary` | summary (default) · dashboard · arch-metrics · architecture |
5151
| `impact` | impact (default) · diff · dataflow |

docs/install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ This installs the `codelens` console command and all core dependencies.
1212
After install, run:
1313

1414
```bash
15-
codelens init /path/to/your/project
16-
codelens scan /path/to/your/project
17-
codelens query MyFunction /path/to/your/project
15+
codelens scan /path/to/your/project # builds the graph (also auto-inits)
16+
codelens search "MyFunction" /path/to/your/project --mode symbol
17+
codelens context /path/to/your/project --check context --name MyFunction
1818
```
1919

2020
### With optional features

docs/installation/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ registry without re-scanning:
9696
docker run --rm \
9797
-v "$(pwd):/workspace" \
9898
-v codelens-data:/home/codelens/.codelens \
99-
ghcr.io/wolfvin/codelens query 'btn-primary' /workspace
99+
ghcr.io/wolfvin/codelens search 'btn-primary' /workspace
100100
```
101101

102102
### Shell alias
@@ -107,7 +107,7 @@ Add to `~/.bashrc` or `~/.zshrc`:
107107
alias codelens='docker run --rm -v "$(pwd):/workspace" -v codelens-data:/home/codelens/.codelens ghcr.io/wolfvin/codelens'
108108
```
109109

110-
Then use `codelens scan .`, `codelens query 'fn' .`, etc. exactly as if it
110+
Then use `codelens scan .`, `codelens search 'fn' .`, etc. exactly as if it
111111
were a locally installed binary.
112112

113113
### Deep analysis with LSP (maximal image only)

0 commit comments

Comments
 (0)