| name | lens |
| description | Lens home base - status, help, and setup |
/lens
Welcome to Lens. Show status and offer choices for what to do next.
On Invoke
1. Quick Status Check
Run silently and summarize:
Lens Status:
Profile: javascript+react (or "No profile applied")
Skills: 24 installed (or "None")
MCP: gemini-reviewer โ, qodana โ (or issues)
Issues: None (or list problems)
2. Present Choices
Ask the user what they want to do:
What would you like to do?
1. **Check status** โ Full diagnostic of current configuration
2. **Apply profile** โ Configure this project with a profile
3. **View skills** โ List available workflow skills
4. **Quick start** โ Start coding with quality gates
5. **Fix issues** โ Resolve configuration problems (if any)
Use AskUserQuestion with these options.
Choice Actions
Choice 1: Check Status
Run full diagnostic:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
LENS STATUS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Profile: javascript+react
Applied: 2024-01-15
Skills (24):
Core: clarity, simplicity, correctness, data-first
Security: security-mindset, owasp
Testing: test-doubles, test-strategy, legacy
JS: js-internals, typescript, js-safety, react-state
[full list...]
MCP Servers:
โ gemini-reviewer (GEMINI_API_KEY set)
โ qodana (Docker available)
CLAUDE.md: Present (2,341 tokens)
settings.json: Present
Issues: None
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Choice 2: Apply Profile
Ask which profile:
Which profile stack?
1. javascript โ JS/TS projects
2. javascript+react โ React apps
3. javascript+angular โ Angular apps
4. python โ Python projects
5. java โ Java projects
6. Other โ Enter custom stack
Then run: lens profile apply <selection> -p .
Choice 3: View Skills
Show workflow skills grouped by purpose:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WORKFLOW SKILLS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
PLANNING
/plan [task] Design before coding
/structure [feat] Define types first
IMPLEMENTATION
/implementation Build from plan
/refactoring [path] Refine structurally
QUALITY GATES
/gemini-scan [path] Review (read-only)
/gemini-review [path] Review + fix
/qodana-scan [path] Static analysis (read-only)
/qodana-review [path] Static analysis + fix
TESTING
/testing [level] Generate tests
FULL PIPELINE (Design โ Build โ Refine โ Review โ Verify)
/build [target] New feature from scratch
/improve [path] Refine existing code
/ [path] Senior review prep
LIGHT WORKFLOWS
/change [desc] Simple change + cleanup
/cleanup [path] Canon review + fix + verify
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Which skill do you want to run?
Choice 4: Quick Start
Guide user to start coding:
Quick Start Options:
1. **New feature** โ /build [target] (full pipeline)
2. **Improve existing code** โ /improve [path] (full pipeline)
3. **Simple change** โ /change [description]
4. **Fast fix** โ /cleanup [path] (canon review โ fix โ verify)
5. **Review code** โ /gemini-scan [path]
Which workflow?
Choice 5: Fix Issues
Only shown if issues detected. Run diagnostics and offer fixes:
Issues Found:
1. โ GEMINI_API_KEY not set
โ Add to ~/.zshrc: export GEMINI_API_KEY="your-key"
2. โ No profile applied
โ Run: /lens then choose "Apply profile"
3. โ Docker not running (Qodana unavailable)
โ Start Docker Desktop
Fix these now? [Y/n]
Output Style
- Clean, bordered boxes
- Checkmarks (โ) for success, warnings (โ ) for issues
- Concise โ no walls of text
- Always end with a choice or clear next step